Language Settings

This is a user-contributed Extra. If you find issues or would like more info or help, please contact the author.

The following is a list of the parameters that can be configured for each language. These parameters are used to define the format of the URLs used for each language, to control access to the each language depending on user roles, and to provide language specific information that can be accessed within content using YAMS Placeholders.

Monolingual Settings

Name Description Corresponding Placeholders Example
Server Name The server name to use for non-multilingual pages. Leave the field blank to accept the default server name, in which case the current server name will be shown in brackets. (yams_server) www.example.com
Site URL The site URL for monolingual pages. This is output for your information and cannot be modified directly. It can by the same as one or more of the multilingual site URLs (yams_site) http://www.example.com/

Multilingual Settings

Name Description Corresponding Placeholders Example
Lang ID Used by YAMS to identify the language group. Alphanumeric characters, no spaces. The language code is typically used. (yams_id) en
Tags A comma separated list of language tags, in priority order, to be associated with this language group. eg: en-us,en-gb (yams_tag) en
Server Name The server/host name associated with the language group. Leave this field blank to accept the default server name, in which case the current server name will be shown in brackets. (yams_server) en.example.com
Root Name A root folder name to be used with the language group. Can be left blank. Leave them all blank if language groups do not need to be distinguished by root folder name. (yams_root)
(yams_/root)
(yams_root/)
en
Site URL The site URL for the language group. This is output for your information and cannot be modified directly. It is formed from the server name and root name. Each language must have a unique site URL. (yams_site) http://en.mysite.com/en/
Language Direction The language direction. (yams_dir)
(yams_align)
ltr or rtl
Roles A comma separated list of ids of manager roles that have permission to edit the language via the document interface. If a role id is prefixed by an exclamation mark (!) then all roles except the specified role have access. If no roles are specified then all roles have access. The YAMS ManagerManager rules are required for this to function. None 1,2
Evo Language Name The corresponding Evo manager language. For use with snippets like ditto and eForm which accept a language parameter. (yams_mname) english
Select Language Text Text, written in the current language, to be used when presenting the user with a choice of languages. (yams_choose) Choisir une langue
Name for langId The name to use for the language group langId written in each language. (yams_name)
(yams_name_in_langId)
anglais
Name for new Used when adding a new language. The name to use for the new language group in its own language (yams_name)
(yams_name_in_langId)
Deutsch

Suggest an edit to this page.