Configuring a custom locale

You can add your own custom locale to Decision Center.

Before you begin

In Rule Designer, you create a custom business rule language (BRL) .properties file (for example, brl_en_NZ.properties) and add it to the ilog.rules.brl.i18n package.

About this task

To add your custom locale to Decision Center, you create two preferences.properties files to override the default properties.

Note: Messages are in English. It is the fallback when translations are not found.

Procedure

  1. In the Business console, create a preferences.properties file and add it in the com.ibm.rules package.
  2. Override the default properties for the user locales available in the Business console by adding your custom locale (for example, en_NZ):
    decisioncenter.web.core.AvailableLocales=en, fr, de, es, it, ja, ko, nl, ru, pt_BR, zh_CN, zh_TW, ar, iw, pl, en_NZ
  3. Package the three .properties files and their respective packages into a JAR file.
  4. Repackage the Decision Center archive with the Ant task repackage-ear. Use the -DadditionalJars argument to specify the JAR file.
    Note:

    For information on how to repackage the Decision Center archive, see Repackaging the Decision Center archive.

  5. Deploy the Decision Center archive.