Resource bundles

All static text displayed on the OAC is read from a resource bundle file. This file is located in the web module of the EAR file that is deployed to the WebSphere® Application Server. The default resource bundle file is called messages_en.properties and provides the English translations.

A resource bundle file contains a list of key-value pairs code=translation. For example, the English resource bundle contains following lines:
Label.Account=Account
Label.AllowableActions=Allowable Actions
Label.Amount=Amount
Label.AmountUSD=Amount (USD Equivalent)
Label.AmountMax=Amount Max.
To provide a resource bundle with translations for another language proceed as follows:
  1. Copy the English language file and rename it to messages_xx.properties where xx is the language code.
  2. Edit the copied file messages_xx.properties and translate the entries.
    For example, the Spanish language resource bundle is named messages_es.properties and contains lines such as:
    Label.Account=Cuenta
    Label.AllowableActions=Acciones Permisibles
    Label.Amount=Cantidad
    Label.AmountUSD=Cantidad (Equivalente en USD)
    Label.AmountMax=Cantidad Máx.
  3. Deploy the new resource bundle messages_xx.properties to the WebSphere Application Server so that it is available on the FTM OAC class loader class path.
    One way to achieve this is to modify the supplied EAR file as follows:
    1. Use the Rational® tools to unpack the EAR.
    2. Add the resource bundle within the directory JavaSource\com\ibm\fxh\frame.
    3. Re-export the EAR file for deployment. For more information, see Install the Enterprise ARchive(EAR) file.