GNU libc (glibc) locale patch page

Related pages


Current locales and their maintainers

Locale writing howto

This page contain information about the GNU libc locale collection, including patches, suggested formates, list of known problems and who to contact regarding the different locales. It is a work in progress. The page maintainer, Petter Reinholdtsen, is working with the GNU libc maintainers to get all the fixes included in the official releases of the source.

References to documentation and standards

It is currently an open question where the format og locales in glibc is documented. This list of references is at least pointing to related docuemnts documenting the format of locales, even if the glibc maintainers might not accept them as authoritative.

To make it easier to compare locales with each other, I recommend using the same order in all locales. Any order will do, so I picked a order used in several locales, and decided to recommend this order:

  1. LC_IDENTIFICATION
  2. LC_CTYPE
  3. LC_COLLATE
  4. LC_MONETARY
  5. LC_NUMERIC
  6. LC_TIME
  7. LC_MESSAGES
  8. LC_PAPER
  9. LC_NAME
  10. LC_ADDRESS
  11. LC_TELEPHONE
  12. LC_MEASUREMENT

Locale related problem reports

From GNU libc gnats database

The GNATS database is dead at the moment (2003-10-31), and has been dead since this summer.

From Debian GNU/Linux BTS

From RedHat Bugzilla

Patches submitted to the glibc maintainers

If you know of some patches that should be listed here, please send me an email. I want to track all relevant patches, not just the ones submitted by me.

Pending/rejected

Accepted/included

Missing locales?

Bruno Haible told me about a list of language codes available from Microsoft, and discovered that some of these are missing as locales in current GNU libc.

Locale code Language Region/Country
bnt_TZ Sutu Tanzania (MS calls this one "sx" - not ISO 639)
(see also http://www.ethnologue.com/show_language.asp?code=NGU)
Correct code st_LS / nso_ZA ?
de_LI German Liechtenstein
en_JM English Jamaica
en_GD English Caribbean
en_BZ English Belize
en_TT English Trinidad
gd_IE Gaelic Ireland
rm_CH Rhaeto-Romanic Switzerland
ro_MD Romanian Moldavia (MS calls this one "MO" - not ISO 3166)
ru_MD Russian Moldavia (MS calls this one "MO" - not ISO 3166)
ts_ZA Tsonga South Africa (see also http://www.ethnologue.com/show_language.asp?code=TSO)
tn_BW Tswana Botswana (see also http://www.ethnologue.com/show_language.asp?code=TSW)
ven_ZA Venda South Africa (not sure about ISO 639 code: "ve" or "ven")
(see also http://www.ethnologue.com/show_language.asp?code=VEN)
wen_DE Sorbian Germany (MS calls this one "sb" - not ISO 639)
(see also http://www.ethnologue.com/show_language.asp?code=WEN)

Mailing list for discussing locales

A mailing list for discussing the GNU libc locales have been created. It is archived on the web. Send an email to libc-locales-subscribe@sources.redhat.com to subscribe.


Petter Reinholdtsen
Last modified: Sat May 15 12:01:01 CEST 2004