You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <?php
  2. $countrycodes = array(
  3. 'aa' => 'Afar',
  4. 'ab' => 'Abkhaz',
  5. 'ae' => 'Avestan',
  6. 'af' => 'Afrikaans',
  7. 'ak' => 'Akan',
  8. 'am' => 'Amharic',
  9. 'an' => 'Aragonese',
  10. 'ar' => 'Arabic',
  11. 'as' => 'Assamese',
  12. 'av' => 'Avaric',
  13. 'ay' => 'Aymara',
  14. 'az' => 'Azerbaijani',
  15. 'ba' => 'Bashkir',
  16. 'be' => 'Belarusian',
  17. 'bg' => 'Bulgarian',
  18. 'bh' => 'Bihari',
  19. 'bi' => 'Bislama',
  20. 'bm' => 'Bambara',
  21. 'bn' => 'Bengali',
  22. 'bo' => 'Tibetan Standard, Tibetan, Central',
  23. 'br' => 'Breton',
  24. 'bs' => 'Bosnian',
  25. 'ca' => 'Catalan; Valencian',
  26. 'ce' => 'Chechen',
  27. 'ch' => 'Chamorro',
  28. 'co' => 'Corsican',
  29. 'cr' => 'Cree',
  30. 'cs' => 'Czech',
  31. 'cu' => 'Old Church Slavonic, Church Slavic, Church Slavonic, Old Bulgarian, Old Slavonic',
  32. 'cv' => 'Chuvash',
  33. 'cy' => 'Welsh',
  34. 'da' => 'Danish',
  35. 'de' => 'German',
  36. 'dv' => 'Divehi; Dhivehi; Maldivian;',
  37. 'dz' => 'Dzongkha',
  38. 'ee' => 'Ewe',
  39. 'el' => 'Greek, Modern',
  40. 'en' => 'English',
  41. 'eo' => 'Esperanto',
  42. 'es' => 'Spanish; Castilian',
  43. 'et' => 'Estonian',
  44. 'eu' => 'Basque',
  45. 'fa' => 'Persian',
  46. 'ff' => 'Fula; Fulah; Pulaar; Pular',
  47. 'fi' => 'Finnish',
  48. 'fj' => 'Fijian',
  49. 'fo' => 'Faroese',
  50. 'fr' => 'French',
  51. 'fy' => 'Western Frisian',
  52. 'ga' => 'Irish',
  53. 'gd' => 'Scottish Gaelic; Gaelic',
  54. 'gl' => 'Galician',
  55. 'gn' => 'GuaranÃ',
  56. 'gu' => 'Gujarati',
  57. 'gv' => 'Manx',
  58. 'ha' => 'Hausa',
  59. 'he' => 'Hebrew',
  60. 'hi' => 'Hindi',
  61. 'ho' => 'Hiri Motu',
  62. 'hr' => 'Croatian',
  63. 'ht' => 'Haitian; Haitian Creole',
  64. 'hu' => 'Hungarian',
  65. 'hy' => 'Armenian',
  66. 'hz' => 'Herero',
  67. 'ia' => 'Interlingua',
  68. 'id' => 'Indonesian',
  69. 'ie' => 'Interlingue',
  70. 'ig' => 'Igbo',
  71. 'ii' => 'Nuosu',
  72. 'ik' => 'Inupiaq',
  73. 'io' => 'Ido',
  74. 'is' => 'Icelandic',
  75. 'it' => 'Italian',
  76. 'iu' => 'Inuktitut',
  77. 'ja' => 'Japanese',
  78. 'jv' => 'Javanese',
  79. 'ka' => 'Georgian',
  80. 'kg' => 'Kongo',
  81. 'ki' => 'Kikuyu, Gikuyu',
  82. 'kj' => 'Kwanyama, Kuanyama',
  83. 'kk' => 'Kazakh',
  84. 'kl' => 'Kalaallisut, Greenlandic',
  85. 'km' => 'Khmer',
  86. 'kn' => 'Kannada',
  87. 'ko' => 'Korean',
  88. 'kr' => 'Kanuri',
  89. 'ks' => 'Kashmiri',
  90. 'ku' => 'Kurdish',
  91. 'kv' => 'Komi',
  92. 'kw' => 'Cornish',
  93. 'ky' => 'Kirghiz, Kyrgyz',
  94. 'la' => 'Latin',
  95. 'lb' => 'Luxembourgish, Letzeburgesch',
  96. 'lg' => 'Luganda',
  97. 'li' => 'Limburgish, Limburgan, Limburger',
  98. 'ln' => 'Lingala',
  99. 'lo' => 'Lao',
  100. 'lt' => 'Lithuanian',
  101. 'lu' => 'Luba-Katanga',
  102. 'lv' => 'Latvian',
  103. 'mg' => 'Malagasy',
  104. 'mh' => 'Marshallese',
  105. 'mi' => 'Maori',
  106. 'mk' => 'Macedonian',
  107. 'ml' => 'Malayalam',
  108. 'mn' => 'Mongolian',
  109. 'mr' => 'Marathi (Mara?hi)',
  110. 'ms' => 'Malay',
  111. 'mt' => 'Maltese',
  112. 'my' => 'Burmese',
  113. 'na' => 'Nauru',
  114. 'nb' => 'Norwegian Bokmål',
  115. 'nd' => 'North Ndebele',
  116. 'ne' => 'Nepali',
  117. 'ng' => 'Ndonga',
  118. 'nl' => 'Dutch',
  119. 'nn' => 'Norwegian Nynorsk',
  120. 'no' => 'Norwegian',
  121. 'nr' => 'South Ndebele',
  122. 'nv' => 'Navajo, Navaho',
  123. 'ny' => 'Chichewa; Chewa; Nyanja',
  124. 'oc' => 'Occitan',
  125. 'oj' => 'Ojibwe, Ojibwa',
  126. 'om' => 'Oromo',
  127. 'or' => 'Oriya',
  128. 'os' => 'Ossetian, Ossetic',
  129. 'pa' => 'Panjabi, Punjabi',
  130. 'pi' => 'Pali',
  131. 'pl' => 'Polish',
  132. 'ps' => 'Pashto, Pushto',
  133. 'pt' => 'Portuguese',
  134. 'qu' => 'Quechua',
  135. 'rm' => 'Romansh',
  136. 'rn' => 'Kirundi',
  137. 'ro' => 'Romanian, Moldavian, Moldovan',
  138. 'ru' => 'Russian',
  139. 'rw' => 'Kinyarwanda',
  140. 'sa' => 'Sanskrit',
  141. 'sc' => 'Sardinian',
  142. 'sd' => 'Sindhi',
  143. 'se' => 'Northern Sami',
  144. 'sg' => 'Sango',
  145. 'si' => 'Sinhala, Sinhalese',
  146. 'sk' => 'Slovak',
  147. 'sl' => 'Slovene',
  148. 'sm' => 'Samoan',
  149. 'sn' => 'Shona',
  150. 'so' => 'Somali',
  151. 'sq' => 'Albanian',
  152. 'sr' => 'Serbian',
  153. 'ss' => 'Swati',
  154. 'st' => 'Southern Sotho',
  155. 'su' => 'Sundanese',
  156. 'sv' => 'Swedish',
  157. 'sw' => 'Swahili',
  158. 'ta' => 'Tamil',
  159. 'te' => 'Telugu',
  160. 'tg' => 'Tajik',
  161. 'th' => 'Thai',
  162. 'ti' => 'Tigrinya',
  163. 'tk' => 'Turkmen',
  164. 'tl' => 'Tagalog',
  165. 'tn' => 'Tswana',
  166. 'to' => 'Tonga (Tonga Islands)',
  167. 'tr' => 'Turkish',
  168. 'ts' => 'Tsonga',
  169. 'tt' => 'Tatar',
  170. 'tw' => 'Twi',
  171. 'ty' => 'Tahitian',
  172. 'ug' => 'Uighur, Uyghur',
  173. 'uk' => 'Ukrainian',
  174. 'ur' => 'Urdu',
  175. 'uz' => 'Uzbek',
  176. 've' => 'Venda',
  177. 'vi' => 'Vietnamese',
  178. 'vo' => 'Volapük',
  179. 'wa' => 'Walloon',
  180. 'wo' => 'Wolof',
  181. 'xh' => 'Xhosa',
  182. 'yi' => 'Yiddish',
  183. 'yo' => 'Yoruba',
  184. 'za' => 'Zhuang, Chuang',
  185. 'zh' => 'Chinese',
  186. 'zu' => 'Zulu'
  187. );