GNU libc (glibc) locale patch page

Related pages


Current locales and their maintainers

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

I'm interested in creating a new mailinglist for discussiong the GNU libc locales. It would be a forum where we can discuss how to write locales and how locales should behave, without drowning in the technical discussions about linker problems and syscall conventions. Roland McGrath told me that such list could be created if there is a significant number of people interested in being on such list, and not interested in being on libc-alpha.

The following people have expressed their interest in joining such list. If you are interested in such list, please send me an email.


Petter Reinholdtsen
Last modified: Fri Jan 2 10:16:22 CET 2004