Setting the persistence locale

The persistence locale is used to determine the language in which rules are stored in the Decision Center database.

About this task

Note: You can also set the persistence locale by using the Installation Settings Wizard in the Decision Center Enterprise console

The persistence locale is set when you deploy the Decision Center archive to your application server, which means that the rules in the database are stored in the locale of the Decision Center application.

Changing the persistence locale does not change the language in which rules display in Decision Center. Changing the persistence locale in Decision Center is necessary only to match the locale of Rule Designer when you synchronize your rule projects, and to access the tutorials in your locale.

Important: You must not change the persistence locale after you have saved a rule to the database.

Procedure

To set the persistence locale by running an Ant task:

  1. Open the <ODM_InstallDir>/teamserver/bin/teamserver-anttasks.properties file.

    This file defines the value of some common parameters.

  2. Add your locale to the persistenceLocale property and save the teamserver-anttasks.properties file.

    For example: persistenceLocale = fr_FR

  3. Run the Ant task in this form: ant taskName parameters_list

    Alternatively, you can add the parameter to the command line.

    For example: ant taskName -DpersistenceLocale=fr_FR