1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
|
comment_char %
escape_char /
% This file is part of the GNU C Library and contains locale data.
% The Free Software Foundation does not claim any copyright interest
% in the locale data contained in this file. The foregoing does not
% affect the license of the GNU C Library as a whole. It does not
% exempt you from the conditions of the license if your use would
% otherwise be governed by that license.
% Kannada language locale for India.
% Copied fron hi_IN one, G Karunakar <karunakar@freedomink.org> . Kannada Translations by Arun Sharma <arun@sharma-home.net>
% *** Below just modify to suit your language. I have modified for Kannada
% *** other language codes - Gujarati - gu, Punjabi - pa, Oriya - or
LC_IDENTIFICATION
title "Kannada language locale for India"
source "IndLinux.org"
address ""
contact ""
email "bug-glibc-locales@gnu.org"
tel ""
fax ""
language "Kannada"
territory "India"
revision "0.1"
date "2002-11-28"
category "i18n:2012";LC_IDENTIFICATION
category "i18n:2012";LC_CTYPE
category "i18n:2012";LC_COLLATE
category "i18n:2012";LC_TIME
category "i18n:2012";LC_NUMERIC
category "i18n:2012";LC_MONETARY
category "i18n:2012";LC_MESSAGES
category "i18n:2012";LC_PAPER
category "i18n:2012";LC_NAME
category "i18n:2012";LC_ADDRESS
category "i18n:2012";LC_TELEPHONE
category "i18n:2012";LC_MEASUREMENT
END LC_IDENTIFICATION
LC_CTYPE
copy "i18n"
% Kannada uses the alternate digits U+0CE6..U+0CEF
outdigit <U0CE6>..<U0CEF>
% This is used in the scanf family of functions to read Kannada numbers
% using "%Id" and such.
map to_inpunct; /
(<U0030>,<U0CE6>); /
(<U0031>,<U0CE7>); /
(<U0032>,<U0CE8>); /
(<U0033>,<U0CE9>); /
(<U0034>,<U0CEA>); /
(<U0035>,<U0CEB>); /
(<U0036>,<U0CEC>); /
(<U0037>,<U0CED>); /
(<U0038>,<U0CEE>); /
(<U0039>,<U0CEF>);
translit_start
include "translit_combining";""
translit_end
END LC_CTYPE
LC_COLLATE
% Copy the template from ISO/IEC 14651
copy "iso14651_t1"
END LC_COLLATE
LC_MONETARY
copy "hi_IN"
END LC_MONETARY
LC_NUMERIC
copy "hi_IN"
END LC_NUMERIC
% *** Modify them for Kannada - eg write down on paper - see what all unicode
% *** characters are needed, look up their codes & put them here - Kannada
LC_TIME
% This is the POSIX Locale definition for the LC_TIME category.
% These are generated based on XML base Locale definition file
% for IBM Class for Unicode/Java
%
% Abbreviated weekday names (%a)
abday "ರ";/
"ಸೋ";/
"ಮಂ";/
"ಬು";/
"ಗು";/
"ಶು";/
"ಶ"
%
% Full weekday names (%A)
day "ರವಿವಾರ";/
"ಸೋಮವಾರ";/
"ಮಂಗಳವಾರ";/
"ಬುಧವಾರ";/
"ಗುರುವಾರ";/
"ಶುಕ್ರವಾರ";/
"ಶನಿವಾರ"
%
% Abbreviated month names (%b)
abmon "ಜನ";/
"ಫೆಬ್ರ";/
"ಮಾರ್ಚ್";/
"ಏಪ್ರಿ";/
"ಮೇ";/
"ಜೂನ್";/
"ಜುಲೈ";/
"ಆ";/
"ಸೆಪ್ಟೆಂ";/
"ಅಕ್ಟೋ";/
"ನವೆಂ";/
"ಡಿಸೆಂ"
%
% Full month names (%B)
mon "ಜನವರಿ";/
"ಫೆಬ್ರವರಿ";/
"ಮಾರ್ಚ್";/
"ಏಪ್ರಿಲ್";/
"ಮೇ";/
"ಜೂನ್";/
"ಜುಲೈ";/
"ಆಗಸ್ಟ್";/
"ಸೆಪ್ಟೆಂಬರ್";/
"ಅಕ್ಟೋಬರ್";/
"ನವೆಂಬರ್";/
"ಡಿಸೆಂಬರ್"
%
% Equivalent of AM PM
am_pm "ಪೂರ್ವಾಹ್ನ";/
"ಅಪರಾಹ್ನ"
% *** There arent any Devanagari characters below, so for time being
% *** maintain same for Kannada also, Karunakar
%
% Appropriate date and time representation
d_t_fmt "%A %d %b %Y %I:%M:%S %p"
%
% Appropriate date and time representation for date(1)
date_fmt "%A %d %b %Y %I:%M:%S %p %Z"
%
% Appropriate date representation
d_fmt "%-d//%-m//%y"
%
% Appropriate time representation
t_fmt "%I:%M:%S %p %Z"
%
% Appropriate 12 h time representation (%r)
t_fmt_ampm "%I:%M:%S %p %Z"
week 7;19971130;1
END LC_TIME
LC_MESSAGES
yesexpr "^[+1yYಹ]"
noexpr "^[-0nNಇ]"
yesstr "ಹೌದು"
nostr "ಇಲ್ಲ"
END LC_MESSAGES
LC_PAPER
copy "hi_IN"
END LC_PAPER
LC_NAME
% This is the ISO_IEC TR14652 Locale definition for the
% LC_NAME category.
%
name_fmt "%p%t%f%t%g"
name_gen ""
name_mr "Mr."
name_mrs "Mrs."
name_miss "Miss."
name_ms "Ms."
END LC_NAME
LC_ADDRESS
% This is the ISO_IEC TR14652 Locale definition for the
% LC_ADDRESS
postal_fmt "%z%c%T%s%b%e%r"
country_name "ಭಾರತ"
country_ab2 "IN"
country_ab3 "IND"
country_num 356
country_car "IND"
lang_name "ಕನ್ನಡ"
lang_ab "kn"
lang_term "kan"
lang_lib "kan"
END LC_ADDRESS
LC_TELEPHONE
copy "hi_IN"
END LC_TELEPHONE
LC_MEASUREMENT
copy "hi_IN"
END LC_MEASUREMENT
|