Locale Usage

You can use locale rules to vary the appearance of data for different regions of your implementation. Typically, this data would include dates and times, numbers, and currencies.

For example, the date and time thirty minutes past four in the afternoon on February four, year two thousand-and-twenty-one can appear differently depending on the locale. It might appear as:

  • 02/04/2021, 04:30 PM, if the locale used is English American (ENU).

  • 04.02.2021, 16:30, if the locale used is German (DEU).

Locales specify thousand separators and decimal symbols for numbers. They determine the position of the currency symbol in relation to the currency amount.

Locales also guide what characters are available through the computer keyboard. Users can remap their keyboards through the locale setting to get access to additional characters when typing.