getlanguage.php 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <?php
  2. function getlanguage($languagecode) {
  3. if($languagecode=="amh"):
  4. $lang="አማርኛ";
  5. elseif($languagecode=="arz"):
  6. $lang="ﺎﻠﻋﺎﻤﻳﺓ ﺎﻠﻤﺻﺮﻳﺓ";
  7. elseif($languagecode=="arb"):
  8. $lang="ﺎﻠﻋﺮﺒﻳﺓ ﺎﻠﻔﺼﺣﻯ";
  9. elseif($languagecode=="apd"):
  10. $lang="ﻞﻬﺟﺓ ﺱﻭﺩﺎﻨﻳﺓ";
  11. elseif($languagecode=="afr"):
  12. $lang="Afrikaans";
  13. elseif($languagecode=="teo"):
  14. $lang="Ateso";
  15. elseif($languagecode=="dba"):
  16. $lang="Bangime";
  17. elseif($languagecode=="bas"):
  18. $lang="Basaa";
  19. elseif($languagecode=="ben"):
  20. $lang="Bemba";
  21. elseif($languagecode=="nya"):
  22. $lang="Chichewa";
  23. elseif($languagecode=="dag"):
  24. $lang="Dagbani";
  25. elseif($languagecode=="luo"):
  26. $lang="Dholuo";
  27. elseif($languagecode=="BTD"):
  28. $lang="Ben Tey Dogon";
  29. elseif($languagecode=="N-K"):
  30. $lang="Njamba-Kindige";
  31. elseif($languagecode=="dua"):
  32. $lang="Douala";
  33. elseif($languagecode=="ewo"):
  34. $lang="Ewondo";
  35. elseif($languagecode=="fmp"):
  36. $lang="Féfé";
  37. elseif($languagecode=="fub"):
  38. $lang="Adamawa Fulfulde";
  39. elseif($languagecode=="Bagirmi Fulfulde"):
  40. $lang="fui";
  41. elseif($languagecode=="fue"):
  42. $lang="Borgu Fulfulde";
  43. elseif($languagecode=="fuq"):
  44. $lang="Central Eastern Niger Fulfulde";
  45. elseif($languagecode=="ffm"):
  46. $lang="Maasina Fulfulde";
  47. elseif($languagecode=="fuv"):
  48. $lang="Nigerian Fulfulde";
  49. elseif($languagecode=="fuc"):
  50. $lang="Pulaar";
  51. elseif($languagecode=="fuf"):
  52. $lang="Pular";
  53. elseif($languagecode=="fuh"):
  54. $lang="Western Niger Fulfulde";
  55. elseif($languagecode=="gaa"):
  56. $lang="Ga";
  57. elseif($languagecode=="gho"):
  58. $lang="Ghomala";
  59. elseif($languagecode=="hgm"):
  60. $lang="ǂAakhoe";
  61. elseif($languagecode=="knw"):
  62. $lang="Ekoka ǃKung";
  63. elseif($languagecode=="ank"):
  64. $lang="Gǁana";
  65. elseif($languagecode=="ktz"):
  66. $lang="Juǀʼhoan";
  67. elseif($languagecode=="naq"):
  68. $lang="Khoekhoe";
  69. elseif($languagecode=="xuu"):
  70. $lang="Kxoe";
  71. elseif($languagecode=="nhr"):
  72. $lang="Naro";
  73. elseif($languagecode=="kik"):
  74. $lang="Gĩkũyũ";
  75. elseif($languagecode=="gjn"):
  76. $lang="Gonja";
  77. elseif($languagecode=="hau"):
  78. $lang="Hausa";
  79. elseif($languagecode=="ibo"):
  80. $lang="Igbo";
  81. elseif($languagecode=="nde"):
  82. $lang="IsiNdebele saseNyakatho";
  83. elseif($languagecode=="nbl"):
  84. $lang="IsiNdebele seSewula";
  85. elseif($languagecode=="xho"):
  86. $lang="isiXhosa";
  87. elseif($languagecode=="zul"):
  88. $lang="isiZulu";
  89. elseif($languagecode=="bqj"):
  90. $lang="Bandial";
  91. elseif($languagecode=="krx"):
  92. $lang="Karon";
  93. elseif($languagecode=="dhs"):
  94. $lang="Dhaiso";
  95. elseif($languagecode=="kck"):
  96. $lang="Kalanga";
  97. elseif($languagecode=="kam"):
  98. $lang="Kamba";
  99. elseif($languagecode=="dav"):
  100. $lang="Kidawida";
  101. elseif($languagecode=="nyf"):
  102. $lang="Kigiriyama";
  103. elseif($languagecode=="pkb"):
  104. $lang="Kipfokomo";
  105. elseif($languagecode=="mer"):
  106. $lang="Meru";
  107. elseif($languagecode=="thk"):
  108. $lang="Tharaka";
  109. elseif($languagecode=="mws"):
  110. $lang="Mwimbi-Muthambi";
  111. elseif($languagecode=="cuh"):
  112. $lang="Cuka";
  113. elseif($languagecode=="kin"):
  114. $lang="Kinyarwanda";
  115. elseif($languagecode=="sgc"):
  116. $lang="Kipsigis";
  117. elseif($languagecode=="swa"):
  118. $lang="Kiswahili";
  119. elseif($languagecode=="kwo"):
  120. $lang="Kiwoso";
  121. elseif($languagecode=="bkm"):
  122. $lang="Kom";
  123. elseif($languagecode=="xon"):
  124. $lang="Konkomba";
  125. elseif($languagecode=="lin"):
  126. $lang="Lingala";
  127. elseif($languagecode=="lug"):
  128. $lang="Luganda";
  129. elseif($languagecode=="bsk"):
  130. $lang="Lubukusu";
  131. elseif($languagecode=="ida"):
  132. $lang="Luidhako";
  133. elseif($languagecode=="rag"):
  134. $lang="Lulogoli";
  135. elseif($languagecode=="lkb"):
  136. $lang="Lukabrasi";
  137. elseif($languagecode=="nle"):
  138. $lang="Lunyala";
  139. elseif($languagecode=="lsm"):
  140. $lang="Lusamia";
  141. elseif($languagecode=="lts"):
  142. $lang="Lutachoni";
  143. elseif($languagecode=="lko"):
  144. $lang="Olukhayo";
  145. elseif($languagecode=="lks"):
  146. $lang="Olukisa";
  147. elseif($languagecode=="lrm"):
  148. $lang="Olumarama";
  149. elseif($languagecode=="nyd"):
  150. $lang="Olunyole";
  151. elseif($languagecode=="lto"):
  152. $lang="Olutsotso";
  153. elseif($languagecode=="lwa"):
  154. $lang="Oluwanga";
  155. elseif($languagecode=="maa"):
  156. $lang="Maasai";
  157. elseif($languagecode=="byv"):
  158. $lang="Medumba";
  159. elseif($languagecode=="men"):
  160. $lang="Mende";
  161. elseif($languagecode=="imc"):
  162. $lang="Machame";
  163. elseif($languagecode=="rwk"):
  164. $lang="Rwa";
  165. elseif($languagecode=="nnz"):
  166. $lang="Nda'nda'";
  167. elseif($languagecode=="nnh"):
  168. $lang="Ngiemboon";
  169. elseif($languagecode=="pcm"):
  170. $lang="Nigerian Pidgin";
  171. elseif($languagecode=="yav"):
  172. $lang="Nuasue";
  173. elseif($languagecode=="nge"):
  174. $lang="Ŋgə̂mbà";
  175. elseif($languagecode=="213"):
  176. $lang="Runyakitara";
  177. elseif($languagecode=="saf"):
  178. $lang="Safaliba";
  179. elseif($languagecode=="bwg"):
  180. $lang="Barwe";
  181. elseif($languagecode=="swk"):
  182. $lang="Malawian Sena";
  183. elseif($languagecode=="seh"):
  184. $lang="Mozambiquean Sena";
  185. elseif($languagecode=="sot"):
  186. $lang="Sesotho";
  187. elseif($languagecode=="tsn"):
  188. $lang="Setswana";
  189. elseif($languagecode=="bax"):
  190. $lang="Shü Pamom";
  191. elseif($languagecode=="ssw"):
  192. $lang="siSwati";
  193. elseif($languagecode=="twi"):
  194. $lang="Twi";
  195. elseif($languagecode=="urh"):
  196. $lang="Urhobo";
  197. elseif($languagecode=="wal"):
  198. $lang="Wolaytta";
  199. elseif($languagecode=="wol"):
  200. $lang="Wolof";
  201. elseif($languagecode=="tso"):
  202. $lang="Xitsonga";
  203. elseif($languagecode=="yat"):
  204. $lang="Yambeta";
  205. elseif($languagecode=="yor"):
  206. $lang="Yorùbá";
  207. elseif($languagecode=="dje"):
  208. $lang="Zarma";
  209. endif;
  210. return $lang;
  211. }
  212. ?>