Localization
[]
The OnlineChannel is prepared to deliver localized content for the locale requested.
The OnlinePortal can handle fallbacks locales.
Translations
The OnlineChannel utilizes multiple sources for localized content:
- localized editorial content from articles (text-assets)
- localized page content elements as defined in widgets (text-assets)
- localized messages and fixed terms as defined in translation files
- server localization data (e.g. feature values)
Locale support
The localization support in the OC module includes:
- defining a default locale
- defining supported locales
The localization support in the OnlinePortal allows also
- defining fallback locales for content
A fallback locale is used in case the requested content asset does not support the requested locale. This is handy if you do not provide all content in all supported languages.
Configuration
Suported locales can be configured in the OnlineChannel Configuration
Definition of fallbacks is done in the SiteConfiguration.
<locale-fallbacks locale="de">
<locale-fallback locale="en"/>
</locale-fallbacks>