To localize labels used in a Repository Editor, use the localizable attributes, as follows:

Standard Label Attribute

Localizable Label Attribute

display-name

display-name-resource

description

description-resource

category

category-resource

For example, to localize the display-name, use the display-name-resource attribute instead of the display-name attribute:

<item-descriptor name="user" ...
                 display-name-resource="itemDescriptorUser">
    <attribute name="resourceBundle"
               value="atg.userprofiling.UserProfileTemplateResources"/>

Then, for each locale you want to support, create resource bundle properties files for each repository definition. Each resource bundle consists of a list of keys defined in the resource label attributes, with the localized value.

The UserProfileTemplateResources.properties resource bundle referred to in the preceding example contains this entry:

itemDescriptorUser=User

 
loading table of contents...