Create Languages Content
This content type is part of OrchestraCMS Extensions.
The Language content type contains a single content template, Language Redirector, which determines the language of the current user and re-directs them to the appropriate home page.
If you have a Multilingual license, the Language Redirector is not necessary because, with a Multilingual license, you can translate pages into many languages.
The Language Redirector content template can use up to five methods to determine the user’s language, and you can set the supported languages and relevant home pages.
Use the Language Redirector content template
- In the content editor, under Configure this website’s rules for determining the user’s language, set the language detection methods by doing the following:
- Under the Enable/Disable column, select
- Enabled for the language detection methods you want to use and
- Disabled for the ones you do not want to use; by default, all methods are enabled.
- Under the Priority column, click Move Up or Move Down beside one or more language detection methods to change its priority.
- Methods are listed in decreasing priority, and as soon as one method detects the user’s language, the other methods are not used.
- Under the Enable/Disable column, select
- The Save derived user language in cookie check box can be selected or de-selected. De-selected is selected by default, but you can clear the check box if you prefer.
- As a best practice, if you choose to save the information in a cookie, end users should be informed of this practice.
- If you are using the dropdown box selector as one of your language detection methods, use the rich text editor under Configure dropdown box language selector introductory text to enter text to appear with the language list (e.g., “Choose a language”).
- As a best practice, you should enter instructional text in all supported languages.
- Under Specify the supported languages and select the home page for each, add supported languages by doing the following:
- To add a row to the table, click the plus symbol next to the table header row.
- Under the Language column, select a supported language.
- The list is comprised of all fully supported, end user, and platform languages that Salesforce supports, whether or not they are enabled in your company profile.
- Under the Dropdown label column, enter the label for the language that will appear in the dropdown list. Default labels are provided.
- Under the Home Page column, click in the box. In the Select Link dialog, select the home page for that language. Users detected for that language are directed there.
- Repeat the previous steps as required to add more languages.Use the arrows under the Order column to define the order of language appearance in the dropdown list.
- In the Actions panel, click Save.
In most situations, when users visit your site, they should access the page that includes the Language Redirector content template.
If a language is detected using any method other than the dropdown box selector, a user is immediately redirected to the relevant home page.
If a language needs to be detected with the dropdown selector, the page with the Language Redirector content item loads, and the dropdown list appears in the location of the Language Redirector content item.