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
-
In the Business console, create a preferences.properties file and add it
in the com.ibm.rules package.
-
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
-
Package the three .properties files and their respective packages into a
JAR file.
-
Repackage the Decision Center archive with
the Ant task repackage-ear. Use the
-DadditionalJars argument to
specify the JAR file.
-
Deploy the Decision Center archive.