Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: remove config, link to the config under "Language econfiguration"

...

  • In the Enterprise Edition under
    /modules/multisite/config/sites/<site-name>/i18n/locales
  • In the Community Edition under
    /site/config/site/<site-name>/i18n/locales
    In the CE's Travel Demo bundle the configuration is extended from /modules/travel-demo/config/travel .

...

heading0
multiplefalse
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse

...

Mgnl n
locales

...

Mgnl n
<locale-name>

...

Mgnl p
language

...

Mgnl p
country

...

Mgnl p
enabled

...

Mgnl p
class

...

Mgnl p
enabled

...

Mgnl p
fallbackLocale

...

Properties

...

language

...

required

The minimum locale specification if the resolution of locale set under <locale-name> is enabled.

Defines the language part of the locale parameter, for example uk for Ukrainian .

For additional language codes see https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry.

...

country

...

optional

Defines the regional variant of the locale parameter, for example GB for the United Kingdom .

For additinal country codes see https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry .

...

enabled

...

required

true enables the detection of locale for the configuration defined under <locale-name> .

...

required, default is false

Enables or disables the locale configuration.

...

optional

If no locale can be determined, this defaultLocale will be set. If unset, the fallbackLocale will be used.

...

requireddefault is en

...

For furthr details about configuring locale for a site, please see Language configuration: 3. Define locales in site.