Advertisement
Achhraf

Country code to country arabic names

Feb 11th, 2016
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.74 KB | None | 0 0
  1. function country_code_to_countryarabicname( $code ){
  2. $code = strtoupper($code);
  3. $return = '';
  4. if( $code == "ET" ) $return = "إثيوبيا " ;
  5.  
  6. if( $code == "AZ" ) $return = "أذربيجان " ;
  7.  
  8. if( $code == "AM" ) $return = "أرمينيا " ;
  9.  
  10. if( $code == "AW" ) $return = "أروبا " ;
  11.  
  12. if( $code == "ER" ) $return = "إريتريا " ;
  13.  
  14. if( $code == "ES" ) $return = "إسبانيا " ;
  15.  
  16. if( $code == "AU" ) $return = "أستراليا " ;
  17.  
  18. if( $code == "EE" ) $return = "إستونيا " ;
  19.  
  20. if( $code == "IL" ) $return = "إسرائيل " ;
  21.  
  22. if( $code == "AF" ) $return = "أفغانستان " ;
  23.  
  24. if( $code == "AL" ) $return = "ألبانيا " ;
  25.  
  26. if( $code == "DE" ) $return = "ألمانيا " ;
  27.  
  28. if( $code == "AQ" ) $return = "أنتاركتيكا " ;
  29.  
  30. if( $code == "AG" ) $return = "أنتيغوا وبربودا " ;
  31.  
  32. if( $code == "AD" ) $return = "أندورا " ;
  33.  
  34. if( $code == "ID" ) $return = "إندونيسيا " ;
  35.  
  36. if( $code == "AO" ) $return = "أنغولا " ;
  37.  
  38. if( $code == "AI" ) $return = "أنغويلا " ;
  39.  
  40. if( $code == "UY" ) $return = "أورغواي " ;
  41.  
  42. if( $code == "UZ" ) $return = "أوزبكستان " ;
  43.  
  44. if( $code == "UG" ) $return = "أوغندا " ;
  45.  
  46. if( $code == "UA" ) $return = "أوكرانيا " ;
  47.  
  48. if( $code == "IR" ) $return = "إيران " ;
  49.  
  50. if( $code == "IE" ) $return = "أيرلندا " ;
  51.  
  52. if( $code == "IS" ) $return = "أيسلندا " ;
  53.  
  54. if( $code == "IT" ) $return = "إيطاليا " ;
  55.  
  56. if( $code == "AR" ) $return = "الأرجنتين " ;
  57.  
  58. if( $code == "JO" ) $return = "الأردن" ;
  59.  
  60. if( $code == "TF" ) $return = "الأقاليم الجنوبية الفرنسية " ;
  61.  
  62. if( $code == "IO" ) $return = "الإقليم البريطاني في المحيط الهندي" ;
  63.  
  64. if( $code == "EC" ) $return = "الإكوادور " ;
  65.  
  66. if( $code == "AE" ) $return = "الإمارات العربية المتحدة" ;
  67.  
  68. if( $code == "BH" ) $return = "البحرين" ;
  69.  
  70. if( $code == "BR" ) $return = "البرازيل " ;
  71.  
  72. if( $code == "PT" ) $return = "البرتغال " ;
  73.  
  74. if( $code == "BS" ) $return = "البهاما " ;
  75.  
  76. if( $code == "BA" ) $return = "البوسنة والهرسك " ;
  77.  
  78. if( $code == "GA" ) $return = "الجابون " ;
  79.  
  80. if( $code == "ME" ) $return = "الجبل الأسود " ;
  81.  
  82. if( $code == "DZ" ) $return = "الجزائر " ;
  83.  
  84. if( $code == "DK" ) $return = "الدانمرك " ;
  85.  
  86. if( $code == "CV" ) $return = "الرأس الأخضر " ;
  87.  
  88. if( $code == "SV" ) $return = "السلفادور " ;
  89.  
  90. if( $code == "SN" ) $return = "السنغال " ;
  91.  
  92. if( $code == "SD" ) $return = "السودان" ;
  93.  
  94. if( $code == "SE" ) $return = "السويد " ;
  95.  
  96. if( $code == "EH" ) $return = "الصحراء الغربية" ;
  97.  
  98. if( $code == "SO" ) $return = "الصومال " ;
  99.  
  100. if( $code == "CN" ) $return = "الصين " ;
  101.  
  102. if( $code == "IQ" ) $return = "العراق" ;
  103.  
  104. if( $code == "VA" ) $return = "الفاتيكان " ;
  105.  
  106. if( $code == "PH" ) $return = "الفلبين " ;
  107.  
  108. if( $code == "CM" ) $return = "الكاميرون " ;
  109.  
  110. if( $code == "CG" ) $return = "الكونغو - برازافيل " ;
  111.  
  112. if( $code == "CD" ) $return = "الكونغو - كينشاسا " ;
  113.  
  114. if( $code == "KW" ) $return = "الكويت" ;
  115.  
  116. if( $code == "MA" ) $return = "المغرب " ;
  117.  
  118. if( $code == "MX" ) $return = "المكسيك " ;
  119.  
  120. if( $code == "SA" ) $return = "المملكة العربية السعودية" ;
  121.  
  122. if( $code == "GB" ) $return = "المملكة المتحدة " ;
  123.  
  124. if( $code == "NO" ) $return = "النرويج " ;
  125.  
  126. if( $code == "AT" ) $return = "النمسا " ;
  127.  
  128. if( $code == "NE" ) $return = "النيجر " ;
  129.  
  130. if( $code == "IN" ) $return = "الهند " ;
  131.  
  132. if( $code == "US" ) $return = "الولايات المتحدة " ;
  133.  
  134. if( $code == "JP" ) $return = "اليابان " ;
  135.  
  136. if( $code == "YE" ) $return = "اليمن" ;
  137.  
  138. if( $code == "GR" ) $return = "اليونان " ;
  139.  
  140. if( $code == "PG" ) $return = "بابوا غينيا الجديدة " ;
  141.  
  142. if( $code == "PY" ) $return = "باراغواي " ;
  143.  
  144. if( $code == "PK" ) $return = "باكستان " ;
  145.  
  146. if( $code == "PW" ) $return = "بالاو " ;
  147.  
  148. if( $code == "BW" ) $return = "بتسوانا " ;
  149.  
  150. if( $code == "BB" ) $return = "بربادوس " ;
  151.  
  152. if( $code == "BM" ) $return = "برمودا " ;
  153.  
  154. if( $code == "BN" ) $return = "بروناي " ;
  155.  
  156. if( $code == "BE" ) $return = "بلجيكا " ;
  157.  
  158. if( $code == "BG" ) $return = "بلغاريا " ;
  159.  
  160. if( $code == "BZ" ) $return = "بليز " ;
  161.  
  162. if( $code == "BD" ) $return = "بنجلاديش " ;
  163.  
  164. if( $code == "PA" ) $return = "بنما " ;
  165.  
  166. if( $code == "BJ" ) $return = "بنين " ;
  167.  
  168. if( $code == "BT" ) $return = "بوتان " ;
  169.  
  170. if( $code == "PR" ) $return = "بورتوريكو " ;
  171.  
  172. if( $code == "BF" ) $return = "بوركينا فاسو " ;
  173.  
  174. if( $code == "BI" ) $return = "بوروندي " ;
  175.  
  176. if( $code == "PL" ) $return = "بولندا " ;
  177.  
  178. if( $code == "BO" ) $return = "بوليفيا " ;
  179.  
  180. if( $code == "PF" ) $return = "بولينيزيا الفرنسية " ;
  181.  
  182. if( $code == "PE" ) $return = "بيرو " ;
  183.  
  184. if( $code == "BY" ) $return = "بيلاروس " ;
  185.  
  186. if( $code == "TH" ) $return = "تايلاند " ;
  187.  
  188. if( $code == "TW" ) $return = "تايوان " ;
  189.  
  190. if( $code == "TM" ) $return = "تركمانستان " ;
  191.  
  192. if( $code == "TR" ) $return = "تركيا " ;
  193.  
  194. if( $code == "TA" ) $return = "تريستان دي كونها " ;
  195.  
  196. if( $code == "TT" ) $return = "ترينيداد وتوباغو " ;
  197.  
  198. if( $code == "TD" ) $return = "تشاد " ;
  199.  
  200. if( $code == "CL" ) $return = "تشيلي " ;
  201.  
  202. if( $code == "TZ" ) $return = "تنزانيا " ;
  203.  
  204. if( $code == "TG" ) $return = "توغو " ;
  205.  
  206. if( $code == "TV" ) $return = "توفالو " ;
  207.  
  208. if( $code == "TK" ) $return = "توكيلو " ;
  209.  
  210. if( $code == "TN" ) $return = "تونس " ;
  211.  
  212. if( $code == "TO" ) $return = "تونغا " ;
  213.  
  214. if( $code == "TL" ) $return = "تيمور الشرقية " ;
  215.  
  216. if( $code == "JM" ) $return = "جامايكا " ;
  217.  
  218. if( $code == "GI" ) $return = "جبل طارق " ;
  219.  
  220. if( $code == "AX" ) $return = "جزر آلاند " ;
  221.  
  222. if( $code == "KM" ) $return = "جزر القمر" ;
  223.  
  224. if( $code == "KY" ) $return = "جزر الكايمن " ;
  225.  
  226. if( $code == "IC" ) $return = "جزر الكناري " ;
  227.  
  228. if( $code == "MH" ) $return = "جزر المارشال " ;
  229.  
  230. if( $code == "MV" ) $return = "جزر المالديف " ;
  231.  
  232. if( $code == "UM" ) $return = "جزر الولايات المتحدة النائية " ;
  233.  
  234. if( $code == "PN" ) $return = "جزر بيتكيرن " ;
  235.  
  236. if( $code == "TC" ) $return = "جزر توركس وكايكوس " ;
  237.  
  238. if( $code == "SB" ) $return = "جزر سليمان " ;
  239.  
  240. if( $code == "FO" ) $return = "جزر فارو " ;
  241.  
  242. if( $code == "VI" ) $return = "جزر فرجين الأمريكية " ;
  243.  
  244. if( $code == "VG" ) $return = "جزر فرجين البريطانية " ;
  245.  
  246. if( $code == "FK" ) $return = "جزر فوكلاند ‬‏)" ;
  247.  
  248. if( $code == "CK" ) $return = "جزر كوك " ;
  249.  
  250. if( $code == "CC" ) $return = "جزر كوكوس" ;
  251.  
  252. if( $code == "MP" ) $return = "جزر ماريانا الشمالية " ;
  253.  
  254. if( $code == "WF" ) $return = "جزر والس وفوتونا " ;
  255.  
  256. if( $code == "AC" ) $return = "جزيرة أسينشيون " ;
  257.  
  258. if( $code == "CX" ) $return = "جزيرة الكريسماس " ;
  259.  
  260. if( $code == "BV" ) $return = "جزيرة بوفيه " ;
  261.  
  262. if( $code == "CP" ) $return = "جزيرة كليبيرتون " ;
  263.  
  264. if( $code == "IM" ) $return = "جزيرة مان " ;
  265.  
  266. if( $code == "NF" ) $return = "جزيرة نورفوك " ;
  267.  
  268. if( $code == "HM" ) $return = "جزيرة هيرد وجزر ماكدونالد " ;
  269.  
  270. if( $code == "CF" ) $return = "جمهورية أفريقيا الوسطى " ;
  271.  
  272. if( $code == "CZ" ) $return = "جمهورية التشيك " ;
  273.  
  274. if( $code == "DO" ) $return = "جمهورية الدومينيك " ;
  275.  
  276. if( $code == "ZA" ) $return = "جنوب أفريقيا " ;
  277.  
  278. if( $code == "SS" ) $return = "جنوب السودان" ;
  279.  
  280. if( $code == "GE" ) $return = "جورجيا " ;
  281.  
  282. if( $code == "GS" ) $return = "جورجيا الجنوبية وجزر ساندويتش الجنوبية " ;
  283.  
  284. if( $code == "DJ" ) $return = "جيبوتي " ;
  285.  
  286. if( $code == "JE" ) $return = "جيرسي " ;
  287.  
  288. if( $code == "DM" ) $return = "دومينيكا " ;
  289.  
  290. if( $code == "DG" ) $return = "دييغو غارسيا " ;
  291.  
  292. if( $code == "RW" ) $return = "رواندا " ;
  293.  
  294. if( $code == "RU" ) $return = "روسيا " ;
  295.  
  296. if( $code == "RO" ) $return = "رومانيا " ;
  297.  
  298. if( $code == "RE" ) $return = "روينيون " ;
  299.  
  300. if( $code == "ZM" ) $return = "زامبيا " ;
  301.  
  302. if( $code == "ZW" ) $return = "زيمبابوي " ;
  303.  
  304. if( $code == "CI" ) $return = "ساحل العاج " ;
  305.  
  306. if( $code == "WS" ) $return = "ساموا " ;
  307.  
  308. if( $code == "AS" ) $return = "ساموا الأمريكية " ;
  309.  
  310. if( $code == "BL" ) $return = "سان بارتليمي " ;
  311.  
  312. if( $code == "PM" ) $return = "سانت بيير وميكولون " ;
  313.  
  314. if( $code == "VC" ) $return = "سانت فنسنت وغرنادين " ;
  315.  
  316. if( $code == "KN" ) $return = "سانت كيتس ونيفيس " ;
  317.  
  318. if( $code == "LC" ) $return = "سانت لوسيا " ;
  319.  
  320. if( $code == "MF" ) $return = "سانت مارتن " ;
  321.  
  322. if( $code == "SH" ) $return = "سانت هيلنا " ;
  323.  
  324. if( $code == "SM" ) $return = "سان مارينو " ;
  325.  
  326. if( $code == "ST" ) $return = "ساو تومي وبرينسيبي " ;
  327.  
  328. if( $code == "LK" ) $return = "سريلانكا " ;
  329.  
  330. if( $code == "SJ" ) $return = "سفالبارد وجان مايان " ;
  331.  
  332. if( $code == "SK" ) $return = "سلوفاكيا " ;
  333.  
  334. if( $code == "SI" ) $return = "سلوفينيا " ;
  335.  
  336. if( $code == "SG" ) $return = "سنغافورة " ;
  337.  
  338. if( $code == "SZ" ) $return = "سوازيلاند " ;
  339.  
  340. if( $code == "SY" ) $return = "سوريا" ;
  341.  
  342. if( $code == "SR" ) $return = "سورينام " ;
  343.  
  344. if( $code == "CH" ) $return = "سويسرا " ;
  345.  
  346. if( $code == "SL" ) $return = "سيراليون " ;
  347.  
  348. if( $code == "SC" ) $return = "سيشل " ;
  349.  
  350. if( $code == "SX" ) $return = "سينت مارتن " ;
  351.  
  352. if( $code == "EA" ) $return = "سيوتا وميليلا " ;
  353.  
  354. if( $code == "RS" ) $return = "صربيا " ;
  355.  
  356. if( $code == "TJ" ) $return = "طاجيكستان " ;
  357.  
  358. if( $code == "OM" ) $return = "عُمان" ;
  359.  
  360. if( $code == "GM" ) $return = "غامبيا " ;
  361.  
  362. if( $code == "GH" ) $return = "غانا " ;
  363.  
  364. if( $code == "GD" ) $return = "غرينادا " ;
  365.  
  366. if( $code == "GL" ) $return = "غرينلاند " ;
  367.  
  368. if( $code == "GT" ) $return = "غواتيمالا " ;
  369.  
  370. if( $code == "GP" ) $return = "غوادلوب " ;
  371.  
  372. if( $code == "GU" ) $return = "غوام " ;
  373.  
  374. if( $code == "GF" ) $return = "غويانا الفرنسية " ;
  375.  
  376. if( $code == "GY" ) $return = "غيانا " ;
  377.  
  378. if( $code == "GG" ) $return = "غيرنزي " ;
  379.  
  380. if( $code == "GN" ) $return = "غينيا " ;
  381.  
  382. if( $code == "GQ" ) $return = "غينيا الإستوائية " ;
  383.  
  384. if( $code == "GW" ) $return = "غينيا بيساو " ;
  385.  
  386. if( $code == "VU" ) $return = "فانواتو " ;
  387.  
  388. if( $code == "FR" ) $return = "فرنسا " ;
  389.  
  390. if( $code == "PS" ) $return = "فلسطين" ;
  391.  
  392. if( $code == "VE" ) $return = "فنزويلا " ;
  393.  
  394. if( $code == "FI" ) $return = "فنلندا " ;
  395.  
  396. if( $code == "VN" ) $return = "فيتنام " ;
  397.  
  398. if( $code == "FJ" ) $return = "فيجي " ;
  399.  
  400. if( $code == "CY" ) $return = "قبرص " ;
  401.  
  402. if( $code == "KG" ) $return = "قرغيزستان " ;
  403.  
  404. if( $code == "QA" ) $return = "قطر" ;
  405.  
  406. if( $code == "KZ" ) $return = "كازاخستان " ;
  407.  
  408. if( $code == "NC" ) $return = "كاليدونيا الجديدة " ;
  409.  
  410. if( $code == "HR" ) $return = "كرواتيا " ;
  411.  
  412. if( $code == "KH" ) $return = "كمبوديا " ;
  413.  
  414. if( $code == "CA" ) $return = "كندا " ;
  415.  
  416. if( $code == "CU" ) $return = "كوبا " ;
  417.  
  418. if( $code == "CW" ) $return = "كوراساو " ;
  419.  
  420. if( $code == "KR" ) $return = "كوريا الجنوبية " ;
  421.  
  422. if( $code == "KP" ) $return = "كوريا الشمالية " ;
  423.  
  424. if( $code == "CR" ) $return = "كوستاريكا " ;
  425.  
  426. if( $code == "XK" ) $return = "كوسوفو " ;
  427.  
  428. if( $code == "CO" ) $return = "كولومبيا " ;
  429.  
  430. if( $code == "KI" ) $return = "كيريباتي " ;
  431.  
  432. if( $code == "KE" ) $return = "كينيا " ;
  433.  
  434. if( $code == "LV" ) $return = "لاتفيا " ;
  435.  
  436. if( $code == "LA" ) $return = "لاوس " ;
  437.  
  438. if( $code == "LB" ) $return = "لبنان" ;
  439.  
  440. if( $code == "LU" ) $return = "لوكسمبورغ " ;
  441.  
  442. if( $code == "LY" ) $return = "ليبيا" ;
  443.  
  444. if( $code == "LR" ) $return = "ليبيريا " ;
  445.  
  446. if( $code == "LT" ) $return = "ليتوانيا " ;
  447.  
  448. if( $code == "LI" ) $return = "ليختنشتاين " ;
  449.  
  450. if( $code == "LS" ) $return = "ليسوتو " ;
  451.  
  452. if( $code == "MQ" ) $return = "مارتينيك " ;
  453.  
  454. if( $code == "MT" ) $return = "مالطا " ;
  455.  
  456. if( $code == "ML" ) $return = "مالي " ;
  457.  
  458. if( $code == "MY" ) $return = "ماليزيا " ;
  459.  
  460. if( $code == "YT" ) $return = "مايوت " ;
  461.  
  462. if( $code == "MG" ) $return = "مدغشقر " ;
  463.  
  464. if( $code == "EG" ) $return = "مصر" ;
  465.  
  466. if( $code == "MK" ) $return = "مقدونيا " ;
  467.  
  468. if( $code == "MO" ) $return = "مكاو " ;
  469.  
  470. if( $code == "MW" ) $return = "ملاوي " ;
  471.  
  472. if( $code == "MN" ) $return = "منغوليا " ;
  473.  
  474. if( $code == "MR" ) $return = "موريتانيا" ;
  475.  
  476. if( $code == "MU" ) $return = "موريشيوس " ;
  477.  
  478. if( $code == "MZ" ) $return = "موزمبيق " ;
  479.  
  480. if( $code == "MD" ) $return = "مولدافيا " ;
  481.  
  482. if( $code == "MC" ) $return = "موناكو " ;
  483.  
  484. if( $code == "MS" ) $return = "مونتسرات " ;
  485.  
  486. if( $code == "MM" ) $return = "ميانمار -بورما " ;
  487.  
  488. if( $code == "FM" ) $return = "ميكرونيزيا " ;
  489.  
  490. if( $code == "NA" ) $return = "ناميبيا " ;
  491.  
  492. if( $code == "NR" ) $return = "ناورو " ;
  493.  
  494. if( $code == "NP" ) $return = "نيبال " ;
  495.  
  496. if( $code == "NG" ) $return = "نيجيريا " ;
  497.  
  498. if( $code == "NI" ) $return = "نيكاراغوا " ;
  499.  
  500. if( $code == "NZ" ) $return = "نيوزيلندا " ;
  501.  
  502. if( $code == "NU" ) $return = "نيوي " ;
  503.  
  504. if( $code == "HT" ) $return = "هايتي " ;
  505.  
  506. if( $code == "HN" ) $return = "هندوراس " ;
  507.  
  508. if( $code == "HU" ) $return = "هنغاريا " ;
  509.  
  510. if( $code == "NL" ) $return = "هولندا " ;
  511.  
  512. if( $code == "BQ" ) $return = "هولندا الكاريبية " ;
  513.  
  514. return $return;
  515. }
  516.  
  517. // it's for free
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement