Localisation Modules

Turbine has a concept called modules, which is a special class loader path. Multiple module class paths can be configured by simply adding a path to the root directory of your modules. Take a look at the TurbineResources.properties.merge:


Modules is made up of different kinds of modules: actions, layouts, screens, navigations, pages, and localisations. Jetspeed uses the module path to find the resource bundles in the localisation modules.

Resource bundles and the default language are also specified in TurbineResources.properties.merge. Notice that the tutorial's resource bundle is listed first, overriding the Jetspeed resource bundle.

locale.default.bundles = org.apache.jetspeed.tutorial.modules.localization.JPortalLocalization,