Locale Naming

From ArchWiki

Jump to: navigation, search


Definition

The Free Standards Group Open Internationalisation Initiative defines the Locale using the folloing namespace:

<lang>_<territory>.<codeset>[@<modifiers>]

The parts explained:

<lang>        = Language Code
<territory>   = Country Code
<codeset>     = Character Encoding (if omitted, locale default is assumed)
<modifiers>   = Locale Modifiers

Examples

fr_CA.ISO-8859-1    = French Language spoken in Canada using ISO-8859-1 character set
de_DE@euro          = German Language spoken in Germany using default character set and using euro sign (modifier)
en_GB.UTF-8         = English Language spoken in United Kingdom using UTF-8 character set
Personal tools