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