Configure the CMS Languages and Time Zones
Overview
You can configure the languages and time zones used in Bloomreach Content. This page explains the options and how to apply the configuration.
The available languages and time zones are visible for the user in the default login page, and since version 17.4.0, in the Preferences page accessible from the User account menu.
Languages
By default, the CMS UI supports English, French, German, Dutch and Spanish. Users select their preferred language on the login page, and since version 17.4.0, in the Preferences page.
The available languages are configured using the multi-valued property:
/hippo:configuration/hippo:frontend/settings/locales
You can override this property to change the order or remove languages from the dropdowns.
To add a new language:
-
Review how Bloomreach Content uses localization modules to provide localized UI strings.
-
Check if the language identifier is included in the
hippo.cms.localesproperty in your project's rootpom.xml.-
If the identifier is present, add it to the
localesproperty in the repository. -
If not, add the identifier to the
hippo.cms.localesproperty in your rootpom.xml, then rebuild and redeploy the project. The localization module's bootstrap configuration will add the identifier to the repository property automatically.
-
Time Zones
By default, since 17.4.0, the CMS UI uses the browser time zone as default. Before that, the server’s time zone was used. The UI will display all dates and times in the selected time zone.
You can enable the availability of multiple time zones for the user to choose. This allows users to select a time zone from a dropdown on the login page and on the user preferences page. The user's browser time zone is preselected automatically.
To enable the time zones:
-
Log in to the Console.
-
Navigate to:
/hippo:configuration/hippo:frontend/settings/Note: before 17.4.0, this was
/hippo:configuration/hippo:frontend/login/login/loginPage -
Add a boolean property
show.timezonesand set it totrue.
By default, the CMS lists all time zones from the IANA time zone database. To restrict the list to specific time zones, add a multi-valued string property selectable.timezones.
Example configuration:
/hippo:configuration/hippo:frontend/settings: show.timezones: true selectable.timezones: [Europe/Amsterdam, US/Eastern, Canada/Pacific]