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