File |
Description |
---|---|
Default message file located in $WSHOME/idm/web/WEB-INF/classes/com/waveset/msgcat. Shipped as part of the idmcommon.jar file. Displays message text in English and loads by default unless you’ve customized your Identity Manager installation to behave otherwise. |
|
Located in $WSHOME/config. To enable support for multiple languages, you must set Internationalization.enabled to true. (Default is true.) |
|
Specify a custom message catalog |
|
Additional message file for each supported language |
Additional supported languages each require their own message file. WPMessages_xx_XX.properties, where xx represents the language and XX represents the country. For example, WPMessages_en_US.properties contains messages in American English. Each international catalog has its own .jar. |
If you loaded a new catalog in /config that uses the same name as the default catalog, the new catalog takes precedence over the default.
If you have more than one message file, you can specify the catalog from which a message key is derived by specifying catalogname:keyname.
The following catalog entries control how the product name is displayed:
PRODUCT_NAME=Identity Manager LIGHTHOUSE_DISPLAY_NAME=[PRODUCT_NAME] LIGHTHOUSE_TYPE_DISPLAY_NAME=[PRODUCT_NAME] LIGHTHOUSE_DEFAULT_POLICY=Default [PRODUCT_NAME] Account Policy
Messages are contained in key/text pairs and contain three parts:
A text string, or key, that is an identifier used by the code to retrieve data. Do not translate this required component. This component is used in the product configuration, and acts as a placeholder for the translation.
An equals (“=”) sign separating the key and text. This entry is required.
A string containing data that is displayed when running the application. This entry is the translation, used in place of the key whenever the page is rendered in the browser.
Each line in the resource array contains two strings. Translate the second quoted string on each line.
Certain strings to be translated contain special codes for data that is inserted into the string when it is displayed. For example, if you have the following string to translate:
UI_USER_CONNECT={0}, connected at 100 mbs
the rendered version could appear as jfaux, connected at 100 mb
Translations typically appear inside a browser, so it is appropriate to add HTML tags to format the string, as shown below:
_FM_ACCOUNT_ID_HELP=<b>Account ID</b><br>Enter a name for this user. This field is required.