A resource bundle is CA IdentityMinder file that associates user interface elements with locale-specific text strings. In this file, a user interface element is assigned a key ID, which is paired to a locale-specific text string.
When CA IdentityMinder encounters an element with a key ID on a screen, such as an admin task profile screen, it displays the paired value from the resource bundle.
For example, the entry for a Submit button in a CA IdentityMinder resource bundle is as follows:
global.button.submit=Submit
The key ID is global.button.submit and the value is Submit. When CA IdentityMinder encounters the global.button.submit key ID in a user interface screen definition, it displays the word Submit.
Note the following about key IDs:
attribute.displayname.department
This method allows you to specify the name of a custom resource bundle. You can use a custom resource bundle to separate custom mappings from the default resource bundle.
The format for this syntax is as follows:
${bundle=ResourceBundle:key=keyID}
In this syntax example:
bundle=ResourceBundle
Identifies the resource bundle that includes the text string mapping for the key ID, if you are using a custom resource bundle.
Note: Create the custom resource bundles in iam_im.ear/custom/resourceBundles and then refer to it as resourceBundles.MyResourceBundle.
Bundle names use standard Java localization syntax. The bundle name does not need to include the .properties extension, but must be fully qualified, relative to iam_im.ear/custom.
This name/value pair is optional. You do not need to specify a resource bundle if the key ID is defined in the base resource bundle, IMSResources.properties. In this case, the key ID in the admin task screen would be:
${key=keyID}
key=keyID
Identifies the key ID that maps to the text string to display. The mapping must exist in a resource bundle.
A completed key ID entry resembles the following sample:
${bundle=resourceBundles.MyResourceBundle:key=attribute.displayname.department}
imstask.label.elementname
For example:
imstask.label.attribute.displayname.department
When you use this method, attribute.displayname.department must appear in the resource bundle.
Note: If you are creating custom localization files, you use a translation tool to change the value mapped to a key ID for a different language. For example, to display the Submit button in French, the translation tool changes the value paired with the global.button.submit key ID in the French resource bundle as follows:
global.button.submit=Enter
Copyright © 2013 CA.
All rights reserved.
|
|