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

Last change on this file since 24407 was 24407, checked in by anna, 10 years ago

changed Laothian to Laotian.

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