X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/066a5aa9224a71787b4346df6fbedad12f4f601a..bcdb0eb24c38dbb17f806f411f55c9f8cc7d4429:/linux/glibc/index.html diff --git a/linux/glibc/index.html b/linux/glibc/index.html index f11175e6ea..4930508f28 100644 --- a/linux/glibc/index.html +++ b/linux/glibc/index.html @@ -1,11 +1,49 @@ - - + + GNU libc (glibc) locale patch page + + + + +

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 @@ -15,6 +53,14 @@ all the fixes included in the official releases of the source.

+

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.

+

References to documentation and standards

It is currently an open question where the format og locales in @@ -45,30 +91,49 @@ -

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 -
+

Changing a locale

+ +

Getting locale fixes past the glibc maintainers is still a + kind of black art to me. This is my first try to document + what I believe is needed to get the glibc maintainers to + accept a change.

+ +

Register the change request in bugzilla, to make sure the + request is not forgotten, and that all relevant info is + collected in one place.

+ +

It is always good to involve the original locale author when + submitting a change request. Getting the original author to + agree to the change increases the chance that the glibc + maintainers will accept it. It is also an idea to involve the + contributors to the locale. This is why I maintain a list of + authors and contributors for each locale. The people listed + there should be emailed as well, and asked for comments. If + the contributors agree as well, the change is less likely to + be controversial, and more likely to be accepted by the glibc + maintainers.

+ +

Give references to official standards and specifications + documenting the correct locale behavoiur. URLs are fine. If + such references are impossible to find, official-looking pages + might have the same effect. Another idea is to show + locale-specific use of dates and other formatting on + country-official web pages and other publications.

+ +

If all of these are present, the change is likely to be + accepted by the glibc maintainer. If some of them are missing + (like the author is unavailable, no standard and + specifications exist, and it is hard to document the correct + format, I do not know how to get the change past the glibc + maintainers.

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 RedHat Bugzilla

@@ -159,6 +239,10 @@

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

@@ -206,40 +295,201 @@
  • 2003-05-31 Correct email of Denis V. Dmitrienko in uk_UA - (commited) + (commited)
  • 2003-05-31 - Correct thousand separator for fi_FI (commited) + Correct thousand separator for fi_FI (commited)
  • 2003-06-15 - Correct fi_FI date gramar (PR libc/5013) (commited) + Correct fi_FI date gramar (PR libc/5013) (commited)
  • 2003-06-15 - Clean up locale test code (commited) + Clean up locale test code (commited)
  • 2003-06-15 Use lower case letters in month and week day names in is_IS - (commited) + (commited)
  • 2003-06-21 Add missing ETH to LC_COLLATE in no_NO - (commited) + (commited)
  • 2003-06-25 Correct an_ES charset and add an_ES.ISO-8859-15 to - SUPPORTED (commited) + SUPPORTED (commited)
  • + +
  • 2003-07-05 + Updating/adding locale for Ethiopia and Eritrea
  • 2003-07-13 Make sort-test handle more then 100 lines, and avoid - segfault (commited) + segfault (commited)
  • + +
  • 2003-09-01 + Document why there are two locales for Hebrew
  • + +
  • 2003-09-11 + Locales for Uzbekistan (uz_UZ and uz_UZ@Cyrl)
  • + +
  • 2003-11-23 + Only check the currency name against 4217, exclude the space
  • + +
  • 2003-11-23 + Monday is first work and week day in Finland
  • + +
  • 2003-11-23 + Remove unused file localedata/locales/translit_et
  • + +
  • 2004-01-01 + Make strfmon() more POSIX-compliant
  • + +
  • 2004-01-01 + Report which of the sorting methods that fail
  • + +
  • 2003-11-23 + Correct formatting of internatinal currency
  • + +
  • 2003-11-23 + Allow quotes in tst-fmon.data, and make output easier to read
  • + +
  • 2003-07-06 + Some small locale fixes
  • +

    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 codeLanguageRegion/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) +
    + +

    Related web pages

    + + + +

    -
    Petter Reinholdtsen
    +
    Petter Reinholdtsen
    -Last modified: Sun Sep 14 18:47:50 CEST 2003 +Last modified: Sun Jul 18 10:07:40 CEST 2004