Locale

From Wikipedia, the free encyclopedia

In computing, locale is a set of parameters that defines the user's language, country and any special variant preferences that the user wants to see in their user interface. Usually a locale identifier consists of at least a language identifier and a region identifier.

Locale identifiers can be defined in several ways:

  • On Unix, Linux and other POSIX-type platforms, they are defined similar to the RFC 3066 definition, but the locale variant modifier is defined differently, and the charset is included as a part of the identifier. It is defined in this format:
[language[_territory][.codeset][@modifier]].

Contents

[edit] General locale settings

These settings usually include the following display (output) format settings

  • Display language setting
  • Number formats setting
  • Date/Time formats setting
  • Timezone setting
  • Daylight saving time (DST) setting
  • Currency formats setting

The above formats may or may not include also an input format setting. The latter, that is the input format setting, is also mostly defined on a per application basis. The daylight saving time setting (DST) is derived from the Timezone Setting.

An exception to the rule is the

which declares only an input setting but not specifically an output setting, since most keyboards are not an output device.

[edit] Programming/markup language support

and other (nowadays) Unicode-based environments, they are defined in a format similar to RFC 3066 or one of its successors. They are usually defined with just ISO 639 and ISO 3166-1 alpha-2 codes.

[edit] Specifics for Microsoft platform(s)

[edit] See also

[edit] External links

Look up locale in
Wiktionary, the free dictionary.