National Language Support
- A resource bundle that contains all static text in the FTM OAC.
- A new entry in the CLASSIFICATION database table for the required locale.
- Updates to all CLASSIFICATION items to translate their descriptions into the required language.
Also, as a prerequisite, configure the application server for UTF-8 encoding. For more information, see Configuring the application server for UTF-8 encoding.
The classification table contains system dynamic data such as transaction types, object statuses, and currencies. These are defined in the model using the Rational® tools and the sample application contains a set of standard classifications that are used by the FTM OAC to translate codes that are returned from the database into meaningful descriptions. Classifications are part of the configuration data and so can also be created and updated in the OAC. Fore more information, see Classifications.
Classification scheme | Code | Description |
---|---|---|
PREF_LOCALE | A Java™ Locale String, either a language on its own
or both, language and country separated by an underscore, can be specified. Examples of the Java Locale String are:
|
Display string, for example "US English" would be the description for the "en_US" code. |
- Add the new resource bundle messages_xx.properties to the OAC application EAR file, where xx is the locale code.
- Deploy the updated EAR file to the WebSphere® Application Server.
- Add a classification entry for the locale with a classification scheme of PREF_LOCALE.
- Update all CLASSIFICATION descriptions with new translations.
The CLASSIFICATION database table updates can also be done using the FTM OAC. To add a classification item in the OAC for the locale, under Configuration Data, select the Classifications node. Then, click the New Classification Item icon to open the New Classification Item dialog box, and, taking US English as an example, complete it as shown in the following figure. Save your changes and restart the FTM OAC application in the application server console for this to take effect.