initial commit
[glibc.git] / localedata / locales / C
1 escape_char /
2 comment_char %
3 % Locale for C locale in UTF-8
4
5 LC_IDENTIFICATION
6 title "C locale"
7 source ""
8 address ""
9 contact ""
10 email "bug-glibc-locales@gnu.org"
11 tel ""
12 fax ""
13 language ""
14 territory ""
15 revision "2.1"
16 date "2022-01-30"
17 category "i18n:2012";LC_IDENTIFICATION
18 category "i18n:2012";LC_CTYPE
19 category "i18n:2012";LC_COLLATE
20 category "i18n:2012";LC_TIME
21 category "i18n:2012";LC_NUMERIC
22 category "i18n:2012";LC_MONETARY
23 category "i18n:2012";LC_MESSAGES
24 category "i18n:2012";LC_PAPER
25 category "i18n:2012";LC_NAME
26 category "i18n:2012";LC_ADDRESS
27 category "i18n:2012";LC_TELEPHONE
28 category "i18n:2012";LC_MEASUREMENT
29 END LC_IDENTIFICATION
30
31 LC_CTYPE
32 % Include only the i18n character type classes without any of the
33 % transliteration that i18n uses by default.
34 copy "i18n_ctype"
35
36 % Include the neutral transliterations. The builtin C and
37 % POSIX locales have +1600 transliterations that are built into
38 % the locales, and these are a superset of those.
39 translit_start
40 include "translit_neutral";""
41 % We must use '?' for default_missing because the transliteration
42 % framework includes it directly into the output and so it must
43 % be compatible with ASCII if that is the target character set.
44 default_missing <U003F>
45 translit_end
46
47 % Include the transliterations that can convert combined characters.
48 % These are generally expected by users.
49 translit_start
50 include "translit_combining";""
51 translit_end
52
53 END LC_CTYPE
54
55 LC_COLLATE
56 % The keyword 'codepoint_collation' in any part of any LC_COLLATE
57 % immediately discards all collation information and causes the
58 % locale to use strcmp/wcscmp for collation comparison. This is
59 % exactly what is needed for C (ASCII) or C.UTF-8.
60 codepoint_collation
61 END LC_COLLATE
62
63 LC_MONETARY
64
65 % This is the 14652 i18n fdcc-set definition for the LC_MONETARY
66 % category (except for the int_curr_symbol and currency_symbol, they are
67 % empty in the 14652 i18n fdcc-set definition and also empty in
68 % glibc/locale/C-monetary.c.).
69 int_curr_symbol ""
70 currency_symbol ""
71 mon_decimal_point ""
72 mon_thousands_sep ""
73 mon_grouping -1
74 positive_sign ""
75 negative_sign ""
76 int_frac_digits -1
77 frac_digits -1
78 p_cs_precedes -1
79 int_p_sep_by_space -1
80 p_sep_by_space -1
81 n_cs_precedes -1
82 int_n_sep_by_space -1
83 n_sep_by_space -1
84 p_sign_posn -1
85 n_sign_posn -1
86 %
87 END LC_MONETARY
88
89 LC_NUMERIC
90 % This is the POSIX Locale definition for
91 % the LC_NUMERIC category.
92 %
93 decimal_point "."
94 thousands_sep ""
95 grouping -1
96 END LC_NUMERIC
97
98 LC_TIME
99 % This is the POSIX Locale definition for the LC_TIME category with the
100 % exception that time is per ISO 8601 and 24-hour.
101 %
102 % Abbreviated weekday names (%a)
103 abday "Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat"
104
105 % Full weekday names (%A)
106 day "Sunday";"Monday";"Tuesday";"Wednesday";"Thursday";/
107 "Friday";"Saturday"
108
109 % Abbreviated month names (%b)
110 abmon "Jan";"Feb";"Mar";"Apr";"May";"Jun";"Jul";"Aug";"Sep";/
111 "Oct";"Nov";"Dec"
112
113 % Full month names (%B)
114 mon "January";"February";"March";"April";"May";"June";"July";/
115 "August";"September";"October";"November";"December"
116
117 % Week description, consists of three fields:
118 % 1. Number of days in a week.
119 % 2. Gregorian date that is a first weekday (19971130 for Sunday, 19971201 for Monday).
120 % 3. The weekday number to be contained in the first week of the year.
121 %
122 % ISO 8601 conforming applications should use the values 7, 19971201 (a
123 % Monday), and 4 (Thursday), respectively.
124 %
125 % This field is consciously aligned with the builtin C/POSIX locale.
126 week 7;19971130;4
127 first_weekday 1
128 first_workday 2
129
130 % Appropriate date and time representation (%c)
131 d_t_fmt "%a %b %e %H:%M:%S %Y"
132
133 % Appropriate date representation (%x)
134 d_fmt "%m//%d//%y"
135
136 % Appropriate time representation (%X)
137 t_fmt "%H:%M:%S"
138
139 % Appropriate AM/PM time representation (%r)
140 t_fmt_ampm "%I:%M:%S %p"
141
142 % Equivalent of AM/PM (%p)
143 am_pm "AM";"PM"
144
145 % Appropriate date representation (date(1))
146 date_fmt "%a %b %e %H:%M:%S %Z %Y"
147 END LC_TIME
148
149 LC_MESSAGES
150 % This is the POSIX Locale definition for
151 % the LC_NUMERIC category.
152 %
153 yesexpr "^[yY]"
154 noexpr "^[nN]"
155 yesstr ""
156 nostr ""
157 END LC_MESSAGES
158
159 LC_PAPER
160 % This is the ISO/IEC 14652 "i18n" definition for
161 % the LC_PAPER category.
162 % (A4 paper, this is also used in the built in C/POSIX
163 % locale in glibc/locale/C-paper.c)
164 height 297
165 width 210
166 END LC_PAPER
167
168 LC_NAME
169 % This is the ISO/IEC 14652 "i18n" definition for
170 % the LC_NAME category.
171 % (also used in the built in C/POSIX locale in glibc/locale/C-name.c)
172 name_fmt "%p%t%g%t%m%t%f"
173 END LC_NAME
174
175 LC_ADDRESS
176 % This is the ISO/IEC 14652 "i18n" definition for
177 % the LC_ADDRESS category.
178 % (also used in the built in C/POSIX locale in glibc/locale/C-address.c)
179 postal_fmt "%a%N%f%N%d%N%b%N%s %h %e %r%N%C-%z %T%N%c%N"
180 % The abbreviated 2 char and 3 char should be set to empty strings to
181 % match the C/POSIX locale.
182 country_ab2 ""
183 country_ab3 ""
184 END LC_ADDRESS
185
186 LC_TELEPHONE
187 % This is the ISO/IEC 14652 "i18n" definition for
188 % the LC_TELEPHONE category.
189 % "+%c %a %l"
190 tel_int_fmt "+%c %a %l"
191 % (also used in the built in C/POSIX locale in glibc/locale/C-telephone.c)
192 END LC_TELEPHONE
193
194 LC_MEASUREMENT
195 % This is the ISO/IEC 14652 "i18n" definition for
196 % the LC_MEASUREMENT category.
197 % (same as in the built in C/POSIX locale in glibc/locale/C-measurement.c)
198 %metric
199 measurement 1
200 END LC_MEASUREMENT