locales
| required |
<locale>
| required Locale name constructed from the language and country such as zh_TW for traditional Chinese or pt_BR for Brazilian Portuguese. |
enabled
| optional , default is false Enables the locale. |
language
| required Language code such as pt for Portuguese. See Java locale notation . |
country
| optional Country code such as BR for Brazil. See Java locale notation. |
class
| required Class that implements Javadoc |
---|
0 | info.magnolia.cms.i18n.I18nContentSupport |
---|
rangeHigherVersion | 5.5 |
---|
className | info.magnolia.cms.i18n.I18nContentSupport |
---|
renderType | asynchronous |
---|
|
such as: info.magnolia.cms.i18n.DefaultI18nContentSupport which supports a language prefix such as /en/* in the URL and stores localized content in a node using the naming pattern <name>_<locale> , for example subtitle_en . Use this implementation if your site is organized into a single tree, in which the locale prefix usually points to the root of a site.
info.magnolia.cms.i18n.HierarchyBasedI18nContentSupport which stores and serves localized content in a hierarchical structure. Use this implementation if your site is organized into multiple trees, in which site roots are usually named after the locales.
info.magnolia.cms.i18n.RequestLocaleAwareI18nContentSupport which reads the locale from the request. This implementation does not render language specific URLs.
|
enabled
| optional , default is false Enables support for localized content. Used to rewrite URIs and getting nodes based on the current language. |
fallbackLocale
| optional , default is en Content is served for the fallback locale if content is not available for the current locale. |