source: trunk/gsdl/perllib/iso639.pm@ 14071

Last change on this file since 14071 was 14071, checked in by nzdl, 14 years ago

Corrected the misspelling of Telugu

  • Property svn:keywords set to Author Date Id Revision
File size: 7.4 KB
Line 
1# mapping to and from iso 639 two letter language symbols
2
3package iso639;
4
5%fromiso639 = (
6 'aa' => 'Afar',
7 'ab' => 'Abkhazian',
8 'af' => 'Afrikaans',
9 'am' => 'Amharic',
10 'ar' => 'Arabic',
11 'as' => 'Assamese',
12 'ay' => 'Aymara',
13 'az' => 'Azerbaijani',
14
15 'ba' => 'Bashkir',
16 'be' => 'Byelorussian',
17 'bg' => 'Bulgarian',
18 'bh' => 'Bihari',
19 'bi' => 'Bislama',
20 'bn' => 'Bengali; Bangla',
21 'bo' => 'Tibetan',
22 'br' => 'Breton',
23
24 'ca' => 'Catalan',
25 'co' => 'Corsican',
26 'cs' => 'Czech',
27 'cy' => 'Welsh',
28
29 'da' => 'Danish',
30 'de' => 'German',
31 'dz' => 'Bhutani',
32
33 'el' => 'Greek',
34 'en' => 'English',
35 'eo' => 'Esperanto',
36 'es' => 'Spanish',
37 'et' => 'Estonian',
38 'eu' => 'Basque',
39
40 'fa' => 'Persian',
41 'fi' => 'Finnish',
42 'fj' => 'Fiji',
43 'fo' => 'Faroese',
44 'fr' => 'French',
45 'fy' => 'Frisian',
46
47 'ga' => 'Irish',
48 'gd' => 'Scots Gaelic',
49 'gl' => 'Galician',
50 'gn' => 'Guarani',
51 'gu' => 'Gujarati',
52
53 'ha' => 'Hausa',
54 'he' => 'Hebrew',
55 'hi' => 'Hindi',
56 'hr' => 'Croatian',
57 'hu' => 'Hungarian',
58 'hy' => 'Armenian',
59
60 'ia' => 'Interlingua',
61 'id' => 'Indonesian',
62 'ie' => 'Interlingue',
63 'ik' => 'Inupiak',
64 'is' => 'Icelandic',
65 'it' => 'Italian',
66 'iu' => 'Inuktitut',
67
68 'ja' => 'Japanese',
69 'jv' => 'Javanese',
70
71 'ka' => 'Georgian',
72 'kk' => 'Kazakh',
73 'kl' => 'Greenlandic',
74 'km' => 'Cambodian',
75 'kn' => 'Kannada',
76 'ko' => 'Korean',
77 'ks' => 'Kashmiri',
78 'ku' => 'Kurdish',
79 'ky' => 'Kirghiz',
80
81 'la' => 'Latin',
82 'ln' => 'Lingala',
83 'lo' => 'Laothian',
84 'lt' => 'Lithuanian',
85 'lv' => 'Latvian, Lettish',
86
87 'mg' => 'Malagasy',
88 'mi' => 'Maori',
89 'mk' => 'Macedonian',
90 'ml' => 'Malayalam',
91 'mn' => 'Mongolian',
92 'mo' => 'Moldavian',
93 'mr' => 'Marathi',
94 'ms' => 'Malay',
95 'mt' => 'Maltese',
96 'my' => 'Burmese',
97
98 'na' => 'Nauru',
99 'ne' => 'Nepali',
100 'nl' => 'Dutch',
101 'no' => 'Norwegian',
102
103 'oc' => 'Occitan',
104 'om' => '(Afan) Oromo',
105 'or' => 'Oriya',
106
107 'pa' => 'Punjabi',
108 'pl' => 'Polish',
109
110 'prs'=> 'Dari',
111 'ps' => 'Pushto',
112
113 'pt' => 'Portuguese',
114
115 'qu' => 'Quechua',
116 'rm' => 'Rhaeto-Romance',
117 'rn' => 'Kirundi',
118 'ro' => 'Romanian',
119 'ru' => 'Russian',
120 'rw' => 'Kinyarwanda',
121
122 'sa' => 'Sanskrit',
123 'sd' => 'Sindhi',
124 'sg' => 'Sangro',
125 'sh' => 'Serbo-Croatian',
126 'si' => 'Singhalese',
127 'sk' => 'Slovak',
128 'sl' => 'Slovenian',
129 'sm' => 'Samoan',
130 'sn' => 'Shona',
131 'so' => 'Somali',
132 'sq' => 'Albanian',
133 'sr' => 'Serbian',
134 'ss' => 'Siswati',
135 'st' => 'Sesotho',
136 'su' => 'Sudanese',
137 'sv' => 'Swedish',
138 'sw' => 'Swahili',
139
140 'ta' => 'Tamil',
141 'te' => 'Telugu',
142 'tg' => 'Tajik',
143 'th' => 'Thai',
144 'ti' => 'Tigrinya',
145 'tk' => 'Turkmen',
146 'tl' => 'Tagalog',
147 'tn' => 'Setswana',
148 'to' => 'Tonga',
149 'tr' => 'Turkish',
150 'ts' => 'Tsonga',
151 'tt' => 'Tatar',
152 'tw' => 'Twi',
153
154 'ug' => 'Uigur',
155 'uk' => 'Ukrainian',
156 'ur' => 'Urdu',
157 'uz' => 'Uzbek',
158
159 'vi' => 'Vietnamese',
160 'vo' => 'Volapuk',
161
162 'wo' => 'Wolof',
163
164 'xh' => 'Xhosa',
165
166 'yi' => 'Yiddish',
167 'yo' => 'Yoruba',
168
169 'za' => 'Zhuang',
170 'zh' => 'Chinese',
171 'zu' => 'Zulu'
172 );
173
174%toiso639 = (
175 'afar' => 'aa',
176 'abkhazian' => 'ab',
177 'afrikaans' => 'af',
178 'amharic' => 'am',
179 'arabic' => 'ar',
180 'assamese' => 'as',
181 'aymara' => 'ay',
182 'azerbaijani' => 'az',
183
184 'bashkir' => 'ba',
185 'byelorussian' => 'be',
186 'bulgarian' => 'bg',
187 'bihari' => 'bh',
188 'bislama' => 'bi',
189 'bengali' => 'bn',
190 'bangla' => 'bn',
191 'tibetan' => 'bo',
192 'breton' => 'br',
193
194 'catalan' => 'ca',
195 'corsican' => 'co',
196 'czech' => 'cs',
197 'welsh' => 'cy',
198
199 'danish' => 'da',
200 'german' => 'de',
201 'bhutani' => 'dz',
202
203 'greek' => 'el',
204 'english' => 'en',
205 'esperanto' => 'eo',
206 'spanish' => 'es',
207 'estonian' => 'et',
208 'basque' => 'eu',
209
210 'persian' => 'fa',
211 'finnish' => 'fi',
212 'fiji' => 'fj',
213 'faroese' => 'fo',
214 'french' => 'fr',
215 'frisian' => 'fy',
216
217 'irish' => 'ga',
218 'scots_gaelic' => 'gd',
219 'galician' => 'gl',
220 'guarani' => 'gn',
221 'gujarati' => 'gu',
222
223 'hausa' => 'ha',
224 'hebrew' => 'he',
225 'hindi' => 'hi',
226 'croatian' => 'hr',
227 'hungarian' => 'hu',
228 'armenian' => 'hy',
229
230 'interlingua' => 'ia',
231 'indonesian' => 'id',
232 'interlingue' => 'ie',
233 'inupiak' => 'ik',
234 'icelandic' => 'is',
235 'italian' => 'it',
236 'inuktitut' => 'iu',
237
238 'japanese' => 'ja',
239 'javanese' => 'jv',
240
241 'georgian' => 'ka',
242 'kazakh' => 'kk',
243 'greenlandic' => 'kl',
244 'cambodian' => 'km',
245 'kannada' => 'kn',
246 'korean' => 'ko',
247 'kashmiri' => 'ks',
248 'kurdish' => 'ku',
249 'kirghiz' => 'ky',
250
251 'latin' => 'la',
252 'lingala' => 'ln',
253 'laothian' => 'lo',
254 'lithuanian' => 'lt',
255 'latvian' => 'lv',
256 'lettish' => 'lv',
257
258 'malagasy' => 'mg',
259 'maori' => 'mi',
260 'macedonian' => 'mk',
261 'malayalam' => 'ml',
262 'mongolian' => 'mn',
263 'moldavian' => 'mo',
264 'marathi' => 'mr',
265 'malay' => 'ms',
266 'maltese' => 'mt',
267 'burmese' => 'my',
268
269 'nauru' => 'na',
270 'nepali' => 'ne',
271 'dutch' => 'nl',
272 'norwegian' => 'no',
273
274 'occitan' => 'oc',
275 '(afan)_oromo' => 'om',
276 'oriya' => 'or',
277
278 'punjabi' => 'pa',
279 'polish' => 'pl',
280 'pashto' => 'ps',
281 'pushto' => 'ps',
282 'dari' => 'prs',
283 'portuguese' => 'pt',
284
285 'quechua' => 'qu',
286
287 'rhaeto-romance' => 'rm',
288 'kirundi' => 'rn',
289 'romanian' => 'ro',
290 'russian' => 'ru',
291 'kinyarwanda' => 'rw',
292
293 'sanskrit' => 'sa',
294 'sindhi' => 'sd',
295 'sangro' => 'sg',
296 'serbo-croatian' => 'sh',
297 'singhalese' => 'si',
298 'slovak' => 'sk',
299 'slovenian' => 'sl',
300 'samoan' => 'sm',
301 'shona' => 'sn',
302 'somali' => 'so',
303 'albanian' => 'sq',
304 'serbian' => 'sr',
305 'siswati' => 'ss',
306 'sesotho' => 'st',
307 'sudanese' => 'su',
308 'swedish' => 'sv',
309 'swahili' => 'sw',
310
311 'tamil' => 'ta',
312 'telugu' => 'te',
313 'tajik' => 'tg',
314 'thai' => 'th',
315 'tigrinya' => 'ti',
316 'turkmen' => 'tk',
317 'tagalog' => 'tl',
318 'setswana' => 'tn',
319 'tonga' => 'to',
320 'turkish' => 'tr',
321 'tsonga' => 'ts',
322 'tatar' => 'tt',
323 'twi' => 'tw',
324
325 'uigur' => 'ug',
326 'ukrainian' => 'uk',
327 'urdu' => 'ur',
328 'uzbek' => 'uz',
329
330 'vietnamese' => 'vi',
331 'volapuk' => 'vo',
332
333 'wolof' => 'wo',
334
335 'xhosa' => 'xh',
336
337 'yiddish' => 'yi',
338 'yoruba' => 'yo',
339
340 'zhuang' => 'za',
341 'chinese' => 'zh',
342 'zul' => 'zu',
343 );
Note: See TracBrowser for help on using the repository browser.