Helper


CommonHelps.GetResourceByKey(Site, SectionName, Key)

Object Site

string SectionName
SectionName is the section that should indicate where the text is located. See section naming convention.

string Key
Key is the text to be translated, which should always be in English by default. 


Section Naming Conventions

The section should reflect the path in the address bar, with a few exceptions as some paths contains dynamic content.

CaseFile pathUrlSectionInfo
Profile/profile/profile3/widgets//profile/1234567/user-name/profile/3/widgets/widget-name"Profile3" becomes "3"
Static pages/events/overview/default.vm/events/overview/default/events/overview/default
Widget pagesComponents/BuildWidgetBootStrapPagev2/p/{ID}/{TITLE}/widgetpage/
Frontend admin



Control panel/admin/section/subsection/page/admin/section/subsection/page/admin/section/subsection/page


Flushing keys

In order to view the translation, follow these steps. 

  1. RDP into .9
  2. Open CouchBase from Desktop
  3. Log in
  4. Go to Data Buckets in main menu
  5. Click on Down arrow on Memcached Buckets > Default
  6. Click Flush (NOT delete)