]> pere.pagekite.me Git - homepage.git/blob - linux/glibc/index.html
Add stylesheet.
[homepage.git] / linux / glibc / index.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html lang="en">
4 <head>
5 <title>GNU libc (glibc) locale patch page</title>
6 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
7 <meta http-equiv="Content-Language" content="en">
8 <link rel="stylesheet" type="text/css" href="http://i18n.skolelinux.no/stilsett.css" id="nn1">
9 <link rel="stylesheet" type="text/css" href="http://i18n.skolelinux.no/utskrift.css" media="print" id="nn2">
10 </head>
11
12 <body>
13 <div class="topp">
14 <h1>GNU libc (glibc) locale patch page</h1>
15 </div>
16
17 <div class="meny">
18 <h2>Related pages</h2>
19 <ul>
20 <li><a href="http://www.gnu.org/software/libc/">GNU libc homepage</a></li>
21
22 <li><a href="http://sources.redhat.com/glibc/">GNU libc jumpstation</a></li>
23
24 <li><a href="http://sources.redhat.com/bugzilla/">GNU libc bugzilla</a></li>
25
26 <li><a href="http://sources.redhat.com/bugzilla/buglist.cgi?product=glibc&component=localedata&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=SUSPENDED&bug_status=WAITING&bug_status=REOPENED">GNU libc locale bugs</a></li>
27
28 <li><a href="http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/?cvsroot=glibc">GNU libc CVSweb</a></li>
29
30 <li><a href="http://www.openi18n.org/specs/ldml/">OpenI18n The
31 Locale Data Markup Language Specification</a></li>
32
33 <li><a href="http://www.unicode.org/reports/tr24/">Unicode
34 Standard Annex #24 Script Names</a></li>
35
36 </ul>
37 <hr>
38
39 <p><a href="MAINTAINERS.txt">Current locales and their
40 maintainers</a></p>
41
42 <p><a href="howto.html">Locale writing howto</a></p>
43
44 </div>
45
46 <div class="hovuddel">
47
48 <p>This page contain information about the GNU libc locale
49 collection, including patches, suggested formates, list of known
50 problems and who to contact regarding the different locales. It
51 is a work in progress. The page maintainer, Petter
52 Reinholdtsen, is working with the GNU libc maintainers to get
53 all the fixes included in the official releases of the
54 source.</p>
55
56 <h2>References to documentation and standards</h2>
57
58 <p>It is currently an open question where the format og locales in
59 glibc is documented. This list of references is at least
60 pointing to related docuemnts documenting the format of locales,
61 even if the glibc maintainers might not accept them as
62 authoritative.</p>
63
64 <ul>
65
66 <li>ISO/IEC 9945-2:1993 (not freely available)</li>
67
68 <li><a href="http://www.unix-systems.org/version3/">ISO/IEC
69 9945:2002</a></li>
70
71 <li><a href="http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap07.html">The
72 Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2003
73 Edition</a></li>
74
75 <li><a href="http://www.dkuug.dk/JTC1/SC22/open/n2638/">ISO/IEC
76 FCD 14652</a></li>
77
78 <li><a href="http://yacob.org/ISO-14652.pdf">ISO/IEC FPDTR
79 14652:1999(E)</a></li>
80
81 <li><a href="http://www.dkuug.dk/JTC1/SC22/WG20/docs/n972-14652ft.pdf">ISO/IEC
82 TR 14652:2003</a></li>
83
84 </ul>
85
86 <p>To make it easier to compare locales with each other, I
87 recommend using the same order in all locales. Any order will
88 do, so I picked a order used in several locales, and decided to
89 recommend this order:</p>
90
91 <ol>
92 <li>LC_IDENTIFICATION
93 <li>LC_CTYPE
94 <li>LC_COLLATE
95 <li>LC_MONETARY
96 <li>LC_NUMERIC
97 <li>LC_TIME
98 <li>LC_MESSAGES
99 <li>LC_PAPER
100 <li>LC_NAME
101 <li>LC_ADDRESS
102 <li>LC_TELEPHONE
103 <li>LC_MEASUREMENT
104 </ol>
105
106 <h2>Locale related problem reports</h2>
107
108 <h3>From <a href="http://bugs.gnu.org/">GNU libc gnats database</a></h3>
109
110 <p>The GNATS database is dead at the moment (2003-10-31), and
111 has been dead since this summer.</p>
112
113 <ul>
114
115 <li>libc/2254: Insufficient info from the locale tool.
116 <br>(patch sent to libc-alpha, partly fixed in CVS 2003-05-21)
117
118 <li>libc/2931: Missing nb_NO locale
119 <br>(patch sent to libc-alpha 2003-06-15)
120
121 <li>libc/2954: Should add postal telephone and vehicle codes to locales
122 <br>(HTML error in gnats?)
123
124 <li>libc/3606: Update documentation regarding LC_ALL and LANG
125
126 <li>libc/4197: Incorrect hr_HR - currency sumbol position
127 <br>(sent email to submitter [bad address] and author)
128
129 <li>libc/4348: Converting charset "eucjp->sjis->iso2022jp" and
130 "eucjp->iso2022jp" give different result.
131
132 <li>libc/4658: 'locale -a' do not list locales in archive
133
134 <li>libc/4938: Segfaults when using locale info before it is initialized
135
136 <li><strike>libc/5013: Incorrect fi_FI - gramatic</strike>
137 <br>(sent email to submitter and author, patch sent 2003-05-09,
138 patch commited 2003-06-16)
139
140 <li>libc/5018, libc/5019, libc/5028: Incorret uk_UA.
141 <br>(sent email to submitter and author)
142
143 <li>libc/5023: Missing locales li_NL, nds_NL and nds_DE
144 <br>(sent email to submitter)
145
146 <li>libc/5059: Wrong date format for locale sl_SI
147 <br>(sent email to submitter and locale author, approved by author,
148 patch sent to libc-alpha 2003-07-06)
149
150 </ul>
151
152 <h3>From <a href="http://bugs.debian.org/">Debian GNU/Linux BTS</a></h3>
153
154 <ul>
155
156 <li><a href="http://bugs.debian.org/111268">#111268: Incorrect
157 sv_SE - 13:59 instead of 13.59 for clock time</a>
158 <br>(patch sent 2003-05-18)
159
160 <li><a href="http://bugs.debian.org/119528">#119528: Incorrect
161 ro_RO - rewritten locale</a>
162 <br>(sent email to submitter)
163
164 <li><strike><a href="http://bugs.debian.org/178513">#178513:
165 Incorrect is_IS - Use lower case letters in month and week
166 day names</a></strike>
167 <br>(sent email to submitter and author, confirmed by Keld,
168 patch sent to libc-alpha 2003-06-15, patch commited
169 2003-06-16)
170
171 <li><strike><a href="http://bugs.debian.org/194289">#194289: New
172 locale ag_ES for Aragonese</a></strike>
173 <br>(sent email to submitter, patch commited 2003-06-16 as
174 an_ES)
175
176 <li><a href="http://bugs.debian.org/193904">#193904:
177 locales.alias even lines are not considered (debian
178 only?)</a>
179
180 <li><strike><a href="http://bugs.debian.org/206474">#206474: locales:
181 nb_NO should be a real locale, not an alias</a></strike>
182 <br>Same as libc/2931
183
184 <li><a href="http://bugs.debian.org/208238">#208238: locales:
185 wrong charset for et_EE</a>
186
187 <li><strike><a href="http://bugs.debian.org/211607">#211607: Bad catalan
188 locale currency format</a></strike>
189
190 <li><a href="http://bugs.debian.org/214107">#214107: locales:
191 en_US.UTF-8 treats [ as a space char</a>
192
193 <li><a href="http://bugs.debian.org/214414">#214414: Incorrect
194 date format in en_NZ</a>
195
196 <li><a href="http://bugs.debian.org/215466">#215466: fi_FI
197 locale doesn't contain first_weekday</a>
198
199 </ul>
200
201 <h3>From <a href="https://bugzilla.redhat.com/">RedHat Bugzilla</a></h3>
202
203 <ul>
204
205 <li><strike><a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=75139">#75139:
206 Incorrect week start day for sv_SE (should start on
207 monday)</a></strike>
208 <br>(Corrected in CVS 2003-01-14)
209
210 <li><a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=83276">#83276:
211 Norwegian locale in distro</a>
212 <br>Same as libc/2931
213
214 </ul>
215
216 <h2>Patches submitted to the glibc maintainers</h2>
217
218 <p>If you know of some patches that should be listed here, please
219 send me an email. I want to track all relevant patches, not just
220 the ones submitted by me.</p>
221
222 <h3>Pending/rejected</h3>
223
224 <ul>
225
226 <li><a href="http://sources.redhat.com/ml/libc-alpha/2003-04/msg00173.html">2003-04-15
227 Add sorting test for no_NO</a>
228
229
230 <li><a href="http://sources.redhat.com/ml/libc-alpha/2003-05/msg00151.html">2003-05-18
231 Correct sorting for nn_NO to match no_NO</a>
232
233 <li><a href="http://sources.redhat.com/ml/libc-alpha/2003-05/msg00154.html">2003-05-18
234 Norwegian week start on monday, fix no_NO and nn_NO</a>
235
236 <li><a href="http://sources.redhat.com/ml/libc-alpha/2003-05/msg00155.html">2003-05-18
237 Change sv_SE to use ':' in clock format (BTS #111268)</a>
238
239 <li><strike><a href="http://sources.redhat.com/ml/libc-alpha/2003-05/msg00158.html">2003-05-18
240 Include examples in 'locale --help' (PR libc/2254,
241 rejected)</a></strike>
242
243 <li><strike><a href="http://sources.redhat.com/ml/libc-alpha/2003-05/msg00265.html">2003-05-29
244 Generate locales on 'make check' (rejected)</a></strike>
245
246 <li><a href="http://sources.redhat.com/ml/libc-alpha/2003-05/msg00267.html">2003-05-29
247 Indent the error output from sort-test.sh</a>
248
249 <li><strike><a href="http://sources.redhat.com/ml/libc-alpha/2003-06/msg00133.html">2003-06-15
250 Add nb_NO locale (PR libc/2931)</a></strike>
251
252 <li><a href="http://sources.redhat.com/ml/libc-alpha/2003-07/msg00021.html">2003-07-06
253 Correct wrong date format for locale sl_SI (PR libc/5059)</a>
254
255 <li><a href="http://sources.redhat.com/ml/libc-alpha/2003-08/msg00082.html">2003-08-13
256 Updated/new locales for sr_CS (Serbia and Montenegro)</a></li>
257
258 <li><a href="http://sources.redhat.com/ml/libc-alpha/2003-06/msg00257.html">2003-06-21
259 Add test for international currency formatting.</a> and
260 <a href="http://sources.redhat.com/ml/libc-alpha/2003-11/msg00135.html">2003-11-23
261 Add test for international currency formatting (updated)</a></li>
262
263 <li><strike><a href="http://sources.redhat.com/ml/libc-alpha/2004-01/msg00016.html">2004-01-01
264 Change et_EE charset to ISO-8859-15</a> (rejected)</strike></li>
265
266 </ul>
267
268 <h3>Accepted/included</h3>
269
270 <ul>
271
272 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-05/msg00310.html">2003-05-31
273 Correct email of Denis V. Dmitrienko in uk_UA
274 (commited)</a></strong></li>
275
276 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-05/msg00311.html">2003-05-31
277 Correct thousand separator for fi_FI (commited)</a></strong></li>
278
279 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-06/msg00129.html">2003-06-15
280 Correct fi_FI date gramar (PR libc/5013) (commited)</a></strong></li>
281
282 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-06/msg00141.html">2003-06-15
283 Clean up locale test code (commited)</a></strong></li>
284
285 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-06/msg00155.html">2003-06-15
286 Use lower case letters in month and week day names in is_IS
287 (commited)</a></strong></li>
288
289 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-06/msg00255.html">2003-06-21
290 Add missing ETH to LC_COLLATE in no_NO
291 (commited)</a></strong></li>
292
293 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-06/msg00317.html">2003-06-25
294 Correct an_ES charset and add an_ES.ISO-8859-15 to
295 SUPPORTED (commited)</a></strong></li>
296
297 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-07/msg00017.html">2003-07-05
298 Updating/adding locale for Ethiopia and Eritrea</a></strong></li>
299
300 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-07/msg00020.html">2003-07-13
301 Make sort-test handle more then 100 lines, and avoid
302 segfault (commited)</a></strong></li>
303
304 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-09/msg00003.html">2003-09-01
305 Document why there are two locales for Hebrew</a></strong></li>
306
307 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-09/msg00091.html">2003-09-11
308 Locales for Uzbekistan (uz_UZ and uz_UZ@Cyrl)</a></strong></li>
309
310 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-11/msg00126.html">2003-11-23
311 Only check the currency name against 4217, exclude the space</a></strong></li>
312
313 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-11/msg00128.html">2003-11-23
314 Monday is first work and week day in Finland</a></strong></li>
315
316 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-11/msg00129.html">2003-11-23
317 Remove unused file localedata/locales/translit_et</a></strong></li>
318
319 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2004-01/msg00004.html">2004-01-01
320 Make strfmon() more POSIX-compliant</a></strong></li>
321
322 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2004-01/msg00007.html">2004-01-01
323 Report which of the sorting methods that fail</a></strong></li>
324
325 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-11/msg00127.html">2003-11-23
326 Correct formatting of internatinal currency</a></strong></li>
327
328 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-11/msg00133.html">2003-11-23
329 Allow quotes in tst-fmon.data, and make output easier to read</a></strong></li>
330
331 <li><strong><a href="http://sources.redhat.com/ml/libc-alpha/2003-07/msg00022.html">2003-07-06
332 Some small locale fixes</a></strong></li>
333
334 </ul>
335
336 <h2>Missing locales?</h2>
337
338 <p>Bruno Haible told me about a
339 <a href="http://msdn.microsoft.com/workshop/author/dhtml/reference/language_codes.asp">list
340 of language codes</a> available from Microsoft, and
341 discovered that some of these are missing as locales in
342 current GNU libc.</p>
343
344 <table>
345 <tr>
346 <th>Locale code</th>
347 <th>Language</th>
348 <th>Region/Country</th>
349 </tr>
350
351 <tr>
352 <td>bnt_TZ
353 <td>Sutu
354 <td>Tanzania
355 <td>(MS calls this one "sx" - not ISO 639)
356 <br>(see also <a href="http://www.ethnologue.com/show_language.asp?code=NGU">http://www.ethnologue.com/show_language.asp?code=NGU</a>)
357 <br>Correct code st_LS / nso_ZA ?
358 </tr>
359
360 <tr>
361 <td>de_LI
362 <td>German
363 <td>Liechtenstein
364 </tr>
365
366 <tr>
367 <td>en_JM
368 <td>English
369 <td>Jamaica
370 </tr>
371
372 <tr>
373 <td>en_GD
374 <td>English
375 <td>Caribbean
376 </tr>
377
378 <tr>
379 <td>en_BZ
380 <td>English
381 <td>Belize
382 </tr>
383
384 <tr>
385 <td>en_TT
386 <td>English
387 <td>Trinidad
388 </tr>
389
390 <tr>
391 <td>gd_IE
392 <td>Gaelic
393 <td>Ireland
394 </tr>
395
396 <tr>
397 <td>rm_CH
398 <td>Rhaeto-Romanic
399 <td>Switzerland
400 </tr>
401
402 <tr>
403 <td>ro_MD
404 <td>Romanian
405 <td>Moldavia
406 <td>(MS calls this one "MO" - not ISO 3166)
407 </tr>
408
409 <tr>
410 <td>ru_MD
411 <td>Russian
412 <td>Moldavia
413 <td>(MS calls this one "MO" - not ISO 3166)
414 </tr>
415
416 <tr>
417 <td>ts_ZA
418 <td>Tsonga
419 <td>South Africa
420 <td>(see also <a href="http://www.ethnologue.com/show_language.asp?code=TSO">http://www.ethnologue.com/show_language.asp?code=TSO</a>)
421 </tr>
422
423 <tr>
424 <td>tn_BW
425 <td>Tswana
426 <td>Botswana
427 <td>(see also <a href="http://www.ethnologue.com/show_language.asp?code=TSW">http://www.ethnologue.com/show_language.asp?code=TSW</a>)
428 </tr>
429
430 <tr>
431 <td>ven_ZA
432 <td>Venda
433 <td>South Africa
434 <td>(not sure about ISO 639 code: "ve" or "ven")
435 <br>(see also <a href="http://www.ethnologue.com/show_language.asp?code=VEN">http://www.ethnologue.com/show_language.asp?code=VEN</a>)
436 </tr>
437
438 <tr>
439 <td>wen_DE
440 <td>Sorbian
441 <td>Germany
442 <td>(MS calls this one "sb" - not ISO 639)
443 <br>(see also <a href="http://www.ethnologue.com/show_language.asp?code=WEN">http://www.ethnologue.com/show_language.asp?code=WEN</a>)
444 </tr>
445
446 </table>
447
448 <h2>Mailing list for discussing locales</h2>
449
450 <p>A mailing list for discussing the GNU libc locales have been
451 created. It is
452 <a href="http://sources.redhat.com/ml/libc-locales/">archived on
453 the web</a>. Send an email to
454 <tt>libc-locales-subscribe@sources.redhat.com</tt> to subscribe.</p>
455
456 </div>
457 <hr>
458 <address><a href="mailto:pere@hungry.com">Petter Reinholdtsen</a></address>
459 <!-- Created: Tue Sep 2 00:10:31 CEST 2003 -->
460 <!-- hhmts start -->
461 Last modified: Sat May 15 12:01:01 CEST 2004
462 <!-- hhmts end -->
463 </body>
464 </html>