In order to support internationalization, you can specify resource bundles at the following levels, listed in descending order of precedence:
propertyViewMapping
itemViewMapping
itemMapping
You specify a resource bundle by adding the resourceBundle
attribute to the appropriate property:
For this View Mapping component: | Set resourceBundle in this property: |
---|---|
| |
| |
|
Default resource bundle
If no resource bundle is explicitly specified at any level in the View Mapping hierarchy, the View Mapping system looks for the default resource bundle of the current asset’s repository. The View Mapping system finds this bundle by translating the repository’s Nucleus pathname into a CLASSPATH
as follows:
nucleus-path
/repositoryName
=classpath
.
repositoryName
Resource
For example, given the repository name /company/Catalog
, the View Mapping system looks for a resource bundle along the CLASSPATH
as follows:
company.CatalogResource