Posted By

krillzip on 01/11/11


Tagged

php array code iso language 639


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

StrawMan
krillzip
beleneglorion


ISO 639 language codes as PHP array


 / Published in: PHP
 

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

Report this snippet  

You need to login to post a comment.