source: main/trunk/greenstone2/perllib/iso639.pm@ 29724

Last change on this file since 29724 was 29724, checked in by ak19, 6 years ago

Emmanuel Chukwu had written in during the holidays, volunteering to be a translator for the Igbo language, spoken by 25 million people especially in Nigeria. Igbo was not yet in our list of language codes. Adding it in.

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