]>
Commit | Line | Data |
---|---|---|
f809007b | 1 | '\" t -*- coding: UTF-8 -*- |
fea681da | 2 | .\" Copyright (C) 1994 Jochen Hein (Hein@Student.TU-Clausthal.de) |
33af8501 | 3 | .\" Copyright (C) 2008 Petr Baudis (pasky@suse.cz) |
ca56bbbc | 4 | .\" Copyright (C) 2014 Michael Kerrisk <mtk@manpages@gmail.com> |
fea681da | 5 | .\" |
f0008367 | 6 | .\" %%%LICENSE_START(GPLv2+_SW_3_PARA) |
fea681da MK |
7 | .\" This program is free software; you can redistribute it and/or modify |
8 | .\" it under the terms of the GNU General Public License as published by | |
9 | .\" the Free Software Foundation; either version 2 of the License, or | |
10 | .\" (at your option) any later version. | |
11 | .\" | |
12 | .\" This program is distributed in the hope that it will be useful, | |
13 | .\" but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | .\" GNU General Public License for more details. | |
16 | .\" | |
c715f741 MK |
17 | .\" You should have received a copy of the GNU General Public |
18 | .\" License along with this manual; if not, see | |
19 | .\" <http://www.gnu.org/licenses/>. | |
8ff7380d | 20 | .\" %%%LICENSE_END |
fea681da | 21 | .\" |
33af8501 MK |
22 | .\" 2008-06-17 Petr Baudis <pasky@suse.cz> |
23 | .\" LC_TIME: Describe first_weekday and first_workday | |
24 | .\" | |
8392a3b3 | 25 | .TH LOCALE 5 2015-01-22 "Linux" "Linux User Manual" |
fea681da | 26 | .SH NAME |
f68512e9 | 27 | locale \- describes a locale definition file |
fea681da | 28 | .SH DESCRIPTION |
c13182ef | 29 | The |
fea681da | 30 | .B locale |
6fae67a4 | 31 | definition file contains all the information that the |
c13182ef | 32 | .BR localedef (1) |
fea681da MK |
33 | command needs to convert it into the binary locale database. |
34 | ||
35 | The definition files consist of sections which each describe a | |
36 | locale category in detail. | |
ab601e67 MM |
37 | .BR locale (7) |
38 | provides additional descriptions for these categories. | |
23618627 | 39 | .SS Syntax |
fea681da MK |
40 | The locale definition file starts with a header that may consist |
41 | of the following keywords: | |
42 | .TP | |
43 | .I <escape_char> | |
44 | is followed by a character that should be used as the | |
45 | escape-character for the rest of the file to mark characters that | |
c13182ef | 46 | should be interpreted in a special way. |
74d32233 | 47 | It defaults to the backslash (\\). |
fea681da MK |
48 | .TP |
49 | .I <comment_char> | |
50 | is followed by a character that will be used as the | |
c13182ef | 51 | comment-character for the rest of the file. |
74d32233 | 52 | It defaults to the number sign (#). |
fea681da MK |
53 | .PP |
54 | The locale definition has one part for each locale category. | |
55 | Each part can be copied from another existing locale or | |
c13182ef MK |
56 | can be defined from scratch. |
57 | If the category should be copied, | |
fea681da MK |
58 | the only valid keyword in the definition is |
59 | .B copy | |
f809007b MM |
60 | followed by the name of the locale in double quotes which should be |
61 | copied. | |
af7ad104 MM |
62 | The exceptions for this rule are |
63 | .B LC_COLLATE | |
64 | and | |
65 | .B LC_CTYPE | |
66 | where a | |
67 | .B copy | |
35a2f886 | 68 | statement can be followed by locale-specific rules and selected overrides. |
f809007b MM |
69 | .PP |
70 | When defining a category from scratch, all field descriptors and strings | |
71 | should be defined as Unicode code points in angle brackets, unless | |
72 | otherwise stated below. | |
73d11aab | 73 | For example, "€" is to be presented as "<U20AC>", "%a" as |
f809007b MM |
74 | "<U0025><U0061>", and "Monday" as |
75 | "<U0053><U0075><U006E><U0064><U0061><U0079>". | |
76 | Values defined as Unicode code points must be in double quotes, plain | |
77 | number values are not quoted (but | |
78 | .BR LC_CTYPE | |
79 | and | |
80 | .BR LC_COLLATE | |
984bf8fc | 81 | follow special formatting, see the system-provided locale files for |
f809007b | 82 | examples). |
ca56bbbc MK |
83 | .SS Locale category sections |
84 | The following category sections are defined by POSIX: | |
85 | .IP * 3 | |
86 | .B LC_CTYPE | |
87 | .IP * | |
88 | .B LC_COLLATE | |
89 | .IP * | |
8ed1a976 MK |
90 | .B LC_MESSAGES |
91 | .IP * | |
ca56bbbc MK |
92 | .B LC_MONETARY |
93 | .IP * | |
94 | .B LC_NUMERIC | |
95 | .IP * | |
96 | .B LC_TIME | |
ca56bbbc MK |
97 | .PP |
98 | In addition, since version 2.2, | |
99 | the GNU C library supports the following nonstandard categories: | |
100 | .IP * 3 | |
101 | .B LC_ADDRESS | |
102 | .IP * | |
103 | .B LC_IDENTIFICATION | |
104 | .IP * | |
105 | .B LC_MEASUREMENT | |
106 | .IP * | |
107 | .B LC_NAME | |
108 | .IP * | |
109 | .B LC_PAPER | |
110 | .IP * | |
111 | .B LC_TELEPHONE | |
f809007b MM |
112 | .PP |
113 | See | |
114 | .BR locale (7) | |
984bf8fc | 115 | for a more detailed description of each category. |
f809007b | 116 | |
73cb5f18 | 117 | .SS LC_ADDRESS |
5f7504ef | 118 | The definition starts with the string |
b8a2e38e | 119 | .I LC_ADDRESS |
73cb5f18 MK |
120 | in the first column. |
121 | ||
122 | The following keywords are allowed: | |
123 | .\" Thanks to the kind folk who wrote localedata/locales/uk_UA | |
124 | .TP | |
125 | .I postal_fmt | |
126 | followed by a string containing field descriptors that define | |
127 | the format used for postal addresses in the locale. | |
128 | The following field descriptors are recognized: | |
129 | .\" From localedata/locales/uk_UA: | |
130 | .RS | |
131 | .\" .TP | |
132 | .\" %n | |
133 | .\" BUG: %l escape sequence from ISO/IEC 14652:2002 is not supported | |
134 | .\" by glibc | |
135 | .\" Person's name, possibly constructed with the | |
136 | .\" .B LC_NAME | |
137 | .\" .I name_fmt | |
138 | .\" keyword. | |
f809007b MM |
139 | .\" |
140 | .\" https://sourceware.org/bugzilla/show_bug.cgi?id=16983 | |
6aeda2ec | 141 | .TP 4 |
73cb5f18 MK |
142 | %a |
143 | Care of person, or organization. | |
144 | .TP | |
145 | %f | |
146 | Firm name. | |
147 | .TP | |
148 | %d | |
149 | Department name. | |
150 | .TP | |
151 | %b | |
152 | Building name. | |
153 | .TP | |
154 | %s | |
155 | Street or block (e.g., Japanese) name. | |
156 | .TP | |
157 | %h | |
158 | House number or designation. | |
159 | .TP | |
160 | %N | |
161 | Insert an end-of-line if the previous descriptor's value was not an empty | |
162 | string; otherwise ignore. | |
163 | .TP | |
164 | %t | |
165 | Insert a space if the previous descriptor's value was not an empty string; | |
166 | otherwise ignore. | |
167 | .TP | |
168 | %r | |
169 | Room number, door designation. | |
170 | .TP | |
171 | %e | |
172 | Floor number. | |
173 | .TP | |
174 | %C | |
175 | Country designation, from the <country_post> keyword. | |
176 | .\" .TP | |
177 | .\" %l | |
178 | .\" BUG: %l escape sequence from ISO/IEC 14652:2002 is not | |
179 | .\" supported by glibc | |
180 | .\" Local township within town or city. | |
f809007b MM |
181 | .\" |
182 | .\" https://sourceware.org/bugzilla/show_bug.cgi?id=16983 | |
73cb5f18 MK |
183 | .TP |
184 | %z | |
185 | Zip number, postal code. | |
186 | .TP | |
187 | %T | |
188 | Town, city. | |
189 | .TP | |
190 | %S | |
191 | State, province, or prefecture. | |
192 | .TP | |
193 | %c | |
194 | Country, as taken from data record. | |
195 | .PP | |
196 | Each field descriptor may have an \(aqR\(aq after | |
197 | the \(aq%\(aq to specify that the | |
198 | information is taken from a Romanized version string of the | |
199 | entity. | |
200 | .RE | |
201 | ||
202 | .TP | |
203 | .I country_name | |
204 | followed by the country name in the language of the current document | |
5f7504ef | 205 | (e.g., "Deutschland" for the |
73cb5f18 MK |
206 | .IR de_DE |
207 | locale). | |
208 | .TP | |
209 | .I country_post | |
210 | followed by the abbreviation of the country (see CERT_MAILCODES). | |
211 | .TP | |
212 | .I country_ab2 | |
213 | followed by the two-letter abbreviation of the country (ISO 3166). | |
214 | .TP | |
215 | .I country_ab3 | |
216 | followed by the three-letter abbreviation of the country (ISO 3166). | |
217 | .TP | |
218 | .I country_num | |
f809007b | 219 | followed by the numeric country code as plain numbers (ISO 3166). |
73cb5f18 MK |
220 | .TP |
221 | .I country_car | |
222 | followed by the code for the country car number. | |
223 | .TP | |
224 | .I country_isbn | |
d8826256 | 225 | followed by the ISBN code (for books). |
73cb5f18 MK |
226 | .TP |
227 | .I lang_name | |
228 | followed by the language name in the language of the current document. | |
229 | .TP | |
230 | .I lang_ab | |
231 | followed by the two-letter abbreviation of the language (ISO 639). | |
232 | .TP | |
233 | .I lang_term | |
e6812b0d | 234 | followed by the three-letter abbreviation of the language (ISO 639-2/T). |
73cb5f18 MK |
235 | .TP |
236 | .I lang_lib | |
e6812b0d | 237 | followed by the three-letter abbreviation of the language for library |
c33a8494 MK |
238 | use (ISO 639-2/B). |
239 | Applications should in general prefer | |
e6812b0d MM |
240 | .IR lang_term |
241 | over | |
242 | .IR lang_lib . | |
73cb5f18 MK |
243 | .PP |
244 | The | |
245 | .B LC_ADDRESS | |
246 | definition ends with the string | |
247 | .IR "END LC_ADDRESS" . | |
fea681da | 248 | .SS LC_CTYPE |
5f7504ef | 249 | The definition starts with the string |
b8a2e38e | 250 | .I LC_CTYPE |
fea681da MK |
251 | in the first column. |
252 | ||
c85b9034 | 253 | The following keywords are allowed: |
fea681da MK |
254 | .TP |
255 | .I upper | |
c13182ef MK |
256 | followed by a list of uppercase letters. |
257 | The letters | |
fea681da | 258 | .B A |
b30df7b1 | 259 | through |
fea681da | 260 | .B Z |
c13182ef MK |
261 | are included automatically. |
262 | Characters also specified as | |
fea681da MK |
263 | .BR cntrl , |
264 | .BR digit , | |
265 | .BR punct , | |
266 | or | |
267 | .B space | |
268 | are not allowed. | |
fea681da MK |
269 | .TP |
270 | .I lower | |
c13182ef MK |
271 | followed by a list of lowercase letters. |
272 | The letters | |
fea681da | 273 | .B a |
b878f418 | 274 | through |
fea681da | 275 | .B z |
c13182ef MK |
276 | are included automatically. |
277 | Characters also specified as | |
fea681da MK |
278 | .BR cntrl , |
279 | .BR digit , | |
280 | .BR punct , | |
281 | or | |
282 | .B space | |
283 | are not allowed. | |
fea681da MK |
284 | .TP |
285 | .I alpha | |
c13182ef MK |
286 | followed by a list of letters. |
287 | All character specified as either | |
fea681da | 288 | .B upper |
c13182ef | 289 | or |
fea681da | 290 | .B lower |
c13182ef MK |
291 | are automatically included. |
292 | Characters also specified as | |
fea681da MK |
293 | .BR cntrl , |
294 | .BR digit , | |
295 | .BR punct , | |
296 | or | |
297 | .B space | |
298 | are not allowed. | |
fea681da MK |
299 | .TP |
300 | .I digit | |
c13182ef MK |
301 | followed by the characters classified as numeric digits. |
302 | Only the | |
303 | digits | |
304 | .B 0 | |
b878f418 | 305 | through |
c13182ef MK |
306 | .B 9 |
307 | are allowed. | |
308 | They are included by default in this class. | |
fea681da MK |
309 | .TP |
310 | .I space | |
311 | followed by a list of characters defined as white-space | |
c13182ef MK |
312 | characters. |
313 | Characters also specified as | |
fea681da MK |
314 | .BR upper , |
315 | .BR lower , | |
316 | .BR alpha , | |
317 | .BR digit , | |
318 | .BR graph , | |
319 | or | |
320 | .B xdigit | |
c13182ef MK |
321 | are not allowed. |
322 | The characters | |
fea681da MK |
323 | .BR <space> , |
324 | .BR <form-feed> , | |
325 | .BR <newline> , | |
326 | .BR <carriage-return> , | |
327 | .BR <tab> , | |
328 | and | |
329 | .B <vertical-tab> | |
330 | are automatically included. | |
fea681da MK |
331 | .TP |
332 | .I cntrl | |
333 | followed by a list of control characters. | |
334 | Characters also specified as | |
335 | .BR upper , | |
336 | .BR lower , | |
337 | .BR alpha , | |
338 | .BR digit , | |
339 | .BR punct , | |
340 | .BR graph , | |
341 | .BR print , | |
342 | or | |
343 | .B xdigit | |
344 | are not allowed. | |
345 | .TP | |
346 | .I punct | |
c13182ef MK |
347 | followed by a list of punctuation characters. |
348 | Characters also | |
fea681da MK |
349 | specified as |
350 | .BR upper , | |
351 | .BR lower , | |
352 | .BR alpha , | |
353 | .BR digit , | |
354 | .BR cntrl , | |
355 | .BR xdigit , | |
356 | or the | |
357 | .B <space> | |
358 | character are not allowed. | |
fea681da MK |
359 | .TP |
360 | .I graph | |
361 | followed by a list of printable characters, not including the | |
362 | .B <space> | |
c13182ef MK |
363 | character. |
364 | The characters defined as | |
fea681da MK |
365 | .BR upper , |
366 | .BR lower , | |
367 | .BR alpha , | |
368 | .BR digit , | |
369 | .BR xdigit , | |
370 | and | |
c13182ef | 371 | .B punct |
fea681da MK |
372 | are automatically included. |
373 | Characters also specified as | |
374 | .B cntrl | |
375 | are not allowed. | |
fea681da MK |
376 | .TP |
377 | .I print | |
378 | followed by a list of printable characters, including the | |
379 | .B <space> | |
c13182ef MK |
380 | character. |
381 | The characters defined as | |
fea681da MK |
382 | .BR upper , |
383 | .BR lower , | |
384 | .BR alpha , | |
385 | .BR digit , | |
386 | .BR xdigit , | |
387 | .BR punct , | |
388 | and the | |
389 | .B <space> | |
390 | character are automatically included. | |
391 | Characters also specified as | |
392 | .B cntrl | |
393 | are not allowed. | |
fea681da MK |
394 | .TP |
395 | .I xdigit | |
396 | followed by a list of characters classified as hexadecimal | |
c13182ef MK |
397 | digits. |
398 | The decimal digits must be included followed by one or | |
399 | more set of six characters in ascending order. | |
400 | The following | |
fea681da MK |
401 | characters are included by default: |
402 | .B 0 | |
b878f418 | 403 | through |
fea681da MK |
404 | .BR 9 , |
405 | .B a | |
b878f418 | 406 | through |
fea681da MK |
407 | .BR f , |
408 | .B A | |
b878f418 | 409 | through |
fea681da | 410 | .BR F . |
fea681da MK |
411 | .TP |
412 | .I blank | |
c13182ef | 413 | followed by a list of characters classified as |
fea681da MK |
414 | .BR blank . |
415 | The characters | |
416 | .B <space> | |
c13182ef | 417 | and |
fea681da MK |
418 | .B <tab> |
419 | are automatically included. | |
fea681da | 420 | .TP |
e4bcd971 MM |
421 | .I charclass |
422 | followed by a list of locale-specific character class names | |
423 | which are then to be defined in the locale. | |
424 | .TP | |
fea681da MK |
425 | .I toupper |
426 | followed by a list of mappings from lowercase to uppercase | |
c13182ef MK |
427 | letters. |
428 | Each mapping is a pair of a lowercase and an uppercase letter | |
429 | separated with a | |
fea681da | 430 | .B , |
c13182ef MK |
431 | and enclosed in parentheses. |
432 | The members of the list are separated | |
fea681da MK |
433 | with semicolons. |
434 | .TP | |
435 | .I tolower | |
436 | followed by a list of mappings from uppercase to lowercase | |
c13182ef MK |
437 | letters. |
438 | If the keyword tolower is not present, the reverse of the | |
fea681da | 439 | toupper list is used. |
ae91a0d6 | 440 | .TP |
b3834a45 | 441 | .I map totitle |
f863ce4f MM |
442 | followed by a list of mapping pairs of |
443 | characters and letters | |
444 | to be used in titles (headings). | |
445 | .TP | |
1f4f51b5 MM |
446 | .I class |
447 | followed by a locale-specific character class definition, | |
448 | starting with the class name followed by the characters | |
449 | belonging to the class. | |
450 | .TP | |
ae91a0d6 MM |
451 | .I charconv |
452 | followed by a list of locale-specific character map names | |
453 | which are then to be defined in the locale. | |
89257a53 MM |
454 | .TP |
455 | .I outdigit | |
456 | followed by a list of alternate output digits for the locale. | |
0ef30d8d MM |
457 | .TP |
458 | .I map to_inpunct | |
459 | followed by a list of mapping pairs of | |
460 | alternate digits and separators | |
461 | for input digits for the locale. | |
462 | .TP | |
463 | .I map to_outpunct | |
464 | followed by a list of mapping pairs of | |
465 | alternate separators | |
466 | for output for the locale. | |
4e3b0c16 MM |
467 | .TP |
468 | .I translit_start | |
469 | marks the start of the transliteration rules section. | |
470 | The section can contain the | |
471 | .I include | |
472 | keyword in the beginning followed by | |
35a2f886 | 473 | locale-specific rules and overrides. |
4e3b0c16 MM |
474 | Any rule specified in the locale file |
475 | will override any rule | |
476 | copied or included from other files. | |
477 | In case of duplicate rule definitions in the locale file, | |
478 | only the first rule is used. | |
479 | ||
480 | A transliteration rule consist of a character to be transliterated | |
481 | followed by a list of transliteration targets separated by semicolons. | |
482 | The first target which can be presented in the target character set | |
483 | is used, if none of them can be used the | |
484 | .I default_missing | |
485 | character will be used instead. | |
486 | .TP | |
487 | .I include | |
488 | in the transliteration rules section includes | |
489 | a transliteration rule file | |
b3834a45 | 490 | (and optionally a repertoire map file). |
4e3b0c16 | 491 | .TP |
6077885a MM |
492 | .I default_missing |
493 | in the transliteration rules section | |
494 | defines the default character to be used for | |
495 | transliteration where none of the targets cannot be presented | |
496 | in the target character set. | |
497 | .TP | |
4e3b0c16 MM |
498 | .I translit_end |
499 | marks the end of the transliteration rules. | |
fea681da | 500 | .PP |
c13182ef | 501 | The |
fea681da | 502 | .B LC_CTYPE |
c13182ef | 503 | definition ends with the string |
49b3d955 | 504 | .IR "END LC_CTYPE" . |
fea681da | 505 | .SS LC_COLLATE |
f809007b | 506 | Due to limitations of glibc not all POSIX-options are implemented. |
fea681da MK |
507 | |
508 | The definition starts with the string | |
b8a2e38e | 509 | .I LC_COLLATE |
fea681da MK |
510 | in the first column. |
511 | ||
c85b9034 | 512 | The following keywords are allowed: |
bea08fec | 513 | .\" FIXME The following LC_COLLATE keywords are not documented: |
cc7279ff MM |
514 | .\" reorder-after |
515 | .\" reorder-end | |
516 | .\" reorder-sections-after | |
517 | .\" reorder-sections-end | |
bea08fec MK |
518 | .\" script |
519 | .\" symbol-equivalence | |
fea681da MK |
520 | .TP |
521 | .I collating-element | |
84f36a95 MK |
522 | followed by the definition of a collating-element symbol |
523 | representing a multicharacter collating element. | |
fea681da MK |
524 | .TP |
525 | .I collating-symbol | |
84f36a95 MK |
526 | followed by the definition of a collating symbol |
527 | that can be used in collation order statements. | |
fea681da MK |
528 | .PP |
529 | The order-definition starts with a line: | |
530 | .TP | |
531 | .I order_start | |
c85b9034 | 532 | followed by a list of keywords chosen from |
a5e0a0e4 MK |
533 | .BR forward , |
534 | .BR backward , | |
fea681da | 535 | or |
a5e0a0e4 | 536 | .BR position . |
fea681da MK |
537 | The order definition consists of lines that describe the order |
538 | and is terminated with the keyword | |
a5e0a0e4 | 539 | .IR order_end . |
fea681da | 540 | .PP |
c13182ef | 541 | The |
fea681da | 542 | .B LC_COLLATE |
c13182ef | 543 | definition ends with the string |
74d32233 | 544 | .IR "END LC_COLLATE" . |
25e04747 | 545 | .SS LC_IDENTIFICATION |
25e04747 | 546 | The definition starts with the string |
b8a2e38e | 547 | .I LC_IDENTIFICATION |
25e04747 MK |
548 | in the first column. |
549 | ||
f809007b MM |
550 | The values in this category are defined as plain strings. |
551 | ||
25e04747 MK |
552 | The following keywords are allowed: |
553 | .TP | |
554 | .I title | |
5f7504ef | 555 | followed by the title of the locale document |
25e04747 MK |
556 | (e.g., "Maori language locale for New Zealand"). |
557 | .TP | |
558 | .I source | |
559 | followed by the name of the organization that maintains this document. | |
560 | .TP | |
561 | .I address | |
562 | followed by the address of the organization that maintains this document. | |
563 | .TP | |
564 | .I contact | |
565 | followed by the name of the contact person at | |
566 | the organization that maintains this document. | |
567 | .TP | |
568 | .I email | |
e9f22b0a | 569 | followed by the email address of the person or |
25e04747 MK |
570 | organization that maintains this document. |
571 | .TP | |
572 | .I tel | |
573 | followed by the telephone number (in international format) | |
574 | of the organization that maintains this document. | |
575 | .TP | |
576 | .I fax | |
5f7504ef | 577 | followed by the fax number (in international format) |
25e04747 MK |
578 | of the organization that maintains this document. |
579 | .TP | |
580 | .I language | |
581 | followed by the name of the language to which this document applies. | |
582 | .TP | |
583 | .I territory | |
584 | followed by the name of the country/geographic extent | |
585 | to which this document applies. | |
586 | .TP | |
587 | .I audience | |
588 | followed by a description of the audience for which this document is intended. | |
589 | .TP | |
590 | .I application | |
591 | followed by a description of any special application | |
592 | for which this document is intended. | |
593 | .TP | |
594 | .I abbreviation | |
595 | .\" as far as I can tell... (mtk) | |
596 | followed by the short name for this document. | |
597 | .TP | |
598 | .I revision | |
599 | followed by the revision number of this document. | |
600 | .TP | |
601 | .I date | |
602 | followed by the revision date of this document. | |
603 | .PP | |
604 | In addition, for each of the categories defined by the document, | |
605 | there should be a line starting with the keyword | |
606 | .IR category , | |
607 | followed by: | |
608 | .IP * 3 | |
609 | a string that identifies this locale category definition, | |
610 | .IP * | |
611 | a semicolon, and | |
612 | .IP * | |
613 | one of the | |
5f7504ef | 614 | .BI LC_ * |
25e04747 MK |
615 | identifiers. |
616 | .PP | |
617 | The | |
618 | .B LC_IDENTIFICATION | |
619 | definition ends with the string | |
620 | .IR "END LC_IDENTIFICATION" . | |
8ed1a976 MK |
621 | .SS LC_MESSAGES |
622 | The definition starts with the string | |
b8a2e38e | 623 | .I LC_MESSAGES |
8ed1a976 MK |
624 | in the first column. |
625 | ||
626 | The following keywords are allowed: | |
627 | .TP | |
628 | .I yesexpr | |
629 | followed by a regular expression that describes possible | |
630 | yes-responses. | |
631 | .TP | |
632 | .I noexpr | |
633 | followed by a regular expression that describes possible | |
634 | no-responses. | |
12320325 MK |
635 | .TP |
636 | .I yesstr | |
637 | followed by the output string corresponding to "yes". | |
638 | .TP | |
639 | .I nostr | |
640 | followed by the output string corresponding to "no". | |
8ed1a976 MK |
641 | .PP |
642 | The | |
643 | .B LC_MESSAGES | |
644 | definition ends with the string | |
645 | .IR "END LC_MESSAGES" . | |
586370d8 MK |
646 | .SS LC_MEASUREMENT |
647 | The definition starts with the string | |
b8a2e38e | 648 | .I LC_MEASUREMENT |
586370d8 MK |
649 | in the first column. |
650 | ||
651 | The following keywords are allowed: | |
652 | .TP | |
653 | .I measurement | |
5f7504ef | 654 | followed by number identifying the standard used for measurement. |
586370d8 MK |
655 | The following values are recognized: |
656 | .RS | |
6aeda2ec | 657 | .TP 4 |
586370d8 MK |
658 | .B 1 |
659 | Metric. | |
660 | .TP | |
661 | .B 2 | |
662 | US customary measurements. | |
663 | .RE | |
664 | .PP | |
665 | The | |
666 | .B LC_MEASUREMENT | |
667 | definition ends with the string | |
668 | .IR "END LC_MEASUREMENT" . | |
fea681da MK |
669 | .SS LC_MONETARY |
670 | The definition starts with the string | |
b8a2e38e | 671 | .I LC_MONETARY |
fea681da MK |
672 | in the first column. |
673 | ||
f809007b MM |
674 | Values for |
675 | .IR int_curr_symbol , | |
676 | .IR currency_symbol , | |
677 | .IR mon_decimal_point , | |
678 | .IR mon_thousands_sep , | |
679 | .IR positive_sign , | |
680 | and | |
681 | .IR negative_sign | |
682 | are defined as Unicode code points, the others as plain numbers. | |
683 | ||
ce48c070 | 684 | The following keywords are allowed: |
fea681da MK |
685 | .TP |
686 | .I int_curr_symbol | |
c13182ef MK |
687 | followed by the international currency symbol. |
688 | This must be a | |
fea681da MK |
689 | 4-character string containing the international currency symbol as |
690 | defined by the ISO 4217 standard (three characters) followed by a | |
691 | separator. | |
692 | .TP | |
693 | .I currency_symbol | |
694 | followed by the local currency symbol. | |
695 | .TP | |
696 | .I mon_decimal_point | |
697 | followed by the string that will be used as the decimal delimiter | |
698 | when formatting monetary quantities. | |
699 | .TP | |
700 | .I mon_thousands_sep | |
701 | followed by the string that will be used as a group separator | |
702 | when formatting monetary quantities. | |
703 | .TP | |
704 | .I mon_grouping | |
6699fab5 | 705 | followed by a sequence of integers separated by semicolons that |
244b504c MK |
706 | describe the formatting of monetary quantities. |
707 | See | |
6699fab5 MM |
708 | .I grouping |
709 | below for details. | |
fea681da MK |
710 | .TP |
711 | .I positive_sign | |
712 | followed by a string that is used to indicate a positive sign for | |
713 | monetary quantities. | |
714 | .TP | |
715 | .I negative_sign | |
716 | followed by a string that is used to indicate a negative sign for | |
717 | monetary quantities. | |
718 | .TP | |
719 | .I int_frac_digits | |
720 | followed by the number of fractional digits that should be used when | |
c13182ef | 721 | formatting with the |
aef9ea90 | 722 | .IR int_curr_symbol . |
fea681da MK |
723 | .TP |
724 | .I frac_digits | |
725 | followed by the number of fractional digits that should be used when | |
c13182ef | 726 | formatting with the |
aef9ea90 | 727 | .IR currency_symbol . |
fea681da MK |
728 | .TP |
729 | .I p_cs_precedes | |
8afc6598 | 730 | followed by an integer that indicates the placement of |
fea681da | 731 | .I currency_symbol |
8afc6598 MK |
732 | for a nonnegative formatted monetary quantity: |
733 | .RS | |
6aeda2ec | 734 | .TP 4 |
fea681da | 735 | .B 0 |
8afc6598 MK |
736 | the symbol succeeds the value. |
737 | .TP | |
738 | .B 1 | |
739 | the symbol precedes the value. | |
740 | .RE | |
741 | .TP | |
fea681da | 742 | .I p_sep_by_space |
df31d6a5 MK |
743 | followed by an integer that indicates the separation of |
744 | .IR currency_symbol , | |
745 | the sign string, and the value for a nonnegative formatted monetary quantity. | |
746 | The following values are recognized: | |
fea681da | 747 | .RS |
6aeda2ec | 748 | .TP 4 |
fea681da | 749 | .B 0 |
df31d6a5 | 750 | No space separates the currency symbol and the value. |
fea681da MK |
751 | .TP |
752 | .B 1 | |
df31d6a5 MK |
753 | If the currency symbol and the sign string are adjacent, |
754 | a space separates them from the value; | |
755 | otherwise a space separates the currency symbol and the value. | |
fea681da | 756 | .TP |
c13182ef | 757 | .B 2 |
df31d6a5 MK |
758 | If the currency symbol and the sign string are adjacent, |
759 | a space separates them from the value; | |
760 | otherwise a space separates the sign string and the value. | |
fea681da MK |
761 | .RE |
762 | .TP | |
e4bcd971 MM |
763 | .I n_cs_precedes |
764 | followed by an integer that indicates the placement of | |
765 | .I currency_symbol | |
766 | for a negative formatted monetary quantity. | |
767 | The same values are recognized as for | |
768 | .IR p_cs_precedes . | |
769 | .TP | |
fea681da | 770 | .I n_sep_by_space |
d2a92628 MK |
771 | followed by an integer that indicates the separation of |
772 | .IR currency_symbol , | |
49b3d955 | 773 | the sign string, and the value for a negative formatted monetary quantity. |
d2a92628 MK |
774 | The same values are recognized as for |
775 | .IR p_sep_by_space . | |
fea681da MK |
776 | .TP |
777 | .I p_sign_posn | |
0a5c57f9 MK |
778 | followed by an integer that indicates where the |
779 | .I positive_sign | |
780 | should be placed for a nonnegative monetary quantity: | |
fea681da | 781 | .RS |
6aeda2ec | 782 | .TP 4 |
fea681da | 783 | .B 0 |
c13182ef | 784 | Parentheses enclose the quantity and the |
fea681da MK |
785 | .I currency_symbol |
786 | or | |
a5e0a0e4 | 787 | .IR int_curr_symbol . |
fea681da MK |
788 | .TP |
789 | .B 1 | |
790 | The sign string precedes the quantity and the | |
791 | .I currency_symbol | |
792 | or the | |
a5e0a0e4 | 793 | .IR int_curr_symbol . |
fea681da MK |
794 | .TP |
795 | .B 2 | |
796 | The sign string succeeds the quantity and the | |
797 | .I currency_symbol | |
798 | or the | |
a5e0a0e4 | 799 | .IR int_curr_symbol . |
fea681da MK |
800 | .TP |
801 | .B 3 | |
802 | The sign string precedes the | |
803 | .I currency_symbol | |
804 | or the | |
a5e0a0e4 | 805 | .IR int_curr_symbol . |
fea681da MK |
806 | .TP |
807 | .B 4 | |
808 | The sign string succeeds the | |
809 | .I currency_symbol | |
810 | or the | |
a5e0a0e4 | 811 | .IR int_curr_symbol . |
fea681da MK |
812 | .RE |
813 | .TP | |
814 | .I n_sign_posn | |
0a5c57f9 MK |
815 | followed by an integer that indicates where the |
816 | .I negative_sign | |
817 | should be placed for a negative monetary quantity. | |
548fe9a5 MK |
818 | The same values are recognized as for |
819 | .IR p_sign_posn . | |
820 | .TP | |
e4bcd971 MM |
821 | .I int_p_cs_precedes |
822 | followed by an integer that indicates the placement of | |
823 | .I int_currency_symbol | |
824 | for a nonnegative internationally formatted monetary quantity. | |
825 | The same values are recognized as for | |
826 | .IR p_cs_precedes . | |
827 | .TP | |
828 | .I int_n_cs_precedes | |
829 | followed by an integer that indicates the placement of | |
830 | .I int_currency_symbol | |
831 | for a negative internationally formatted monetary quantity. | |
832 | The same values are recognized as for | |
833 | .IR p_cs_precedes . | |
834 | .TP | |
835 | .I int_p_sep_by_space | |
836 | followed by an integer that indicates the separation of | |
837 | .IR int_currency_symbol , | |
838 | the sign string, | |
839 | and the value for a nonnegative internationally formatted monetary quantity. | |
840 | The same values are recognized as for | |
841 | .IR p_sep_by_space . | |
842 | .TP | |
843 | .I int_n_sep_by_space | |
844 | followed by an integer that indicates the separation of | |
845 | .IR int_currency_symbol , | |
846 | the sign string, | |
847 | and the value for a negative internationally formatted monetary quantity. | |
848 | The same values are recognized as for | |
849 | .IR p_sep_by_space . | |
850 | .TP | |
548fe9a5 MK |
851 | .I int_p_sign_posn |
852 | followed by an integer that indicates where the | |
6ba56b5c | 853 | .I positive_sign |
548fe9a5 MK |
854 | should be placed for a nonnegative |
855 | internationally formatted monetary quantity. | |
856 | The same values are recognized as for | |
857 | .IR p_sign_posn . | |
858 | .TP | |
859 | .I int_n_sign_posn | |
860 | followed by an integer that indicates where the | |
861 | .I negative_sign | |
862 | should be placed for a negative | |
863 | internationally formatted monetary quantity. | |
864 | The same values are recognized as for | |
0a5c57f9 | 865 | .IR p_sign_posn . |
fea681da | 866 | .PP |
c13182ef | 867 | The |
fea681da | 868 | .B LC_MONETARY |
c13182ef | 869 | definition ends with the string |
74d32233 | 870 | .IR "END LC_MONETARY" . |
929e0bf7 MK |
871 | .SS LC_NAME |
872 | The definition starts with the string | |
b8a2e38e | 873 | .I LC_NAME |
929e0bf7 MK |
874 | in the first column. |
875 | ||
c33a8494 | 876 | Various keywords are allowed, but only |
b5d4168a | 877 | .IR name_fmt |
c33a8494 | 878 | is mandatory. |
ee2d3ed6 | 879 | Other keywords are needed only if there is common convention to |
c33a8494 MK |
880 | use the corresponding salutation in this locale. |
881 | The allowed keywords are as follows: | |
929e0bf7 MK |
882 | .TP |
883 | .I name_fmt | |
884 | followed by a string containing field descriptors that define | |
885 | the format used for names in the locale. | |
886 | The following field descriptors are recognized: | |
887 | .\" From localedata/locales/uk_UA: | |
888 | .RS | |
6aeda2ec | 889 | .TP 4 |
929e0bf7 MK |
890 | %f |
891 | Family name(s). | |
892 | .TP | |
893 | %F | |
894 | Family names in uppercase. | |
895 | .TP | |
896 | %g | |
897 | First given name. | |
898 | .TP | |
899 | %G | |
900 | First given initial. | |
901 | .TP | |
902 | %l | |
903 | First given name with Latin letters. | |
904 | .TP | |
905 | %o | |
906 | Other shorter name. | |
907 | .TP | |
908 | %m | |
909 | Additional given name(s). | |
910 | .TP | |
911 | %M | |
912 | Initials for additional given name(s). | |
913 | .TP | |
914 | %p | |
915 | Profession. | |
916 | .TP | |
917 | %s | |
918 | Salutation, such as "Doctor". | |
919 | .TP | |
920 | %S | |
921 | Abbreviated salutation, such as "Mr." or "Dr.". | |
922 | .TP | |
923 | %d | |
924 | Salutation, using the FDCC-sets conventions. | |
925 | .\" 1 for the name_gen | |
926 | .\" In glibc 2.19, %d1 is used in only: | |
927 | .\" /home/mtk/ARCHIVE/GLIBC/glibc-2.19/localedata/locales/bem_ZM | |
928 | .\" /home/mtk/ARCHIVE/GLIBC/glibc-2.19/localedata/locales/zh_HK | |
929 | .\" In glibc 2.19, %d[2-5] appear to be not used at all | |
930 | .\" 2 for name_mr | |
931 | .\" 3 for name_mrs | |
932 | .\" 4 for name_miss | |
933 | .\" 5 for name_ms | |
934 | .TP | |
935 | %t | |
936 | If the preceding field descriptor resulted in an empty string, | |
937 | then the empty string, otherwise a space character. | |
938 | .RE | |
939 | .TP | |
940 | .I name_gen | |
941 | followed by the general salutation for any gender. | |
942 | .TP | |
943 | .I name_mr | |
944 | followed by the salutation for men. | |
945 | .TP | |
946 | .I name_mrs | |
947 | followed by the salutation for married women. | |
948 | .TP | |
949 | .I name_miss | |
950 | followed by the salutation for unmarried women. | |
951 | .TP | |
952 | .I name_ms | |
953 | followed by the salutation valid for all women. | |
954 | .PP | |
955 | The | |
956 | .B LC_NAME | |
957 | definition ends with the string | |
958 | .IR "END LC_NAME" . | |
fea681da MK |
959 | .SS LC_NUMERIC |
960 | The definition starts with the string | |
b8a2e38e | 961 | .I LC_NUMERIC |
fea681da MK |
962 | in the first column. |
963 | ||
964 | The following keywords are allowed: | |
fea681da MK |
965 | .TP |
966 | .I decimal_point | |
967 | followed by the string that will be used as the decimal delimiter | |
968 | when formatting numeric quantities. | |
969 | .TP | |
970 | .I thousands_sep | |
971 | followed by the string that will be used as a group separator | |
972 | when formatting numeric quantities. | |
973 | .TP | |
974 | .I grouping | |
360d3116 | 975 | followed by a sequence of integers as plain numbers separated by |
f809007b | 976 | semicolons that describe the formatting of numeric quantities. |
244b504c MK |
977 | .IP |
978 | Each integer specifies the number of digits in a group. | |
979 | The first integer defines the size of the group immediately | |
980 | to the left of the decimal delimiter. | |
981 | Subsequent integers define succeeding groups to the | |
982 | left of the previous group. | |
983 | If the last integer is not \-1, then the size of the previous group | |
984 | (if any) is repeatedly used for the remainder of the digits. | |
985 | If the last integer is \-1, then no further grouping is performed. | |
fea681da | 986 | .PP |
c13182ef | 987 | The |
fea681da | 988 | .B LC_NUMERIC |
c13182ef | 989 | definition ends with the string |
74d32233 | 990 | .IR "END LC_NUMERIC" . |
54095c2c MK |
991 | .SS LC_PAPER |
992 | The definition starts with the string | |
b8a2e38e | 993 | .I LC_PAPER |
54095c2c MK |
994 | in the first column. |
995 | ||
f809007b MM |
996 | Values in this category are defined as plain numbers. |
997 | ||
54095c2c MK |
998 | The following keywords are allowed: |
999 | .TP | |
1000 | .I height | |
1001 | followed by the height, in millimeters, of the standard paper format. | |
1002 | .TP | |
1003 | .I width | |
1004 | followed by the width, in millimeters, of the standard paper format. | |
1005 | .PP | |
1006 | The | |
1007 | .B LC_PAPER | |
1008 | definition ends with the string | |
1009 | .IR "END LC_PAPER" . | |
86c4fcad MK |
1010 | .SS LC_TELEPHONE |
1011 | The definition starts with the string | |
b8a2e38e | 1012 | .I LC_TELEPHONE |
86c4fcad MK |
1013 | in the first column. |
1014 | ||
1015 | The following keywords are allowed: | |
1016 | .TP | |
1017 | .I tel_int_fmt | |
1018 | followed by a string that contains field descriptors that identify | |
1019 | the format used to dial international numbers. | |
1020 | The following field descriptors are recognized: | |
1021 | .\" From localedata/locales/uk_UA | |
1022 | .RS | |
6aeda2ec | 1023 | .TP 4 |
86c4fcad | 1024 | %a |
5f7504ef | 1025 | Area code without nationwide prefix (the prefix is often "00"). |
86c4fcad MK |
1026 | .TP |
1027 | %A | |
1028 | Area code including nationwide prefix. | |
1029 | .TP | |
1030 | %l | |
1031 | Local number (within area code). | |
1032 | .TP | |
1033 | %e | |
1034 | Extension (to local number). | |
1035 | .TP | |
1036 | %c | |
1037 | Country code. | |
1038 | .TP | |
1039 | %C | |
5f7504ef | 1040 | Alternate carrier service code used for dialing abroad. |
86c4fcad MK |
1041 | .TP |
1042 | %t | |
1043 | If the preceding field descriptor resulted in an empty string, | |
1044 | then the empty string, otherwise a space character. | |
1045 | .RE | |
1046 | .TP | |
1047 | .I tel_dom_fmt | |
1048 | followed by a string that contains field descriptors that identify | |
1049 | the format used to dial domestic numbers. | |
5f7504ef | 1050 | The recognized field descriptors are the same as for |
86c4fcad MK |
1051 | .IR tel_int_fmt . |
1052 | .TP | |
1053 | .I int_select | |
1054 | followed by the prefix used to call international phone numbers. | |
1055 | .TP | |
1056 | .I int_prefix | |
1057 | followed by the prefix used from other countries to dial this country. | |
1058 | .PP | |
1059 | The | |
1060 | .B LC_TELEPHONE | |
1061 | definition ends with the string | |
1062 | .IR "END LC_TELEPHONE" . | |
fea681da MK |
1063 | .SS LC_TIME |
1064 | The definition starts with the string | |
b8a2e38e | 1065 | .I LC_TIME |
fea681da MK |
1066 | in the first column. |
1067 | ||
1068 | The following keywords are allowed: | |
bea08fec MK |
1069 | .\" FIXME The following LC_TIME keywords are not documented: |
1070 | .\" era | |
1071 | .\" era_d_fmt | |
1072 | .\" era_d_t_fmt | |
1073 | .\" era_t_fmt | |
fea681da MK |
1074 | .TP |
1075 | .I abday | |
b458e1bf | 1076 | followed by a list of abbreviated names of the days of the week. |
33af8501 MK |
1077 | The list starts with the first day of the week |
1078 | as specified by | |
1079 | .I week | |
ee565781 MK |
1080 | (Sunday by default). |
1081 | See NOTES. | |
fea681da MK |
1082 | .TP |
1083 | .I day | |
b458e1bf | 1084 | followed by a list of names of the days of the week. |
33af8501 MK |
1085 | The list starts with the first day of the week |
1086 | as specified by | |
1087 | .I week | |
ee565781 MK |
1088 | (Sunday by default). |
1089 | See NOTES. | |
fea681da MK |
1090 | .TP |
1091 | .I abmon | |
1092 | followed by a list of abbreviated month names. | |
1093 | .TP | |
1094 | .I mon | |
1095 | followed by a list of month names. | |
1096 | .TP | |
fea681da | 1097 | .I d_t_fmt |
ea7208a6 MM |
1098 | followed by the appropriate date and time format |
1099 | (for syntax, see | |
1100 | .BR strftime ()). | |
fea681da MK |
1101 | .TP |
1102 | .I d_fmt | |
ea7208a6 MM |
1103 | followed by the appropriate date format |
1104 | (for syntax, see | |
1105 | .BR strftime ()). | |
fea681da MK |
1106 | .TP |
1107 | .I t_fmt | |
ea7208a6 MM |
1108 | followed by the appropriate time format |
1109 | (for syntax, see | |
1110 | .BR strftime ()). | |
fea681da | 1111 | .TP |
e4bcd971 MM |
1112 | .I am_pm |
1113 | followed by the appropriate representation of the | |
1114 | .B am | |
1115 | and | |
1116 | .B pm | |
1117 | strings. | |
1118 | This should be left empty for locales not using AM/PM convention. | |
1119 | .TP | |
fea681da | 1120 | .I t_fmt_ampm |
ea7208a6 MM |
1121 | followed by the appropriate time format |
1122 | (for syntax, see | |
1123 | .BR strftime ()) | |
1124 | when using 12h clock format. | |
0c2dbad1 | 1125 | This should be left empty for locales not using AM/PM convention. |
33af8501 | 1126 | .TP |
e4bcd971 MM |
1127 | .I alt_digits |
1128 | followed by the alternative digits used for date and time in the locale. | |
1129 | .TP | |
33af8501 | 1130 | .I week |
f809007b | 1131 | followed by a list of three values as plain numbers: |
33af8501 MK |
1132 | The number of days in a week (by default 7), |
1133 | a date of beginning of the week (by default corresponds to Sunday), | |
1134 | and the minimal length of the first week in year (by default 4). | |
1135 | Regarding the start of the week, | |
1136 | .B 19971130 | |
1137 | shall be used for Sunday and | |
1138 | .B 19971201 | |
67da5267 | 1139 | shall be used for Monday. |
756f4b97 | 1140 | See NOTES. |
33af8501 MK |
1141 | .TP |
1142 | .IR first_weekday " (since glibc 2.2)" | |
2f41dcab | 1143 | followed by the number of the first day from the |
33af8501 MK |
1144 | .I day |
1145 | list to be shown in calendar applications. | |
1146 | The default value of | |
1147 | .B 1 | |
f809007b | 1148 | (plain number) corresponds to either Sunday or Monday depending |
33af8501 MK |
1149 | on the value of the second |
1150 | .I week | |
ee565781 MK |
1151 | list item. |
1152 | See NOTES. | |
33af8501 MK |
1153 | .TP |
1154 | .IR first_workday " (since glibc 2.2)" | |
2f41dcab | 1155 | followed by the number of the first working day from the |
33af8501 MK |
1156 | .I day |
1157 | list. | |
71ad8cf0 | 1158 | The default value is |
360d3116 | 1159 | .BR 2 |
f809007b | 1160 | (plain number). |
756f4b97 | 1161 | See NOTES. |
d96eca4d MK |
1162 | .TP |
1163 | .I cal_direction | |
1164 | .\" from localedata/locales/uk_UA | |
f809007b | 1165 | followed by a plain number value that indicates the direction for the |
d96eca4d MK |
1166 | display of calendar dates, as follows: |
1167 | .RS | |
6aeda2ec | 1168 | .TP 4 |
5f7504ef DP |
1169 | .B 1 |
1170 | Left-right from top. | |
d96eca4d | 1171 | .TP |
5f7504ef DP |
1172 | .B 2 |
1173 | Top-down from left. | |
d96eca4d | 1174 | .TP |
5f7504ef DP |
1175 | .B 3 |
1176 | Right-left from top. | |
d96eca4d MK |
1177 | .RE |
1178 | .TP | |
1179 | .I date_fmt | |
d96eca4d | 1180 | followed by the appropriate date representation for |
ea7208a6 MM |
1181 | .BR date (1) |
1182 | (for syntax, see | |
1183 | .BR strftime ()). | |
fea681da | 1184 | .PP |
c13182ef | 1185 | The |
fea681da | 1186 | .B LC_TIME |
c13182ef | 1187 | definition ends with the string |
74d32233 | 1188 | .IR "END LC_TIME" . |
fea681da | 1189 | .SH FILES |
11faa348 MM |
1190 | .TP |
1191 | .I /usr/lib/locale/locale-archive | |
1192 | Usual default locale archive location. | |
1193 | .TP | |
1194 | .I /usr/share/i18n/locales | |
1195 | Usual default path for locale definition files. | |
47297adb | 1196 | .SH CONFORMING TO |
5fc5fff3 | 1197 | POSIX.2, ISO/IEC TR 14652. |
756f4b97 MM |
1198 | .SH NOTES |
1199 | The collective GNU C library community wisdom regarding | |
95c24117 | 1200 | .IR abday , |
756f4b97 MM |
1201 | .IR day , |
1202 | .IR week , | |
95c24117 | 1203 | .IR first_weekday , |
756f4b97 | 1204 | and |
95c24117 | 1205 | .I first_workday |
756f4b97 MM |
1206 | states at |
1207 | https://sourceware.org/glibc/wiki/Locales | |
1208 | the following: | |
956088f4 | 1209 | .IP * 3 |
756f4b97 MM |
1210 | The value of the second |
1211 | .I week | |
1212 | list item specifies the base of the | |
95c24117 MM |
1213 | .I abday |
1214 | and | |
756f4b97 | 1215 | .I day |
95c24117 | 1216 | lists. |
956088f4 | 1217 | .IP * |
756f4b97 MM |
1218 | .I first_weekday |
1219 | specifies the offset of the first day-of-week in the | |
95c24117 MM |
1220 | .I abday |
1221 | and | |
756f4b97 | 1222 | .I day |
95c24117 | 1223 | lists. |
956088f4 | 1224 | .IP * |
756f4b97 MM |
1225 | For compatibility reasons, all glibc locales should set the value of the |
1226 | second | |
1227 | .I week | |
1228 | list item to | |
1229 | .B 19971130 | |
1230 | (Sunday) and base the | |
95c24117 MM |
1231 | .I abday |
1232 | and | |
756f4b97 | 1233 | .I day |
95c24117 | 1234 | lists appropriately, and set |
756f4b97 | 1235 | .I first_weekday |
f809007b MM |
1236 | and |
1237 | .I first_workday | |
756f4b97 MM |
1238 | to |
1239 | .B 1 | |
1240 | or | |
1241 | .BR 2 , | |
f809007b MM |
1242 | depending on whether the week and work week actually starts on Sunday or |
1243 | Monday for the locale. | |
fea681da | 1244 | .SH BUGS |
23618627 | 1245 | This manual page isn't complete. |
fea681da MK |
1246 | .\" .SH AUTHOR |
1247 | .\" Jochen Hein (Hein@Student.TU-Clausthal.de) | |
47297adb | 1248 | .SH SEE ALSO |
3dc4e840 | 1249 | .BR iconv (1), |
fea681da MK |
1250 | .BR locale (1), |
1251 | .BR localedef (1), | |
1252 | .BR localeconv (3), | |
b4bde2e0 | 1253 | .BR newlocale (3), |
fea681da | 1254 | .BR setlocale (3), |
ea7208a6 | 1255 | .BR strftime (3), |
b4bde2e0 | 1256 | .BR uselocale (3), |
aa99bf8a | 1257 | .BR charmap (5), |
0c2dbad1 MM |
1258 | .BR charsets (7), |
1259 | .BR locale (7), | |
1260 | .BR unicode (7), | |
1261 | .BR utf-8 (7) |