Using locales in Sterling Configurator Visual Modeler

Each installation of the Sterling Configurator Visual Modeler defines a system default locale in its Internationalization.xml file using the defaultSystemLocale element.

User locales

When a user works in the Sterling Configurator Visual Modeler, their current locale determines the look-and-feel of Web pages and the locale-specific data (such as product descriptions) to use to display business object data to the user.

Each user has a preferred locale specified in their user profile. When a user first enters the Sterling Configurator Visual Modeler, their current locale is set to their preferred locale. If they change their current locale as they work, they see the Web pages in the new locale.

Users change locale by selecting a new locale from a drop-down list of available locales in their user profile. The display names for each locale in the drop-down list depend on the user's current locale. For example, if the user's current locale is en_US, the display name for fr_FR can be “French-France”, and if the user's current locale is fr_FR, then the display name for en_US can be “Anglais-Etats Unis”.

Default locales for languages

The Sterling Configurator Visual Modeler enables you to specify a default locale for each language so that if JSP pages are not available for the specific locale, the language's default locale's JSP pages are used instead. You specify the language's default locale using the defaultcountry or region elements of the Languages element of the Internationalization.xml configuration file.

The defaultSystemLocale element determines which JSP pages to serve if they are not provided in the language's default locale directory.