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.
Case | File path | Url | Section | Info |
---|
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 pages | Components/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.
- RDP into .9
- Open CouchBase from Desktop
- Log in
- Go to Data Buckets in main menu
- Click on Down arrow on Memcached Buckets > Default
- Click Flush (NOT delete)