Delivery Tier I18N support - BloomReach Experience - Open Source CMS

Delivery Tier I18N support

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

I18N support in the Hippo's delivery tier (HST) is very simple. Take the following steps:

To the web.xml add:

  <!-- I18N  -->

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



To the ' hst:hosts' add the default locale, for example:

  /hst:locale: en_US

and to the Mounts that should have a different locale add the hst:locale as well, For example:

  /hst:locale: nl_NL

Now, in your templates you can use fmt:message tag without first setting the locale. This is done by the HST already. For example:


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


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

Note that you thus should 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"/>