Languages & Translations
When editing a List, you are able to set a Language Selection flag under Advanced Options.
This should only be set on lists that are either not in the organisations default language or if translations are required in other languages.
Once this flag is set, two additional areas will be displayed when editing a page:
- A language selection for the main page content
- A Translations area for setting different versions of the content for each language
The languages offered can be maintained from the Currencies & Languages tab in the organisation area.
The language selection only needs to be populated if the page is not in the default domain language.
When filling out the translations, only fill in the areas that you have a full translation for.
The translations will be used under the following circumstances:
- The users preferred language is set to something other than the default page language
- The page is called with the parameter "lang=fr" set to a provided translation
- The {SET(DATA_LANG, fr)} command is used within the page.
You can use {SET(DATA_LANG, )} to change the default language for a page as it is being built. It does take relatively large amount of processing time to calculate the language so try not to use it in a loop.
You can set the language back to the default with the command {SET(DATA_LANG, )}