This tag can be used to dynamically request a given resource from the engine resource bundle. If locale is not set, the locale used is the one returned by paramBean.getLocale().
Similar in functionality to content:message.
Background : Resource bundles contain key/value pairs for specific locales and are used for internalization. Go here for more details.
Note that Jahia finds the .properties file associated to a given bundle identifier by doing a lookup in resourcebundles_config.xml located in \WEB-IN\etc\config. The resourcebundles_config.xml file is generated automatically during template deployment. For example, given the the following resourcebundles_config.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<registry>
<resource-bundle>
<key>myjahiasite_CORPORATE_PORTAL_TEMPLATES</key>
<file>jahiatemplates.Corporate_portal_templates</file>
</resource-bundle>
</registry>
Then given a bundle identifier of myjahiasite_CORPORATE_PORTAL_TEMPLATES, the key/value lookup will be in Corporate_portal_templates.properties (located in directory \WEB-INF\classes\jahiatemplates) for the default language; or for example in Corporate_portal_templates_de.propreties if the current user's locale is German.
Example :
<content:resourceBundle resourceBundle="jahiatemplates.acme_templates" resourceName="search"/>