Opening the designers in a specific locale

You can start Rule Designer, Insight Designer, or Event Designer in a locale other than the locale of your operating system. If you are using a bidirectional locale, you can also change the display orientation of Eclipse.

Before you begin

To open the Designers in a specific locale, you must select this locale in IBM® Installation Manager, when installing Decision Server.

About this task

By default, the Designers open in the locale of your operating system, or in the locale that you specified during the installation in IBM Installation Manager. You can change the locale by adding a property to the config.ini file.

Procedure

To change the locale of Rule Designer for example:

  1. Open <InstallDir>/configuration/config.ini.

    <InstallDir> refers to the installation directory of Operational Decision Manager. However, if you installed Operational Decision Manager in an existing Eclipse, the config.ini file is located in the configuration folder of your Eclipse installation directory.

  2. Add the following properties:
    • osgi.nl=<locale>: to specify the locale, for example osgi.nl=fr_FR.

    • (Optional) eclipse.orientation=<orientation>: to change the display orientation of Eclipse, for example eclipse.orientation=ltr.

      ltr defines a left-to-right orientation, and rtl defines a right-to-left orientation.

      For bidirectional locales such as Arabic and Hebrew, the rule editors are localized and displayed from right to left. However, the rest of the Rule Designer interface is not localized. If you start Eclipse in a bidirectional locale, it is displayed from right to left, but Rule Designer remains in English. You can use the ltr value to display Rule Designer from left to right, and the editors from right to left.

  3. Save the changes.
    Note:
    • You can also use the -nl <locale> argument in the command line to start Eclipse in a specific locale. For example, -nl fr_FR.

    • You can also use the -dir <orientation> argument in the command line to start Eclipse with a specific orientation. For example, -dir ltr.

  4. Verify that your Eclipse system default encoding is compatible with the locale that you specified in the osgi.nl property. To select a specific encoding, open the <InstallDir>/eclipse.ini file and add the following property line at the end of the file: -Dfile.encoding=<encodingName>. The recommended encoding is UTF-8, as it is compatible with all the supported locales.
    Table 1. Supported locales for the Designers
    Language Locale
    Arabic (Egypt) ar_EG
    Chinese (Traditional) zh_TW
    Chinese (Simplified) zh_CN
    Dutch (Netherland) nl_NL
    English (UK) en_GB
    English (US) en_US
    French (France) fr_FR
    German (Germany) de_DE
    Hebrew (Israel) iw_IL
    Italian (Italy) it_IT
    Japanese (Japan) ja_JP
    Korean (South Korea) ko_KR
    Polish (Poland) pl_PL
    Portuguese (Brazil) pt_BR
    Russian (Russia) ru_RU
    Spanish (Spain) es_ES
    Swedish sv_SE