A locale represents a geographic or cultural region and is used to distinguish between the language variants used by different groups of people. For example, English has several language variants such as British English and American English; each of these is a locale. Locales are usually represented by language and country parameters. For example, en_GB represents British English, en_US represents American English, and fr_FR represents French used in France.

There are two types of Dynamo locales: the request locale and the server locale. Dynamo uses the request locale to generate locale-based user messages. For more information, refer to Configuring the Request Locale. Dynamo uses the server locale to generate developer messages. For information on how to change the server locale, refer to Setting the Java Virtual Machine Locale.

The profile repository can also include a locale property for each user; when this property is set, for example by means of a language preference specified in a registration form, it can be used with targeting rules or scenarios to display content that is appropriate for the user’s locale.

 
loading table of contents...