Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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 .


Advanced Tables - Table Plus
heading0
multiplefalse
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse
Node nameValue

Mgnl n
locales


Mgnl n
<locale-name>


Mgnl p
language

de

Mgnl p
country

CH

Mgnl p
enabled

true

Mgnl p
class

info.magnolia.cms.i18n.DefaultI18nContentSupport

Mgnl p
enabled

true

Mgnl p
fallbackLocale

en


Properties:

language

optional


country

optional

Makes


enabled

optional , default is true

true makes


class

optional, default is content

The class that defines the locale implementation.

For the Accept-Language header case:


For the Request-URI case:

  1. Javadoc resource link
    classNameinfo.magnolia.cms.i18n.DefaultI18nContentSupport
    renderTypeasynchronous
    This implementation supports a language prefix like /en/*. To resolve the node data it checks if a node data with the following pattern exists on the content node: <name>_<language> .
  2. Javadoc resource link
    classNameinfo.magnolia.cms.i18n.HierarchyBasedI18nContentSupport
    renderTypeasynchronous
    This implementation




enabled

required , default is true

Assigns


fallbackLocale

requireddefault is true

The