1<?php
2// Language names from http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
3$langinfo = array (
4  'aa' =>
5  array (
6    0 => 'Afaraf',
7    1 => 'Afar',
8  ),
9  'ab' =>
10  array (
11    0 => 'Аҧсуа',
12    1 => 'Abkhazian',
13  ),
14  'ae' =>
15  array (
16    0 => 'avesta',
17    1 => 'Avestan',
18  ),
19  'af' =>
20  array (
21    0 => 'Afrikaans',
22    1 => 'Afrikaans',
23  ),
24  'ak' =>
25  array (
26    0 => 'Akan',
27    1 => 'Akan',
28  ),
29  'am' =>
30  array (
31    0 => 'አማርኛ',
32    1 => 'Amharic',
33  ),
34  'an' =>
35  array (
36    0 => 'Aragonés',
37    1 => 'Aragonese',
38  ),
39  'ar' =>
40  array (
41    0 => 'العربية',
42    1 => 'Arabic',
43  ),
44  'as' =>
45  array (
46    0 => 'অসমীয়া',
47    1 => 'Assamese',
48  ),
49  'av' =>
50  array (
51    0 => 'авар мацӀ, магӀарул мацӀ',
52    1 => 'Avaric',
53  ),
54  'ay' =>
55  array (
56    0 => 'aymar aru',
57    1 => 'Aymara',
58  ),
59  'az' =>
60  array (
61    0 => 'azərbaycan dili',
62    1 => 'Azerbaijani',
63  ),
64  'ba' =>
65  array (
66    0 => 'башҡорт теле',
67    1 => 'Bashkir',
68  ),
69  'be' =>
70  array (
71    0 => 'Беларуская',
72    1 => 'Belarusian',
73  ),
74  'bg' =>
75  array (
76    0 => 'български език',
77    1 => 'Bulgarian',
78  ),
79  'bh' =>
80  array (
81    0 => 'भोजपुरी',
82    1 => 'Bihari',
83  ),
84  'bi' =>
85  array (
86    0 => 'Bislama',
87    1 => 'Bislama',
88  ),
89  'bm' =>
90  array (
91    0 => 'bamanankan',
92    1 => 'Bambara',
93  ),
94  'bn' =>
95  array (
96    0 => 'বাংলা',
97    1 => 'Bengali',
98  ),
99  'bo' =>
100  array (
101    0 => 'བོད་ཡིག',
102    1 => 'Tibetan',
103  ),
104  'br' =>
105  array (
106    0 => 'brezhoneg',
107    1 => 'Breton',
108  ),
109  'bs' =>
110  array (
111    0 => 'bosanski jezik',
112    1 => 'Bosnian',
113  ),
114  'ca' =>
115  array (
116    0 => 'Català',
117    1 => 'Catalan, Valencian',
118  ),
119  'ce' =>
120  array (
121    0 => 'нохчийн мотт',
122    1 => 'Chechen',
123  ),
124  'ch' =>
125  array (
126    0 => 'Chamoru',
127    1 => 'Chamorro',
128  ),
129  'co' =>
130  array (
131    0 => 'corsu, lingua corsa',
132    1 => 'Corsican',
133  ),
134  'cr' =>
135  array (
136    0 => 'ᓀᐦᐃᔭᐍᐏᐣ',
137    1 => 'Cree',
138  ),
139  'cs' =>
140  array (
141    0 => 'česky, čeština',
142    1 => 'Czech',
143  ),
144  'cu' =>
145  array (
146    0 => 'ѩзыкъ словѣньскъ',
147    1 => 'Church Slavic, Old Slavonic, Church Slavonic, Old Bulgarian, Old Church Slavonic',
148  ),
149  'cv' =>
150  array (
151    0 => 'чӑваш чӗлхи',
152    1 => 'Chuvash',
153  ),
154  'cy' =>
155  array (
156    0 => 'Cymraeg',
157    1 => 'Welsh',
158  ),
159  'da' =>
160  array (
161    0 => 'dansk',
162    1 => 'Danish',
163  ),
164  'de' =>
165  array (
166    0 => 'Deutsch',
167    1 => 'German',
168  ),
169  'dv' =>
170  array (
171    0 => 'ދިވެހި',
172    1 => 'Divehi, Dhivehi, Maldivian',
173  ),
174  'dz' =>
175  array (
176    0 => 'རྫོང་ཁ',
177    1 => 'Dzongkha',
178  ),
179  'ee' =>
180  array (
181    0 => 'Ɛʋɛgbɛ',
182    1 => 'Ewe',
183  ),
184  'el' =>
185  array (
186    0 => 'Ελληνικά',
187    1 => 'Modern Greek',
188  ),
189  'en' =>
190  array (
191    0 => 'English',
192    1 => 'English',
193  ),
194  'eo' =>
195  array (
196    0 => 'Esperanto',
197    1 => 'Esperanto',
198  ),
199  'es' =>
200  array (
201    0 => 'Español, Castellano',
202    1 => 'Spanish, Castilian',
203  ),
204  'et' =>
205  array (
206    0 => 'eesti, eesti keel',
207    1 => 'Estonian',
208  ),
209  'eu' =>
210  array (
211    0 => 'euskara, euskera',
212    1 => 'Basque',
213  ),
214  'fa' =>
215  array (
216    0 => 'فارسی',
217    1 => 'Persian',
218  ),
219  'ff' =>
220  array (
221    0 => 'Fulfulde',
222    1 => 'Fulah',
223  ),
224  'fi' =>
225  array (
226    0 => 'suomi, suomen kieli',
227    1 => 'Finnish',
228  ),
229  'fj' =>
230  array (
231    0 => 'vosa Vakaviti',
232    1 => 'Fijian',
233  ),
234  'fo' =>
235  array (
236    0 => 'føroyskt',
237    1 => 'Faroese',
238  ),
239  'fr' =>
240  array (
241    0 => 'français, langue française',
242    1 => 'French',
243  ),
244  'fy' =>
245  array (
246    0 => 'Frysk',
247    1 => 'Western Frisian',
248  ),
249  'ga' =>
250  array (
251    0 => 'Gaeilge',
252    1 => 'Irish',
253  ),
254  'gd' =>
255  array (
256    0 => 'Gàidhlig',
257    1 => 'Gaelic, Scottish Gaelic',
258  ),
259  'gl' =>
260  array (
261    0 => 'Galego',
262    1 => 'Galician',
263  ),
264  'gn' =>
265  array (
266    0 => 'Avañe\'ẽ',
267    1 => 'Guaraní',
268  ),
269  'gu' =>
270  array (
271    0 => 'ગુજરાતી',
272    1 => 'Gujarati',
273  ),
274  'gv' =>
275  array (
276    0 => 'Gaelg, Gailck',
277    1 => 'Manx',
278  ),
279  'ha' =>
280  array (
281    0 => 'هَوُسَ',
282    1 => 'Hausa',
283  ),
284  'he' =>
285  array (
286    0 => 'עברית',
287    1 => 'Modern Hebrew',
288  ),
289  'hi' =>
290  array (
291    0 => 'हिन्दी, हिंदी',
292    1 => 'Hindi',
293  ),
294  'ho' =>
295  array (
296    0 => 'Hiri Motu',
297    1 => 'Hiri Motu',
298  ),
299  'hr' =>
300  array (
301    0 => 'Hrvatski',
302    1 => 'Croatian',
303  ),
304  'ht' =>
305  array (
306    0 => 'Kreyòl ayisyen',
307    1 => 'Haitian, Haitian Creole',
308  ),
309  'hu' =>
310  array (
311    0 => 'Magyar',
312    1 => 'Hungarian',
313  ),
314  'hy' =>
315  array (
316    0 => 'Հայերեն',
317    1 => 'Armenian',
318  ),
319  'hz' =>
320  array (
321    0 => 'Otjiherero',
322    1 => 'Herero',
323  ),
324  'ia' =>
325  array (
326    0 => 'Interlingua',
327    1 => 'Interlingua (International Auxiliary Language Association)',
328  ),
329  'id' =>
330  array (
331    0 => 'Bahasa Indonesia',
332    1 => 'Indonesian',
333  ),
334  'ie' =>
335  array (
336    0 => 'Interlingue',
337    1 => 'Interlingue, Occidental',
338  ),
339  'ig' =>
340  array (
341    0 => 'Igbo',
342    1 => 'Igbo',
343  ),
344  'ii' =>
345  array (
346    0 => 'ꆇꉙ',
347    1 => 'Sichuan Yi, Nuosu',
348  ),
349  'ik' =>
350  array (
351    0 => 'Iñupiaq, Iñupiatun',
352    1 => 'Inupiaq',
353  ),
354  'io' =>
355  array (
356    0 => 'Ido',
357    1 => 'Ido',
358  ),
359  'is' =>
360  array (
361    0 => 'Íslenska',
362    1 => 'Icelandic',
363  ),
364  'it' =>
365  array (
366    0 => 'Italiano',
367    1 => 'Italian',
368  ),
369  'iu' =>
370  array (
371    0 => 'ᐃᓄᒃᑎᑐᑦ',
372    1 => 'Inuktitut',
373  ),
374  'ja' =>
375  array (
376    0 => '日本語 (にほんご/にっぽんご)',
377    1 => 'Japanese',
378  ),
379  'jv' =>
380  array (
381    0 => 'basa Jawa',
382    1 => 'Javanese',
383  ),
384  'ka' =>
385  array (
386    0 => 'ქართული',
387    1 => 'Georgian',
388  ),
389  'kg' =>
390  array (
391    0 => 'KiKongo',
392    1 => 'Kongo',
393  ),
394  'ki' =>
395  array (
396    0 => 'Gĩkũyũ',
397    1 => 'Kikuyu, Gikuyu',
398  ),
399  'kj' =>
400  array (
401    0 => 'Kuanyama',
402    1 => 'Kwanyama, Kuanyama',
403  ),
404  'kk' =>
405  array (
406    0 => 'Қазақ тілі',
407    1 => 'Kazakh',
408  ),
409  'kl' =>
410  array (
411    0 => 'kalaallisut, kalaallit oqaasii',
412    1 => 'Kalaallisut, Greenlandic',
413  ),
414  'km' =>
415  array (
416    0 => 'ភាសាខ្មែរ',
417    1 => 'Central Khmer',
418  ),
419  'kn' =>
420  array (
421    0 => 'ಕನ್ನಡ',
422    1 => 'Kannada',
423  ),
424  'ko' =>
425  array (
426    0 => '한국어 (韓國語), 조선말 (朝鮮語)',
427    1 => 'Korean',
428  ),
429  'kr' =>
430  array (
431    0 => 'Kanuri',
432    1 => 'Kanuri',
433  ),
434  'ks' =>
435  array (
436    0 => 'कश्मीरी, كشميري‎',
437    1 => 'Kashmiri',
438  ),
439  'ku' =>
440  array (
441    0 => 'Kurdî, كوردی‎',
442    1 => 'Kurdish',
443  ),
444  'kv' =>
445  array (
446    0 => 'коми кыв',
447    1 => 'Komi',
448  ),
449  'kw' =>
450  array (
451    0 => 'Kernewek',
452    1 => 'Cornish',
453  ),
454  'ky' =>
455  array (
456    0 => 'кыргыз тили',
457    1 => 'Kirghiz, Kyrgyz',
458  ),
459  'la' =>
460  array (
461    0 => 'latine, lingua latina',
462    1 => 'Latin',
463  ),
464  'lb' =>
465  array (
466    0 => 'Lëtzebuergesch',
467    1 => 'Luxembourgish, Letzeburgesch',
468  ),
469  'lg' =>
470  array (
471    0 => 'Luganda',
472    1 => 'Ganda',
473  ),
474  'li' =>
475  array (
476    0 => 'Limburgs',
477    1 => 'Limburgish, Limburgan, Limburger',
478  ),
479  'ln' =>
480  array (
481    0 => 'Lingála',
482    1 => 'Lingala',
483  ),
484  'lo' =>
485  array (
486    0 => 'ພາສາລາວ',
487    1 => 'Lao',
488  ),
489  'lt' =>
490  array (
491    0 => 'lietuvių kalba',
492    1 => 'Lithuanian',
493  ),
494  'lu' =>
495  array (
496    0 => '	',
497    1 => 'Luba-Katanga',
498  ),
499  'lv' =>
500  array (
501    0 => 'latviešu valoda',
502    1 => 'Latvian',
503  ),
504  'mg' =>
505  array (
506    0 => 'Malagasy fiteny',
507    1 => 'Malagasy',
508  ),
509  'mh' =>
510  array (
511    0 => 'Kajin M̧ajeļ',
512    1 => 'Marshallese',
513  ),
514  'mi' =>
515  array (
516    0 => 'te reo Māori',
517    1 => 'Māori',
518  ),
519  'mk' =>
520  array (
521    0 => 'македонски јазик',
522    1 => 'Macedonian',
523  ),
524  'ml' =>
525  array (
526    0 => 'മലയാളം',
527    1 => 'Malayalam',
528  ),
529  'mn' =>
530  array (
531    0 => 'Монгол',
532    1 => 'Mongolian',
533  ),
534  'mr' =>
535  array (
536    0 => 'मराठी',
537    1 => 'Marathi',
538  ),
539  'ms' =>
540  array (
541    0 => 'bahasa Melayu, بهاس ملايو‎',
542    1 => 'Malay',
543  ),
544  'mt' =>
545  array (
546    0 => 'Malti',
547    1 => 'Maltese',
548  ),
549  'my' =>
550  array (
551    0 => 'ဗမာစာ',
552    1 => 'Burmese',
553  ),
554  'na' =>
555  array (
556    0 => 'Ekakairũ Naoero',
557    1 => 'Nauru',
558  ),
559  'nb' =>
560  array (
561    0 => 'Norsk bokmål',
562    1 => 'Norwegian Bokmål',
563  ),
564  'nd' =>
565  array (
566    0 => 'isiNdebele',
567    1 => 'North Ndebele',
568  ),
569  'ne' =>
570  array (
571    0 => 'नेपाली',
572    1 => 'Nepali',
573  ),
574  'ng' =>
575  array (
576    0 => 'Owambo',
577    1 => 'Ndonga',
578  ),
579  'nl' =>
580  array (
581    0 => 'Nederlands, Vlaams',
582    1 => 'Dutch, Flemish',
583  ),
584  'nn' =>
585  array (
586    0 => 'Norsk nynorsk',
587    1 => 'Norwegian Nynorsk',
588  ),
589  'no' =>
590  array (
591    0 => 'Norsk',
592    1 => 'Norwegian',
593  ),
594  'nr' =>
595  array (
596    0 => 'isiNdebele',
597    1 => 'South Ndebele',
598  ),
599  'nv' =>
600  array (
601    0 => 'Diné bizaad, Dinékʼehǰí',
602    1 => 'Navajo, Navaho',
603  ),
604  'ny' =>
605  array (
606    0 => 'chiCheŵa, chinyanja',
607    1 => 'Chichewa, Chewa, Nyanja',
608  ),
609  'oc' =>
610  array (
611    0 => 'Occitan',
612    1 => 'Occitan (after 1500)',
613  ),
614  'oj' =>
615  array (
616    0 => 'ᐊᓂᔑᓈᐯᒧᐎᓐ',
617    1 => 'Ojibwa',
618  ),
619  'om' =>
620  array (
621    0 => 'Afaan Oromoo',
622    1 => 'Oromo',
623  ),
624  'or' =>
625  array (
626    0 => 'ଓଡ଼ିଆ',
627    1 => 'Oriya',
628  ),
629  'os' =>
630  array (
631    0 => 'Ирон æвзаг',
632    1 => 'Ossetian, Ossetic',
633  ),
634  'pa' =>
635  array (
636    0 => 'ਪੰਜਾਬੀ, پنجابی‎',
637    1 => 'Panjabi, Punjabi',
638  ),
639  'pi' =>
640  array (
641    0 => 'पाऴि',
642    1 => 'Pāli',
643  ),
644  'pl' =>
645  array (
646    0 => 'polski',
647    1 => 'Polish',
648  ),
649  'ps' =>
650  array (
651    0 => 'پښتو',
652    1 => 'Pashto, Pushto',
653  ),
654  'pt' =>
655  array (
656    0 => 'Português',
657    1 => 'Portuguese',
658  ),
659  'qu' =>
660  array (
661    0 => 'Runa Simi, Kichwa',
662    1 => 'Quechua',
663  ),
664  'rm' =>
665  array (
666    0 => 'rumantsch grischun',
667    1 => 'Romansh',
668  ),
669  'rn' =>
670  array (
671    0 => 'kiRundi',
672    1 => 'Rundi',
673  ),
674  'ro' =>
675  array (
676    0 => 'română',
677    1 => 'Romanian, Moldavian, Moldovan',
678  ),
679  'ru' =>
680  array (
681    0 => 'русский язык',
682    1 => 'Russian',
683  ),
684  'rw' =>
685  array (
686    0 => 'Ikinyarwanda',
687    1 => 'Kinyarwanda',
688  ),
689  'sa' =>
690  array (
691    0 => 'संस्कृतम्',
692    1 => 'Sanskrit',
693  ),
694  'sc' =>
695  array (
696    0 => 'sardu',
697    1 => 'Sardinian',
698  ),
699  'sd' =>
700  array (
701    0 => 'सिन्धी, سنڌي، سندھی‎',
702    1 => 'Sindhi',
703  ),
704  'se' =>
705  array (
706    0 => 'Davvisámegiella',
707    1 => 'Northern Sami',
708  ),
709  'sg' =>
710  array (
711    0 => 'yângâ tî sängö',
712    1 => 'Sango',
713  ),
714  'si' =>
715  array (
716    0 => 'සිංහල',
717    1 => 'Sinhala, Sinhalese',
718  ),
719  '(sh)' =>
720  array (
721    0 => '	macrolanguage, the two-letter code has been deprecated, but not the three-letter code',
722    1 => 'Serbo-Croatian',
723  ),
724  'sk' =>
725  array (
726    0 => 'slovenčina',
727    1 => 'Slovak',
728  ),
729  'sl' =>
730  array (
731    0 => 'slovenščina',
732    1 => 'Slovenian',
733  ),
734  'sm' =>
735  array (
736    0 => 'gagana fa\'a Samoa',
737    1 => 'Samoan',
738  ),
739  'sn' =>
740  array (
741    0 => 'chiShona',
742    1 => 'Shona',
743  ),
744  'so' =>
745  array (
746    0 => 'Soomaaliga, af Soomaali',
747    1 => 'Somali',
748  ),
749  'sq' =>
750  array (
751    0 => 'Shqip',
752    1 => 'Albanian',
753  ),
754  'sr' =>
755  array (
756    0 => 'српски језик',
757    1 => 'Serbian',
758  ),
759  'ss' =>
760  array (
761    0 => 'SiSwati',
762    1 => 'Swati',
763  ),
764  'st' =>
765  array (
766    0 => 'Sesotho',
767    1 => 'Southern Sotho',
768  ),
769  'su' =>
770  array (
771    0 => 'Basa Sunda',
772    1 => 'Sundanese',
773  ),
774  'sv' =>
775  array (
776    0 => 'svenska',
777    1 => 'Swedish',
778  ),
779  'sw' =>
780  array (
781    0 => 'Kiswahili',
782    1 => 'Swahili',
783  ),
784  'ta' =>
785  array (
786    0 => 'தமிழ்',
787    1 => 'Tamil',
788  ),
789  'te' =>
790  array (
791    0 => 'తెలుగు',
792    1 => 'Telugu',
793  ),
794  'tg' =>
795  array (
796    0 => 'тоҷикӣ, toğikī, تاجیکی‎',
797    1 => 'Tajik',
798  ),
799  'th' =>
800  array (
801    0 => 'ไทย',
802    1 => 'Thai',
803  ),
804  'ti' =>
805  array (
806    0 => 'ትግርኛ',
807    1 => 'Tigrinya',
808  ),
809  'tk' =>
810  array (
811    0 => 'Türkmen, Түркмен',
812    1 => 'Turkmen',
813  ),
814  'tl' =>
815  array (
816    0 => 'Tagalog, Filipino',
817    1 => 'Tagalog, Filipino, Pilipino',
818  ),
819  'tn' =>
820  array (
821    0 => 'Setswana',
822    1 => 'Tswana',
823  ),
824  'to' =>
825  array (
826    0 => 'faka Tonga',
827    1 => 'Tonga (Tonga Islands)',
828  ),
829  'tr' =>
830  array (
831    0 => 'Türkçe',
832    1 => 'Turkish',
833  ),
834  'ts' =>
835  array (
836    0 => 'Xitsonga',
837    1 => 'Tsonga',
838  ),
839  'tt' =>
840  array (
841    0 => 'татарча, tatarça, تاتارچا‎',
842    1 => 'Tatar',
843  ),
844  'tw' =>
845  array (
846    0 => 'Twi',
847    1 => 'Twi',
848  ),
849  'ty' =>
850  array (
851    0 => 'Reo Mā`ohi',
852    1 => 'Tahitian',
853  ),
854  'ug' =>
855  array (
856    0 => 'Uyƣurqə, ئۇيغۇرچە‎',
857    1 => 'Uighur, Uyghur',
858  ),
859  'uk' =>
860  array (
861    0 => 'Українська',
862    1 => 'Ukrainian',
863  ),
864  'ur' =>
865  array (
866    0 => 'اردو',
867    1 => 'Urdu',
868  ),
869  'uz' =>
870  array (
871    0 => 'O\'zbek, Ўзбек, أۇزبېك‎',
872    1 => 'Uzbek',
873  ),
874  've' =>
875  array (
876    0 => 'Tshivenḓa',
877    1 => 'Venda',
878  ),
879  'vi' =>
880  array (
881    0 => 'Tiếng Việt',
882    1 => 'Vietnamese',
883  ),
884  'vo' =>
885  array (
886    0 => 'Volapük',
887    1 => 'Volapük',
888  ),
889  'wa' =>
890  array (
891    0 => 'Walon',
892    1 => 'Walloon',
893  ),
894  'wo' =>
895  array (
896    0 => 'Wollof',
897    1 => 'Wolof',
898  ),
899  'xh' =>
900  array (
901    0 => 'isiXhosa',
902    1 => 'Xhosa',
903  ),
904  'yi' =>
905  array (
906    0 => 'ייִדיש',
907    1 => 'Yiddish',
908  ),
909  'yo' =>
910  array (
911    0 => 'Yorùbá',
912    1 => 'Yoruba',
913  ),
914  'za' =>
915  array (
916    0 => 'Saɯ cueŋƅ, Saw cuengh',
917    1 => 'Zhuang, Chuang',
918  ),
919  'zh' =>
920  array (
921    0 => '中文 (Zhōngwén), 汉语, 漢語',
922    1 => 'Chinese',
923  ),
924  'zu' =>
925  array (
926    0 => 'isiZulu',
927    1 => 'Zulu',
928  ),
929);
930
931