Setting the persistence locale
The persistence locale is used to determine the language in which rules are stored in the Decision Center database.
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.
You can set the persistence local by using either a REST API or an Ant task.
Setting the persistence locale with a REST API
To set the persistence locale by running a REST API:
- Open the Decision Center REST API Swagger (see IBM® Operational Decision Manager Decision Center API).
- Use the following endpoint in the DBAdmin section to set the persistence locale:
/v1/DBAdmin/persistencelocale.
The value of the persistenceLocale parameter defines the locale. It must conform to the specifications for representing the Java™ locale string.
Setting the persistence locale with an Ant task
To set the persistence locale by running an Ant task, use the task set-config-param with the key decisioncenter.locale, and set the value for the locale in the format <locale>_<country>.
ant set-config-param -Dkey=decisioncenter.locale -Dvalue=fr_FR