Delivery Tier I18N support

If you want dynamic I18N support maintenable via the CMS, you should use Dynamic Resource Bundles instead.

To use I18N support in Hippo's delivery tier (HST), take the following steps:

To the site/webapp/src/main/webapp/WEB-INF/web.xml, add:

  <!-- I18N  -->

To site/components/src/main/resources, add the I18N bundles, for example:





Using the Console, add the default locale to the virtual hosts configuration, for example:

  /hst:locale: en_US

Optionally, you can configurge a different locale on a specific mount, for example:

  /hst:locale: nl_NL

In your frontend templates, you can now use the fmt:message tag without first setting the locale, as this is automatically set by the deliver tier based on the configuration. For example:


<fmt:message key="home.title"/>


<@fmt.message key="home.title"/>

Do not use <fmt:setLocale value="some_locale" scope="page | request | session | application"/>. An exception is for RSS feeds, as these always need the locale 'en-US' : <fmt:setLocale value="en-US"/>

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?

    We rely on cookies

    to optimize our communication and to enhance your customer experience. By clicking on the Accept and Close button, you agree to the collection of cookies. You can also adjust your preferences by clicking on Manage Preferences. For more information please see our Privacy policy.

    Manage cookies
    Accept & close

    Cookies preferences

    Accept & close