countries 4.2.0 → 4.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -1
  3. data/LICENSE +3 -1
  4. data/README.markdown +15 -17
  5. data/Rakefile +2 -0
  6. data/countries.gemspec +5 -5
  7. data/lib/countries/cache/countries.json +1 -1
  8. data/lib/countries/cache/locales/oc.json +1 -1
  9. data/lib/countries/cache/locales/ti.json +1 -1
  10. data/lib/countries/cache/locales/zu.json +1 -1
  11. data/lib/countries/configuration.rb +13 -0
  12. data/lib/countries/country/currency_methods.rb +4 -1
  13. data/lib/countries/country/emoji.rb +3 -0
  14. data/lib/countries/country.rb +105 -5
  15. data/lib/countries/data/countries/AE.yaml +1 -1
  16. data/lib/countries/data/countries/IL.yaml +0 -2
  17. data/lib/countries/data/countries/KH.yaml +1 -1
  18. data/lib/countries/data/countries/TW.yaml +1 -1
  19. data/lib/countries/data/subdivisions/AD.yaml +21 -21
  20. data/lib/countries/data/subdivisions/AF.yaml +2 -2
  21. data/lib/countries/data/subdivisions/AG.yaml +1 -1
  22. data/lib/countries/data/subdivisions/AI.yaml +98 -98
  23. data/lib/countries/data/subdivisions/AL.yaml +82 -626
  24. data/lib/countries/data/subdivisions/AZ.yaml +5 -5
  25. data/lib/countries/data/subdivisions/BA.yaml +11 -11
  26. data/lib/countries/data/subdivisions/BD.yaml +8 -8
  27. data/lib/countries/data/subdivisions/BE.yaml +2 -2
  28. data/lib/countries/data/subdivisions/BF.yaml +13 -13
  29. data/lib/countries/data/subdivisions/BI.yaml +3 -3
  30. data/lib/countries/data/subdivisions/BM.yaml +77 -77
  31. data/lib/countries/data/subdivisions/BS.yaml +22 -22
  32. data/lib/countries/data/subdivisions/BW.yaml +7 -7
  33. data/lib/countries/data/subdivisions/BY.yaml +1 -1
  34. data/lib/countries/data/subdivisions/CD.yaml +19 -19
  35. data/lib/countries/data/subdivisions/CG.yaml +1 -1
  36. data/lib/countries/data/subdivisions/CI.yaml +14 -14
  37. data/lib/countries/data/subdivisions/CK.yaml +77 -77
  38. data/lib/countries/data/subdivisions/CN.yaml +0 -107
  39. data/lib/countries/data/subdivisions/CV.yaml +9 -9
  40. data/lib/countries/data/subdivisions/DK.yaml +1 -0
  41. data/lib/countries/data/subdivisions/DO.yaml +11 -11
  42. data/lib/countries/data/subdivisions/EE.yaml +78 -2
  43. data/lib/countries/data/subdivisions/EH.yaml +12 -12
  44. data/lib/countries/data/subdivisions/ES.yaml +17 -17
  45. data/lib/countries/data/subdivisions/FI.yaml +16 -16
  46. data/lib/countries/data/subdivisions/FJ.yaml +14 -14
  47. data/lib/countries/data/subdivisions/GB.yaml +21 -20
  48. data/lib/countries/data/subdivisions/GH.yaml +7 -7
  49. data/lib/countries/data/subdivisions/GL.yaml +6 -6
  50. data/lib/countries/data/subdivisions/GN.yaml +7 -7
  51. data/lib/countries/data/subdivisions/GQ.yaml +1 -0
  52. data/lib/countries/data/subdivisions/GR.yaml +1 -1
  53. data/lib/countries/data/subdivisions/GW.yaml +3 -3
  54. data/lib/countries/data/subdivisions/HT.yaml +1 -1
  55. data/lib/countries/data/subdivisions/ID.yaml +41 -41
  56. data/lib/countries/data/subdivisions/IE.yaml +1 -2
  57. data/lib/countries/data/subdivisions/IN.yaml +4 -3
  58. data/lib/countries/data/subdivisions/IQ.yaml +1 -1
  59. data/lib/countries/data/subdivisions/IR.yaml +2 -1
  60. data/lib/countries/data/subdivisions/IS.yaml +72 -0
  61. data/lib/countries/data/subdivisions/IT.yaml +7 -8
  62. data/lib/countries/data/subdivisions/KG.yaml +1 -1
  63. data/lib/countries/data/subdivisions/KH.yaml +1 -1
  64. data/lib/countries/data/subdivisions/KN.yaml +2 -2
  65. data/lib/countries/data/subdivisions/KP.yaml +12 -12
  66. data/lib/countries/data/subdivisions/KR.yaml +1 -1
  67. data/lib/countries/data/subdivisions/KZ.yaml +1 -1
  68. data/lib/countries/data/subdivisions/LA.yaml +1 -1
  69. data/lib/countries/data/subdivisions/LB.yaml +2 -2
  70. data/lib/countries/data/subdivisions/LC.yaml +10 -10
  71. data/lib/countries/data/subdivisions/LK.yaml +9 -9
  72. data/lib/countries/data/subdivisions/LR.yaml +2 -2
  73. data/lib/countries/data/subdivisions/LT.yaml +60 -60
  74. data/lib/countries/data/subdivisions/LU.yaml +1 -1
  75. data/lib/countries/data/subdivisions/LV.yaml +1 -1
  76. data/lib/countries/data/subdivisions/MA.yaml +35 -35
  77. data/lib/countries/data/subdivisions/MC.yaml +17 -17
  78. data/lib/countries/data/subdivisions/MD.yaml +740 -740
  79. data/lib/countries/data/subdivisions/ME.yaml +3 -3
  80. data/lib/countries/data/subdivisions/MH.yaml +2 -2
  81. data/lib/countries/data/subdivisions/ML.yaml +2 -2
  82. data/lib/countries/data/subdivisions/MM.yaml +1 -1
  83. data/lib/countries/data/subdivisions/MR.yaml +3 -3
  84. data/lib/countries/data/subdivisions/MV.yaml +8 -8
  85. data/lib/countries/data/subdivisions/MW.yaml +4 -4
  86. data/lib/countries/data/subdivisions/MX.yaml +1 -1
  87. data/lib/countries/data/subdivisions/NL.yaml +6 -6
  88. data/lib/countries/data/subdivisions/NO.yaml +1 -0
  89. data/lib/countries/data/subdivisions/NP.yaml +12 -12
  90. data/lib/countries/data/subdivisions/NZ.yaml +1 -1
  91. data/lib/countries/data/subdivisions/OM.yaml +6 -6
  92. data/lib/countries/data/subdivisions/PG.yaml +3 -3
  93. data/lib/countries/data/subdivisions/PH.yaml +16 -16
  94. data/lib/countries/data/subdivisions/PK.yaml +2 -2
  95. data/lib/countries/data/subdivisions/PS.yaml +16 -16
  96. data/lib/countries/data/subdivisions/QA.yaml +2 -2
  97. data/lib/countries/data/subdivisions/RS.yaml +2 -2
  98. data/lib/countries/data/subdivisions/SC.yaml +4 -2
  99. data/lib/countries/data/subdivisions/SH.yaml +1 -1
  100. data/lib/countries/data/subdivisions/SI.yaml +19 -19
  101. data/lib/countries/data/subdivisions/SJ.yaml +14 -14
  102. data/lib/countries/data/subdivisions/SL.yaml +1 -1
  103. data/lib/countries/data/subdivisions/SN.yaml +3 -3
  104. data/lib/countries/data/subdivisions/SS.yaml +10 -10
  105. data/lib/countries/data/subdivisions/ST.yaml +6 -0
  106. data/lib/countries/data/subdivisions/TD.yaml +6 -6
  107. data/lib/countries/data/subdivisions/TH.yaml +1 -1
  108. data/lib/countries/data/subdivisions/TJ.yaml +2 -2
  109. data/lib/countries/data/subdivisions/TK.yaml +21 -21
  110. data/lib/countries/data/subdivisions/TM.yaml +1 -1
  111. data/lib/countries/data/subdivisions/TT.yaml +2 -2
  112. data/lib/countries/data/subdivisions/TV.yaml +1 -1
  113. data/lib/countries/data/subdivisions/TW.yaml +3 -17
  114. data/lib/countries/data/subdivisions/TZ.yaml +5 -5
  115. data/lib/countries/data/subdivisions/UG.yaml +59 -52
  116. data/lib/countries/data/subdivisions/UM.yaml +0 -10
  117. data/lib/countries/data/subdivisions/WF.yaml +3 -13
  118. data/lib/countries/data/subdivisions/YE.yaml +3 -3
  119. data/lib/countries/data/subdivisions/ZA.yaml +2 -2
  120. data/lib/countries/data/subdivisions/ZM.yaml +1 -1
  121. data/lib/countries/data.rb +5 -1
  122. data/lib/countries/global.rb +12 -0
  123. data/lib/countries/mongoid.rb +3 -0
  124. data/lib/countries/sources/cldr/downloader.rb +3 -0
  125. data/lib/countries/sources/cldr/subdivision.rb +1 -0
  126. data/lib/countries/sources/cldr/subdivision_updater.rb +1 -0
  127. data/lib/countries/sources/local/cached_loader.rb +2 -0
  128. data/lib/countries/sources/local/subdivision.rb +1 -0
  129. data/lib/countries/timezones.rb +4 -2
  130. data/lib/countries/translations.rb +2 -3
  131. data/lib/countries/version.rb +1 -1
  132. metadata +6 -35
  133. data/lib/countries/data/subdivisions/AS.yaml +0 -85
  134. data/lib/countries/data/subdivisions/AW.yaml +0 -9
  135. data/lib/countries/data/subdivisions/AX.yaml +0 -51
  136. data/lib/countries/data/subdivisions/BL.yaml +0 -11
  137. data/lib/countries/data/subdivisions/CP.yaml +0 -4
  138. data/lib/countries/data/subdivisions/CW.yaml +0 -9
  139. data/lib/countries/data/subdivisions/GF.yaml +0 -11
  140. data/lib/countries/data/subdivisions/GG.yaml +0 -155
  141. data/lib/countries/data/subdivisions/GP.yaml +0 -11
  142. data/lib/countries/data/subdivisions/GU.yaml +0 -275
  143. data/lib/countries/data/subdivisions/HK.yaml +0 -267
  144. data/lib/countries/data/subdivisions/IC.yaml +0 -4
  145. data/lib/countries/data/subdivisions/IM.yaml +0 -337
  146. data/lib/countries/data/subdivisions/JE.yaml +0 -169
  147. data/lib/countries/data/subdivisions/MF.yaml +0 -9
  148. data/lib/countries/data/subdivisions/MO.yaml +0 -9
  149. data/lib/countries/data/subdivisions/MP.yaml +0 -71
  150. data/lib/countries/data/subdivisions/MQ.yaml +0 -11
  151. data/lib/countries/data/subdivisions/MS.yaml +0 -43
  152. data/lib/countries/data/subdivisions/NC.yaml +0 -57
  153. data/lib/countries/data/subdivisions/PF.yaml +0 -81
  154. data/lib/countries/data/subdivisions/PM.yaml +0 -39
  155. data/lib/countries/data/subdivisions/PR.yaml +0 -1107
  156. data/lib/countries/data/subdivisions/RE.yaml +0 -11
  157. data/lib/countries/data/subdivisions/SX.yaml +0 -9
  158. data/lib/countries/data/subdivisions/TA.yaml +0 -4
  159. data/lib/countries/data/subdivisions/TF.yaml +0 -67
  160. data/lib/countries/data/subdivisions/VI.yaml +0 -57
  161. data/lib/countries/data/subdivisions/YT.yaml +0 -247
@@ -1 +1 @@
1
- {"AW":"Aruba","AF":"Afganistan","AO":"Angòla","AI":"Anguilla","AX":"Åland Islands","AL":"Albania","AD":"Andòrra","AE":"Emirats Arabs Units","AR":"Argentina","AM":"Armenia","AS":"Samoa americana","AQ":"Antartica","TF":"Tèrras australas francesas","AG":"Antigua e Barbuda","AU":"Australia","AT":"Austria","AZ":"Azerbaitjan","BI":"Burundi","BE":"Belgica","BJ":"Benin","BQ":"Bonaire, Sant Eustaqui e Saba","BF":"Burkina Faso","BD":"Bangladèsh","BG":"Bulgaria","BH":"Barein","BS":"Bahamas","BA":"Bòsnia e Ercegovina","BL":"Sant Bertomieu","BY":"Bielorussia","BZ":"Belize","BM":"Bermudas","BO":"Bolivia","BR":"Brasil","BB":"Barbada","BN":"Brunei","BT":"Botan","BV":"Illa Bouvet","BW":"Botswana","CF":"Republica de Centrafrica","CA":"Canadà","CC":"Illas Cocos (Keeling)","CH":"Soïssa","CL":"Chile","CN":"China","CI":"Còsta d'Evòri","CM":"Cameron","CD":"Còngo, Republica Democratica de","CG":"Còngo","CK":"Illas Cook","CO":"Colombia","KM":"Comòras","CV":"Cap Verd","CR":"Còsta Rica","CU":"Cuba","CW":"Curaçao","CX":"Illa Cristmas","KY":"Illas Caiman","CY":"Chipre","CZ":"Chequia","DE":"Alemanha","DJ":"Jiboti","DM":"Dominica","DK":"Danemarc","DO":"Republica Dominicana","DZ":"Argeria","EC":"Eqüator","EG":"Egipte","ER":"Eritrèa","EH":"Sahara occidental","ES":"Espanha","EE":"Estònia","ET":"Etiopia","FI":"Finlàndia","FJ":"Fiji","FK":"Illas Falkand (Malvinas)","FR":"França","FO":"Illas Feròe","FM":"Micronesia, Estats Federats de","GA":"Gabon","GB":"Reialme Unit","GE":"Georgia","GG":"Guernsey","GH":"Gana","GI":"Gibartar","GN":"Guinèa","GP":"Guadalope","GM":"Gàmbia","GW":"Guinèa-Bissau","GQ":"Guinèa eqüatoriala","GR":"Grècia","GD":"Granada","GL":"Groenlàndia","GT":"Guatemala","GF":"Guaiana francesa","GU":"Guam","GY":"Guyana","HK":"Hong Kong","HM":"Heard Island and McDonald Islands","HN":"Honduras","HR":"Croàcia","HT":"Haití","HU":"Ongria","ID":"Indonesia","IM":"Illa de Man","IN":"Índia","IO":"Territòris britanics de l'ocean indian","IE":"Irlanda","IR":"Republica Dominicana","IQ":"Iraq","IS":"Islàndia","IL":"Israel","IT":"Itàlia","JM":"Jamaica","JE":"Jersei","JO":"Jordania","JP":"Japon","KZ":"Cazacstan","KE":"Kenya","KG":"Kirguizstan","KH":"Cambòtja","KI":"Kiribati","KN":"St. Kitts e Nevis","KR":"Corèa del Sud","KW":"Koweit","LA":"Republica democratica populara del Laos","LB":"Liban","LR":"Libèria","LY":"Libia","LC":"St. Lucia","LI":"Liechtenstein","LK":"Sri Lanka","LS":"Lesoto","LT":"Lituània","LU":"Luxemborg","LV":"Letònia","MO":"Macau","MF":"Sant Martin (Part francesa)","MA":"Marròc","MC":"Mónegue","MD":"Moldàvia","MG":"Madagascar","MV":"Maldivas","MX":"Mexic","MH":"Illas Marshall","MK":"Macedònia del Nòrd","ML":"Mali","MT":"Malta","MM":"Birmania","ME":"Montenegro","MN":"Mongolia","MP":"Illas Marianas del Nòrd","MZ":"Moçambic","MR":"Mauritània","MS":"Montserrat","MQ":"Martinica","MU":"Maurici","MW":"Malawi","MY":"Malàisia","YT":"Maiòta","NA":"Namibia","NC":"Nòva Caledònia","NE":"Nigèr","NF":"Illa Norfolk","NG":"Nigèria","NI":"Nicaragua","NU":"Niue","NL":"Païses Basses","NO":"Norvègia","NP":"Nepal","NR":"Nauru","NZ":"Novèla Zelanda","OM":"Oman","PK":"Paquistan","PA":"Panamà","PN":"Illa de Pitcairn","PE":"Peró","PH":"Filipinas","PW":"Belau","PG":"Papoa Nòva Guinèa","PL":"Polonha","PR":"Puerto Rico","KP":"Corèa del Nòrd","PT":"Portugal","PY":"Paraguai","PS":"Palestina, estat de","PF":"Polinesia francesa","QA":"Qatar","RE":"Réunion","RO":"Romania","RU":"Federacion russa","RW":"Rwanda","SA":"Arabia saudita","SD":"Sodan","SN":"Senegal","SG":"Singapor","GS":"Illas Georgia del Sud e Sandwich del Sud","SH":"Santa Elena, Ascension, e Tristan da Cunha","SJ":"Svalbard e Jan Mayen","SB":"Illas Salomon","SL":"Sierra Leone","SV":"El Salvador","SM":"Sant Marin","SO":"Somalia","PM":"Sant Pèire e Miquelon","RS":"Serbia","SS":"Sodan del Sud","ST":"Sao Tomé e Principe","SR":"Surinam","SK":"Eslovaquia","SI":"Eslovènia","SE":"Suècia","SZ":"Eswatini","SX":"Sant Martin (Part neerlandesa)","SC":"Seichèlas","SY":"Republica Dominicana","TC":"Illas Turcas e Caïcas","TD":"Chad","TG":"Tògo","TH":"Tailàndia","TJ":"Tatgiquistan","TK":"Tokelau","TM":"Turcmenistan","TL":"Timor-Leste","TO":"Tònga","TT":"Trinitat e Tobago","TN":"Tunisia","TR":"Turquia","TV":"Tuvalu","TW":"Taiwan","TZ":"Tanzania","UG":"Oganda","UA":"Ucraïna","UM":"Islas perifericas Menores dels Estats Units","UY":"Uruguai","US":"Estats Units","UZ":"Ozbequistan","VA":"Santa Ses (Estat de la Ciutat de Vatican)","VC":"Sant Vincenç e las Grenadinas","VE":"Veneçuèla","VG":"Illas Verges, britanicas","VI":"illas Verges, EU","VN":"Vietnam","VU":"Vanuatu","WF":"Wallis e Futuna","WS":"Samoa","YE":"Iemèn","ZA":"Sudafrica","ZM":"Zambia","ZW":"Zimbabwe"}
1
+ {"AW":"Aruba","AF":"Afganistan","AO":"Angòla","AI":"Anguilla","AX":"Åland Islands","AL":"Albania","AD":"Andòrra","AE":"Emirats Arabs Units","AR":"Argentina","AM":"Armenia","AS":"Samoa americana","AQ":"Antartica","TF":"Tèrras australas francesas","AG":"Antigua e Barbuda","AU":"Australia","AT":"Àustria","AZ":"Azerbaitjan","BI":"Burundi","BE":"Belgica","BJ":"Benin","BQ":"Bonaire, Sant Eustaqui e Saba","BF":"Burkina Faso","BD":"Bangladèsh","BG":"Bulgaria","BH":"Barein","BS":"Bahamas","BA":"Bòsnia e Ercegovina","BL":"Sant Bertomieu","BY":"Bielorussia","BZ":"Belize","BM":"Bermudas","BO":"Bolivia","BR":"Brasil","BB":"Barbada","BN":"Brunei","BT":"Botan","BV":"Illa Bouvet","BW":"Botswana","CF":"Republica de Centrafrica","CA":"Canadà","CC":"Illas Cocos (Keeling)","CH":"Soïssa","CL":"Chile","CN":"China","CI":"Còsta d'Evòri","CM":"Cameron","CD":"Còngo, Republica Democratica de","CG":"Còngo","CK":"Illas Cook","CO":"Colombia","KM":"Comòras","CV":"Cap Verd","CR":"Còsta Rica","CU":"Cuba","CW":"Curaçao","CX":"Illa Cristmas","KY":"Illas Caiman","CY":"Chipre","CZ":"Chequia","DE":"Alemanha","DJ":"Jiboti","DM":"Dominica","DK":"Danemarc","DO":"Republica Dominicana","DZ":"Argeria","EC":"Eqüator","EG":"Egipte","ER":"Eritrèa","EH":"Sahara occidental","ES":"Espanha","EE":"Estònia","ET":"Etiopia","FI":"Finlàndia","FJ":"Fiji","FK":"Illas Falkand (Malvinas)","FR":"França","FO":"Illas Feròe","FM":"Micronesia, Estats Federats de","GA":"Gabon","GB":"Reialme Unit","GE":"Georgia","GG":"Guernsey","GH":"Gana","GI":"Gibartar","GN":"Guinèa","GP":"Guadalope","GM":"Gàmbia","GW":"Guinèa-Bissau","GQ":"Guinèa eqüatoriala","GR":"Grècia","GD":"Granada","GL":"Groenlàndia","GT":"Guatemala","GF":"Guaiana francesa","GU":"Guam","GY":"Guyana","HK":"Hong Kong","HM":"Heard Island and McDonald Islands","HN":"Honduras","HR":"Croàcia","HT":"Haití","HU":"Ongria","ID":"Indonesia","IM":"Illa de Man","IN":"Índia","IO":"Territòris britanics de l'ocean indian","IE":"Irlanda","IR":"Republica Dominicana","IQ":"Iraq","IS":"Islàndia","IL":"Israel","IT":"Itàlia","JM":"Jamaica","JE":"Jersei","JO":"Jordania","JP":"Japon","KZ":"Cazacstan","KE":"Kenya","KG":"Kirguizstan","KH":"Cambòtja","KI":"Kiribati","KN":"St. Kitts e Nevis","KR":"Corèa del Sud","KW":"Koweit","LA":"Republica democratica populara del Laos","LB":"Liban","LR":"Libèria","LY":"Libia","LC":"St. Lucia","LI":"Liechtenstein","LK":"Sri Lanka","LS":"Lesoto","LT":"Lituània","LU":"Luxemborg","LV":"Letònia","MO":"Macau","MF":"Sant Martin (Part francesa)","MA":"Marròc","MC":"Mónegue","MD":"Moldàvia","MG":"Madagascar","MV":"Maldivas","MX":"Mexic","MH":"Illas Marshall","MK":"Macedònia del Nòrd","ML":"Mali","MT":"Malta","MM":"Birmania","ME":"Montenegro","MN":"Mongolia","MP":"Illas Marianas del Nòrd","MZ":"Moçambic","MR":"Mauritània","MS":"Montserrat","MQ":"Martinica","MU":"Maurici","MW":"Malawi","MY":"Malàisia","YT":"Maiòta","NA":"Namibia","NC":"Nòva Caledònia","NE":"Nigèr","NF":"Illa Norfolk","NG":"Nigèria","NI":"Nicaragua","NU":"Niue","NL":"Païses Basses","NO":"Norvègia","NP":"Nepal","NR":"Nauru","NZ":"Novèla Zelanda","OM":"Oman","PK":"Paquistan","PA":"Panamà","PN":"Illa de Pitcairn","PE":"Peró","PH":"Filipinas","PW":"Belau","PG":"Papoa Nòva Guinèa","PL":"Polonha","PR":"Puerto Rico","KP":"Corèa del Nòrd","PT":"Portugal","PY":"Paraguai","PS":"Palestina, estat de","PF":"Polinesia francesa","QA":"Qatar","RE":"Réunion","RO":"Romania","RU":"Federacion russa","RW":"Rwanda","SA":"Arabia saudita","SD":"Sodan","SN":"Senegal","SG":"Singapor","GS":"Illas Georgia del Sud e Sandwich del Sud","SH":"Santa Elena, Ascension, e Tristan da Cunha","SJ":"Svalbard e Jan Mayen","SB":"Illas Salomon","SL":"Sierra Leone","SV":"El Salvador","SM":"Sant Marin","SO":"Somalia","PM":"Sant Pèire e Miquelon","RS":"Serbia","SS":"Sodan del Sud","ST":"Sao Tomé e Principe","SR":"Surinam","SK":"Eslovaquia","SI":"Eslovènia","SE":"Suècia","SZ":"Eswatini","SX":"Sant Martin (Part neerlandesa)","SC":"Seichèlas","SY":"Republica Dominicana","TC":"Illas Turcas e Caïcas","TD":"Chad","TG":"Tògo","TH":"Tailàndia","TJ":"Tatgiquistan","TK":"Tokelau","TM":"Turcmenistan","TL":"Timor-Leste","TO":"Tònga","TT":"Trinitat e Tobago","TN":"Tunisia","TR":"Turquia","TV":"Tuvalu","TW":"Taiwan","TZ":"Tanzania","UG":"Oganda","UA":"Ucraïna","UM":"Islas perifericas Menores dels Estats Units","UY":"Uruguai","US":"Estats Units","UZ":"Ozbequistan","VA":"Santa Ses (Estat de la Ciutat de Vatican)","VC":"Sant Vincenç e las Grenadinas","VE":"Veneçuèla","VG":"Illas Verges, britanicas","VI":"illas Verges, EU","VN":"Vietnam","VU":"Vanuatu","WF":"Wallis e Futuna","WS":"Samoa","YE":"Iemèn","ZA":"Sudafrica","ZM":"Zambia","ZW":"Zimbabwe"}
@@ -1 +1 @@
1
- {"AW":"ኣሩባ","AF":"ኣፍጋኒስታን","AO":"ኣንጎላ","AI":"Anguilla","AX":"Åland Islands","AL":"አልባኒያ","AD":"አንዶራ","AE":"የተባበሩት አረብ ኤምሬትስ","AR":"ኣርጀንቲና","AM":"ኣርሜንያ","AS":"American Samoa","AQ":"Antarctica","TF":"የፈረንሳይ ደቡባዊ ግዛቶች","AG":"Antigua and Barbuda","AU":"ኣውስትራልያ","AT":"ኦስትሪያ","AZ":"ኣዘርባጃን","BI":"Burundi","BE":"ቤልጄም","BJ":"ቤኒን","BQ":"Bonaire, Sint Eustatius and Saba","BF":"ቡርኪና ፋሶ","BD":"Bangladesh","BG":"ቡልጌሪያ","BH":"ባህሬን","BS":"Bahamas","BA":"ቦስኒያ እና ሄርዞጎቪኒያ","BL":"Saint Barthélemy","BY":"ቤላሩስ","BZ":"ቤሊዘ","BM":"ቤርሙዳ","BO":"ቦሊቭያ","BR":"ብራዚል","BB":"ባርቤዶስ","BN":"Brunei Darussalam","BT":"ቡህታን","BV":"Bouvet Island","BW":"ቦትስዋና","CF":"ሪፓብሊክ ማእከላይ ኣፍሪቃ","CA":"ካናዳ","CC":"Cocos (Keeling) Islands","CH":"ስዊዘርላንድ","CL":"ቺሊ","CN":"ቻይና","CI":"Côte d'Ivoire","CM":"ካሜሩን","CD":"ደሞክራስያዊት ሪፓብሊክ ኮንጎ","CG":"ኮንጎ","CK":"Cook Islands","CO":"ኮሎምብያ","KM":"ኮሞሮስ","CV":"Cabo Verde","CR":"ኮስታ ሪካ","CU":"ኩባ","CW":"Curaçao","CX":"Christmas Island","KY":"Cayman Islands","CY":"ሳይፕረስ","CZ":"Czechia","DE":"ጀርመን","DJ":"ጂቡቲ","DM":"ዶሚኒካ","DK":"ዴንማርክ","DO":"ዶሚኒካዊት ሪፓብሊክ","DZ":"አልጄሪያ","EC":"ኤኳዶር","EG":"ግብጺ","ER":"ኤርትራ","EH":"ምዕራባዊ ሳህራ","ES":"ስጳኛ","EE":"ኤስቶኒያ","ET":"ኢትዮጵያ","FI":"ፊንላንድ","FJ":"ፊጂ","FK":"Falkland Islands (Malvinas)","FR":"ፈረንሳ","FO":"Faroe Islands","FM":"Micronesia, Federated States of","GA":"Gabon","GB":"ብሪጣንያ","GE":"ጆርጂያ","GG":"Guernsey","GH":"Ghana","GI":"Gibraltar","GN":"ጊኒ","GP":"Guadeloupe","GM":"ጋምቢያ","GW":"ቢሳዎ","GQ":"ኢኳቶሪያል ጊኒ","GR":"ግሪኽ","GD":"Grenada","GL":"Greenland","GT":"ጓቲማላ","GF":"የፈረንሳይ ጉዊአና","GU":"Guam","GY":"ጉያና","HK":"ሆንግ ኮንግ","HM":"Heard Island and McDonald Islands","HN":"ሆንዱራስ","HR":"ክሮኤሽያ","HT":"ሀይቲ","HU":"ሀንጋሪ","ID":"ኢንዶኔዢያ","IM":"Isle of Man","IN":"ህንዲ","IO":"British Indian Ocean Territory","IE":"አየርላንድ","IR":"Iran, Islamic Republic of","IQ":"ዒራቅ","IS":"አይስላንድ","IL":"እስራኤል","IT":"ኢጣልያ","JM":"ጃማይካ","JE":"Jersey","JO":"ጆርዳን","JP":"ጃፓን","KZ":"Kazakhstan","KE":"ኬንያ","KG":"Kyrgyzstan","KH":"ካምቦዲያ","KI":"Kiribati","KN":"Saint Kitts and Nevis","KR":"South Korea","KW":"ክዌት","LA":"Lao People's Democratic Republic","LB":"ሊባኖስ","LR":"Liberia","LY":"ሊብያ","LC":"Saint Lucia","LI":"Liechtenstein","LK":"ስሪ ላንካ","LS":"Lesotho","LT":"ሊቱዌኒያ","LU":"Luxembourg","LV":"ላትቪያ","MO":"Macao","MF":"Saint Martin (French part)","MA":"ሞሮኮ","MC":"Monaco","MD":"Moldova","MG":"ማዳጋስካር","MV":"Maldives","MX":"ሜክሲኮ","MH":"Marshall Islands","MK":"North Macedonia","ML":"ማሊ","MT":"ማልታ","MM":"Myanmar","ME":"Montenegro","MN":"ሞንጎልያ","MP":"Northern Mariana Islands","MZ":"ሞዛምቢክ","MR":"ሞሪቴኒያ","MS":"Montserrat","MQ":"Martinique","MU":"ማሩሸስ","MW":"ማላዊ","MY":"ማሌዢያ","YT":"Mayotte","NA":"ናሚቢያ","NC":"ኒው ካሌዶኒያ","NE":"ናይጀር","NF":"Norfolk Island","NG":"ናይጄሪያ","NI":"ኒካራጓ","NU":"Niue","NL":"ኔዘርላንድ","NO":"ኖርወይ","NP":"ኔፓል","NR":"Nauru","NZ":"ኒው ዚላንድ","OM":"Oman","PK":"ፓኪስታን","PA":"ፓናማ","PN":"Pitcairn","PE":"ፔሩ","PH":"Philippines","PW":"Palau","PG":"ፓፑዋ ኒው ጊኒ","PL":"ፖላንድ","PR":"ፖርታ ሪኮ","KP":"North Korea","PT":"ፖርቱጋል","PY":"ፓራጓይ","PS":"Palestine, State of","PF":"የፈረንሳይ ፖሊኔዢያ","QA":"Qatar","RE":"Réunion","RO":"ሮሜኒያ","RU":"Russian Federation","RW":"ሩዋንዳ","SA":"ሰዑዲ ዓረብ","SD":"ሱዳን","SN":"ሴኔጋል","SG":"ሲንጋፖር","GS":"South Georgia and the South Sandwich Islands","SH":"Saint Helena, Ascension and Tristan da Cunha","SJ":"Svalbard and Jan Mayen","SB":"Solomon Islands","SL":"Sierra Leone","SV":"ኤል ሳልቫዶር","SM":"San Marino","SO":"ሶማልያ","PM":"Saint Pierre and Miquelon","RS":"Serbia","SS":"ደቡብ ሱዳን","ST":"Sao Tome and Principe","SR":"ሱሪናም","SK":"ስሎቫኪያ","SI":"ስሎቬኒያ","SE":"ስወደን","SZ":"Eswatini","SX":"Sint Maarten (Dutch part)","SC":"Seychelles","SY":"Syrian Arab Republic","TC":"Turks and Caicos Islands","TD":"ቻድ","TG":"ቶጎ","TH":"ታይላንድ","TJ":"ታጃኪስታን","TK":"Tokelau","TM":"Turkmenistan","TL":"ምስራቅ ቲሞር","TO":"Tonga","TT":"ትሪኒዳድን ቶባጎን","TN":"ቱኒዝያ","TR":"ቱርኪ","TV":"Tuvalu","TW":"ታይዋን","TZ":"ታንዛንያ","UG":"ዩጋንዳ","UA":"ዩክረይን","UM":"United States Minor Outlying Islands","UY":"ኡራጓይ","US":"ኣመሪካ","UZ":"ኡዝበኪስታን","VA":"Holy See (Vatican City State)","VC":"Saint Vincent and the Grenadines","VE":"ቬኔዝዌላ","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","VN":"ቬትናም","VU":"Vanuatu","WF":"Wallis and Futuna","WS":"Samoa","YE":"የመን","ZA":"ደቡብ ኣፍሪቃ","ZM":"ዛምቢያ","ZW":"ዚምባብዌ"}
1
+ {"AW":"ኣሩባ","AF":"ኣፍጋኒስታን","AO":"ኣንጎላ","AI":"Anguilla","AX":"Åland Islands","AL":"አልባኒያ","AD":"አንዶራ","AE":"የተባበሩት አረብ ኤምሬትስ","AR":"ኣርጀንቲና","AM":"ኣርሜንያ","AS":"American Samoa","AQ":"ኣንታርክቲካ","TF":"የፈረንሳይ ደቡባዊ ግዛቶች","AG":"Antigua and Barbuda","AU":"ኣውስትራልያ","AT":"ኦስትሪያ","AZ":"ኣዘርባጃን","BI":"ቡሩንዲ","BE":"ቤልጄም","BJ":"ቤኒን","BQ":"Bonaire, Sint Eustatius and Saba","BF":"ቡርኪና ፋሶ","BD":"ባንግላዴሽ","BG":"ቡልጋሪያ","BH":"ባህሬን","BS":"ባሃማስ","BA":"ቦስኒያ እና ሄርዞጎቪኒያ","BL":"Saint Barthélemy","BY":"ቤላሩስ","BZ":"ቤሊዝ","BM":"ቤርሙዳ","BO":"ቦሊቭያ","BR":"ብራዚል","BB":"ባርቤዶስ","BN":"Brunei Darussalam","BT":"ቡህታን","BV":"Bouvet Island","BW":"ቦትስዋና","CF":"ሪፓብሊክ ማእከላይ ኣፍሪቃ","CA":"ካናዳ","CC":"Cocos (Keeling) Islands","CH":"ስዊዘርላንድ","CL":"ቺሊ","CN":"ቻይና","CI":"Côte d'Ivoire","CM":"ካሜሩን","CD":"ደሞክራስያዊት ሪፓብሊክ ኮንጎ","CG":"ኮንጎ","CK":"Cook Islands","CO":"ኮሎምብያ","KM":"ኮሞሮስ","CV":"Cabo Verde","CR":"ኮስታ ሪካ","CU":"ኩባ","CW":"Curaçao","CX":"Christmas Island","KY":"Cayman Islands","CY":"ሳይፕረስ","CZ":"Czechia","DE":"ጀርመን","DJ":"ጂቡቲ","DM":"ዶሚኒካ","DK":"ዴንማርክ","DO":"ዶሚኒካዊት ሪፓብሊክ","DZ":"አልጄሪያ","EC":"ኤኳዶር","EG":"ግብጺ","ER":"ኤርትራ","EH":"ምዕራባዊ ሳህራ","ES":"ስጳኛ","EE":"ኤስቶኒያ","ET":"ኢትዮጵያ","FI":"ፊንላንድ","FJ":"ፊጂ","FK":"Falkland Islands (Malvinas)","FR":"ፈረንሳ","FO":"Faroe Islands","FM":"Micronesia, Federated States of","GA":"Gabon","GB":"ብሪጣንያ","GE":"ጆርጂያ","GG":"Guernsey","GH":"Ghana","GI":"Gibraltar","GN":"ጊኒ","GP":"Guadeloupe","GM":"ጋምቢያ","GW":"ቢሳዎ","GQ":"ኢኳቶሪያል ጊኒ","GR":"ግሪኽ","GD":"Grenada","GL":"Greenland","GT":"ጓቲማላ","GF":"የፈረንሳይ ጉዊአና","GU":"Guam","GY":"ጉያና","HK":"ሆንግ ኮንግ","HM":"Heard Island and McDonald Islands","HN":"ሆንዱራስ","HR":"ክሮኤሽያ","HT":"ሀይቲ","HU":"ሀንጋሪ","ID":"ኢንዶኔዢያ","IM":"Isle of Man","IN":"ህንዲ","IO":"British Indian Ocean Territory","IE":"አየርላንድ","IR":"Iran, Islamic Republic of","IQ":"ዒራቅ","IS":"አይስላንድ","IL":"እስራኤል","IT":"ኢጣልያ","JM":"ጃማይካ","JE":"Jersey","JO":"ጆርዳን","JP":"ጃፓን","KZ":"Kazakhstan","KE":"ኬንያ","KG":"Kyrgyzstan","KH":"ካምቦዲያ","KI":"Kiribati","KN":"Saint Kitts and Nevis","KR":"South Korea","KW":"ክዌት","LA":"Lao People's Democratic Republic","LB":"ሊባኖስ","LR":"Liberia","LY":"ሊብያ","LC":"Saint Lucia","LI":"Liechtenstein","LK":"ስሪ ላንካ","LS":"Lesotho","LT":"ሊቱዌኒያ","LU":"Luxembourg","LV":"ላትቪያ","MO":"Macao","MF":"Saint Martin (French part)","MA":"ሞሮኮ","MC":"Monaco","MD":"Moldova","MG":"ማዳጋስካር","MV":"Maldives","MX":"ሜክሲኮ","MH":"Marshall Islands","MK":"North Macedonia","ML":"ማሊ","MT":"ማልታ","MM":"Myanmar","ME":"Montenegro","MN":"ሞንጎልያ","MP":"Northern Mariana Islands","MZ":"ሞዛምቢክ","MR":"ሞሪቴኒያ","MS":"Montserrat","MQ":"Martinique","MU":"ማሩሸስ","MW":"ማላዊ","MY":"ማሌዢያ","YT":"Mayotte","NA":"ናሚቢያ","NC":"ኒው ካሌዶኒያ","NE":"ናይጀር","NF":"Norfolk Island","NG":"ናይጄሪያ","NI":"ኒካራጓ","NU":"Niue","NL":"ኔዘርላንድ","NO":"ኖርወይ","NP":"ኔፓል","NR":"Nauru","NZ":"ኒው ዚላንድ","OM":"Oman","PK":"ፓኪስታን","PA":"ፓናማ","PN":"Pitcairn","PE":"ፔሩ","PH":"Philippines","PW":"Palau","PG":"ፓፑዋ ኒው ጊኒ","PL":"ፖላንድ","PR":"ፖርታ ሪኮ","KP":"North Korea","PT":"ፖርቱጋል","PY":"ፓራጓይ","PS":"Palestine, State of","PF":"የፈረንሳይ ፖሊኔዢያ","QA":"Qatar","RE":"Réunion","RO":"ሮሜኒያ","RU":"Russian Federation","RW":"ሩዋንዳ","SA":"ሰዑዲ ዓረብ","SD":"ሱዳን","SN":"ሴኔጋል","SG":"ሲንጋፖር","GS":"South Georgia and the South Sandwich Islands","SH":"Saint Helena, Ascension and Tristan da Cunha","SJ":"Svalbard and Jan Mayen","SB":"Solomon Islands","SL":"Sierra Leone","SV":"ኤል ሳልቫዶር","SM":"San Marino","SO":"ሶማልያ","PM":"Saint Pierre and Miquelon","RS":"Serbia","SS":"ደቡብ ሱዳን","ST":"Sao Tome and Principe","SR":"ሱሪናም","SK":"ስሎቫኪያ","SI":"ስሎቬኒያ","SE":"ስወደን","SZ":"Eswatini","SX":"Sint Maarten (Dutch part)","SC":"Seychelles","SY":"Syrian Arab Republic","TC":"Turks and Caicos Islands","TD":"ቻድ","TG":"ቶጎ","TH":"ታይላንድ","TJ":"ታጃኪስታን","TK":"Tokelau","TM":"Turkmenistan","TL":"ምስራቅ ቲሞር","TO":"Tonga","TT":"ትሪኒዳድን ቶባጎን","TN":"ቱኒዝያ","TR":"ቱርኪ","TV":"Tuvalu","TW":"ታይዋን","TZ":"ታንዛንያ","UG":"ዩጋንዳ","UA":"ዩክረይን","UM":"United States Minor Outlying Islands","UY":"ኡራጓይ","US":"ኣመሪካ","UZ":"ኡዝበኪስታን","VA":"Holy See (Vatican City State)","VC":"Saint Vincent and the Grenadines","VE":"ቬኔዝዌላ","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","VN":"ቬትናም","VU":"Vanuatu","WF":"Wallis and Futuna","WS":"Samoa","YE":"የመን","ZA":"ደቡብ ኣፍሪቃ","ZM":"ዛምቢያ","ZW":"ዚምባብዌ"}
@@ -1 +1 @@
1
- {"AW":"Aruba","AF":"I-Afganistani","AO":"I-Angola","AI":"Anguilla","AX":"Åland Islands","AL":"I-Albaniya","AD":"I-Andora","AE":"United Arab Emirates","AR":"I-Argentina","AM":"Armenia","AS":"American Samoa","AQ":"Antarctica","TF":"French Southern Territories","AG":"Antigua no Barbuda","AU":"I-Australiya","AT":"I-Austriyiya","AZ":"I-Azerbayijani","BI":"IBurundi","BE":"Isi-Bhelijiyamu","BJ":"IBenini","BQ":"Bonaire, Sint Eustatius and Saba","BF":"IBukhina Faso","BD":"Isi-Bhangladeshi","BG":"I-Buligariya","BH":"Bahrain","BS":"Bahamas","BA":"IBhosniya neHerzegovina","BL":"Saint Barthélemy","BY":"I Bhelarusi","BZ":"Belize","BM":"Bermuda","BO":"I Boliviya","BR":"I Brazili","BB":"I-Barbados","BN":"Brunei Darussalam","BT":"Bhutan","BV":"Bouvet Island","BW":"IButswana","CF":"Central African Republic","CA":"I Khanada","CC":"Cocos (Keeling) Islands","CH":"I-Switzerland","CL":"I-Chile","CN":"Isi-Shayina","CI":"Côte d'Ivoire","CM":"IKamerooni","CD":"Congo, The Democratic Republic of the","CG":"Congo","CK":"Cook Islands","CO":"Colombia","KM":"IsiKhomorosi","CV":"Cabo Verde","CR":"Costa Rica","CU":"Cuba","CW":"Curaçao","CX":"Christmas Island","KY":"Cayman Islands","CY":"Cyprus","CZ":"Czechia","DE":"Isi-Jalimani","DJ":"IJibuthi","DM":"Dominica","DK":"Isi-Denimaki","DO":"Ulawulo lokuziphatha kwe Dominikhani","DZ":"IAljiriya","EC":"Ecuador","EG":"IGibhithe","ER":"I-Eritrea","EH":"Western Sahara","ES":"Isi-Spayini","EE":"I-Estoniya","ET":"I-Ithiopia","FI":"I-Finilandi","FJ":"IFiji","FK":"Falkland Islands (Malvinas)","FR":"Isi Frentshi","FO":"Faroe Islands","FM":"Micronesia, Federated States of","GA":"IGaboni","GB":"United Kingdom","GE":"Georgia","GG":"Guernsey","GH":"IGana","GI":"Gibraltar","GN":"IGini","GP":"Guadeloupe","GM":"Gambia","GW":"IGini Bisawu","GQ":"IGini Enkabazwe","GR":"I-Grisi","GD":"I-Grenada","GL":"Greenland","GT":"I-Guwathemala","GF":"French Guiana","GU":"Guam","GY":"Guyana","HK":"Hong Kong","HM":"Heard Island and McDonald Islands","HN":"I-Hondurasi","HR":"I-Crowathiya","HT":"Haiti","HU":"I-Hungariya","ID":"I-Indoneshiya","IM":"Isle of Man","IN":"India","IO":"British Indian Ocean Territory","IE":"I-Irelandi","IR":"Iran, Islamic Republic of","IQ":"I-Iraki","IS":"I-Icelandi","IL":"I-Sirayeli","IT":"I-Ithali","JM":"Jamaica","JE":"Jersey","JO":"Jordan","JP":"I-Japhani","KZ":"Kazakhstan","KE":"Kenya","KG":"Kyrgyzstan","KH":"Cambodia","KI":"Kiribati","KN":"St. Kitts no Nevis","KR":"South Korea","KW":"Kuwait","LA":"Lao People's Democratic Republic","LB":"Lebanon","LR":"ILiberia","LY":"ILibiya","LC":"Saint Lucia","LI":"Liechtenstein","LK":"Sri Lanka","LS":"Lesotho","LT":"I-Lithuwaniya","LU":"I-Luxembourg","LV":"I-Latviya","MO":"Macao","MF":"Saint Martin (French part)","MA":"Morocco","MC":"Monaco","MD":"Moldova","MG":"Madagascar","MV":"Maldives","MX":"I-Mexico","MH":"Marshall Islands","MK":"North Macedonia","ML":"IMali","MT":"I-Malta","MM":"Myanmar","ME":"Montenegro","MN":"Mongolia","MP":"Northern Mariana Islands","MZ":"IMozambiki","MR":"IMoritaniya","MS":"Montserrat","MQ":"Martinique","MU":"IMorishisi","MW":"IMalawi","MY":"Malaysia","YT":"IMayotte","NA":"INamibhiya","NC":"New Caledonia","NE":"INayighe","NF":"Norfolk Island","NG":"INigeria","NI":"Nicaragua","NU":"Niue","NL":"I-Netherlands","NO":"I-Noweyi","NP":"Nepal","NR":"Nauru","NZ":"I-New Zealand","OM":"Oman","PK":"Pakistan","PA":"I-Panama","PN":"Pitcairn","PE":"I-Peru","PH":"Philippines","PW":"Palau","PG":"Papua New Guinea","PL":"I-Polandi","PR":"Puerto Rico","KP":"North Korea","PT":"I-Phothugali","PY":"I-Paraguwayi","PS":"Palestine, State of","PF":"French Polynesia","QA":"Qatar","RE":"Réunion","RO":"I-Romaniya","RU":"Russian Federation","RW":"IRuwanda","SA":"Saudi Arabia","SD":"ISudan","SN":"ISenegal","SG":"Singapore","GS":"South Georgia and the South Sandwich Islands","SH":"Saint Helena, Ascension and Tristan da Cunha","SJ":"Svalbard and Jan Mayen","SB":"Solomon Islands","SL":"ISiera Liyoni","SV":"I-El Salvador","SM":"San Marino","SO":"ISomalia","PM":"Saint Pierre and Miquelon","RS":"Serbia","SS":"ISudan yaseNingizimu","ST":"ISawu Tome noPhrinitshipeyi","SR":"Suriname","SK":"Isi-Slovaki","SI":"Isi-Sloveniya","SE":"Isi-Swideni","SZ":"Eswatini","SX":"Sint Maarten (Dutch part)","SC":"Seychelles","SY":"Syrian Arab Republic","TC":"Turks and Caicos Islands","TD":"ITshedi","TG":"ITogo","TH":"I-Thayilandi","TJ":"Tajikistan","TK":"Tokelau","TM":"Turkmenistan","TL":"Timor-Leste","TO":"Tonga","TT":"I-Trinidad ne Tobago","TN":"ITunisia","TR":"I-Turkey","TV":"Tuvalu","TW":"I-Tayiwani","TZ":"ITanzania","UG":"Uganda","UA":"I-Ukraine","UM":"United States Minor Outlying Islands","UY":"I-Uruguwayi","US":"United States","UZ":"Uzbekistan","VA":"Holy See (Vatican City State)","VC":"Saint Vincent and the Grenadines","VE":"I-Venezuwela","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","VN":"Vietnam","VU":"Vanuatu","WF":"Wallis and Futuna","WS":"Samoa","YE":"IYemen","ZA":"IRiphabliki yaseNingizimu Afrika","ZM":"IZambiya","ZW":"IZimbabwe"}
1
+ {"AW":"Aruba","AF":"I-Afganistani","AO":"I-Angola","AI":"Anguilla","AX":"Åland Islands","AL":"I-Albaniya","AD":"I-Andora","AE":"United Arab Emirates","AR":"I-Argentina","AM":"Armenia","AS":"American Samoa","AQ":"Antarctica","TF":"French Southern Territories","AG":"Antigua no Barbuda","AU":"I-Ostreliya","AT":"I-Ostriya","AZ":"I-Azerbayijani","BI":"IBurundi","BE":"Isi-Bhelijiyamu","BJ":"IBenini","BQ":"Bonaire, Sint Eustatius and Saba","BF":"IBukhina Faso","BD":"Isi-Bhangladeshi","BG":"IBulgariya","BH":"Bahrain","BS":"Bahamas","BA":"IBhosniya neHerzegovina","BL":"Saint Barthélemy","BY":"IBelarusi","BZ":"Belize","BM":"Bermuda","BO":"I Boliviya","BR":"IBrazili","BB":"I-Barbados","BN":"Brunei Darussalam","BT":"Bhutan","BV":"Bouvet Island","BW":"IButswana","CF":"Central African Republic","CA":"I Khanada","CC":"Cocos (Keeling) Islands","CH":"I-Switzerland","CL":"I-Chile","CN":"Isi-Shayina","CI":"Côte d'Ivoire","CM":"IKamerooni","CD":"Congo, The Democratic Republic of the","CG":"Congo","CK":"Cook Islands","CO":"IKolombiya","KM":"IsiKhomorosi","CV":"Cabo Verde","CR":"Costa Rica","CU":"Cuba","CW":"Curaçao","CX":"Christmas Island","KY":"Cayman Islands","CY":"Cyprus","CZ":"Czechia","DE":"IJalimani","DJ":"IJibuthi","DM":"Dominica","DK":"IDenimaki","DO":"Ulawulo lokuziphatha kwe Dominikhani","DZ":"IAljiriya","EC":"Ecuador","EG":"IGibhithe","ER":"I-Eritrea","EH":"Western Sahara","ES":"ISpeyini","EE":"I-Estoniya","ET":"I-Ithiopia","FI":"IFinlandi","FJ":"IFiji","FK":"Falkland Islands (Malvinas)","FR":"IFulansi","FO":"Faroe Islands","FM":"Micronesia, Federated States of","GA":"IGaboni","GB":"Umbuso Ohlangeneyo","GE":"Georgia","GG":"Guernsey","GH":"IGana","GI":"Gibraltar","GN":"IGini","GP":"Guadeloupe","GM":"Gambia","GW":"IGini Bisawu","GQ":"IGini Enkabazwe","GR":"IGreki","GD":"I-Grenada","GL":"Greenland","GT":"I-Guwathemala","GF":"French Guiana","GU":"Guam","GY":"Guyana","HK":"Hong Kong","HM":"Heard Island and McDonald Islands","HN":"I-Hondurasi","HR":"IKrowati","HT":"Haiti","HU":"I-Hungariya","ID":"I-Indonesia","IM":"Isle of Man","IN":"India","IO":"British Indian Ocean Territory","IE":"I-Ayilendi","IR":"Iran, Islamic Republic of","IQ":"I-Iraki","IS":"I-Ayisilandi","IL":"Isreyili","IT":"ITaliya","JM":"Jamaica","JE":"Jersey","JO":"Jordan","JP":"IJaphani","KZ":"Kazakhstan","KE":"IKenya","KG":"Kyrgyzstan","KH":"Cambodia","KI":"Kiribati","KN":"Saint Kitts and Nevis","KR":"South Korea","KW":"Kuwait","LA":"Lao People's Democratic Republic","LB":"Lebanon","LR":"ILiberia","LY":"ILibiya","LC":"Saint Lucia","LI":"Liechtenstein","LK":"Sri Lanka","LS":"OSotho","LT":"ILithuwaniya","LU":"I-Luxembourg","LV":"ILatviya","MO":"Macao","MF":"Saint Martin (French part)","MA":"IMorokho","MC":"Monaco","MD":"Moldova","MG":"IMadagasika","MV":"Maldives","MX":"IMekisiko","MH":"Marshall Islands","MK":"North Macedonia","ML":"IMali","MT":"IMalta","MM":"Myanmar","ME":"IMontenegro","MN":"Mongolia","MP":"Northern Mariana Islands","MZ":"IMozambiki","MR":"IMoritaniya","MS":"Montserrat","MQ":"Martinique","MU":"IMorishisi","MW":"IMalawi","MY":"Malaysia","YT":"IMayotte","NA":"INamibhiya","NC":"New Caledonia","NE":"INayighe","NF":"Norfolk Island","NG":"INigeria","NI":"Nicaragua","NU":"Niue","NL":"I-Netherlands","NO":"INoki","NP":"Nepal","NR":"Nauru","NZ":"INyuzilandi","OM":"Oman","PK":"IPakistani","PA":"Panama","PN":"Pitcairn","PE":"I-Peru","PH":"Philippines","PW":"Palau","PG":"Papua New Guinea","PL":"IPolandi","PR":"Puerto Rico","KP":"North Korea","PT":"IPhothugali","PY":"I-Paraguwayi","PS":"Palestine, State of","PF":"French Polynesia","QA":"Qatar","RE":"IRiyunion","RO":"I-Romaniya","RU":"Russian Federation","RW":"IRuwanda","SA":"Saudi Arabia","SD":"ISudan","SN":"ISenegal","SG":"Singapore","GS":"South Georgia and the South Sandwich Islands","SH":"Saint Helena, Ascension and Tristan da Cunha","SJ":"Svalbard and Jan Mayen","SB":"Solomon Islands","SL":"ISiera Liyoni","SV":"El Salvador","SM":"USanti Marino","SO":"ISomalia","PM":"Saint Pierre and Miquelon","RS":"ISerbiya","SS":"ISudan yaseNingizimu","ST":"ISawu Tome noPhrinitshipeyi","SR":"Suriname","SK":"ISlovaki","SI":"ISloveniya","SE":"ISwidi","SZ":"Eswatini","SX":"Sint Maarten (Dutch part)","SC":"IsiSeyisheli","SY":"Syrian Arab Republic","TC":"Turks and Caicos Islands","TD":"ITshedi","TG":"ITogo","TH":"I-Thayilandi","TJ":"Tajikistan","TK":"Tokelau","TM":"Turkmenistan","TL":"Timor-Leste","TO":"Tonga","TT":"I-Trinidad ne Tobago","TN":"ITunisia","TR":"ITheki","TV":"Tuvalu","TW":"I-Tayiwani","TZ":"ITanzania","UG":"IYuganda","UA":"I-Yukreyini","UM":"United States Minor Outlying Islands","UY":"I-Uruguwayi","US":"United States","UZ":"Uzbekistan","VA":"Holy See (Vatican City State)","VC":"Saint Vincent and the Grenadines","VE":"I-Venezuwela","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","VN":"IViyetnami","VU":"Vanuatu","WF":"Wallis and Futuna","WS":"Samoa","YE":"IYemen","ZA":"IRiphabliki yaseNingizimu Afrika","ZM":"IZambiya","ZW":"IZimbabwe"}
@@ -24,6 +24,19 @@ module ISO3166
24
24
  @loaded_locales = []
25
25
  end
26
26
 
27
+ # Enables the integration with the {Money}[https://github.com/RubyMoney/money] gem
28
+ #
29
+ # Please note that it requires you to add "money" gem to your gemfile.
30
+ #
31
+ # gem "money", "~> 6.9"
32
+ #
33
+ # *WARNING* if you have a top level class named +Money+ you will conflict with this gem.
34
+ #
35
+ # @example
36
+ # c = ISO3166::Country['us']
37
+ # c.currency.iso_code # => 'USD'
38
+ # c.currency.name # => 'United States Dollar'
39
+ # c.currency.symbol # => '$'
27
40
  def enable_currency_extension!
28
41
  require 'countries/country/currency_methods'
29
42
  ISO3166::Country.prepend(ISO3166::CountryCurrencyMethods)
@@ -1,8 +1,11 @@
1
1
  require 'money'
2
2
 
3
3
  module ISO3166
4
- # Optional extension which allows you to get back a Money::Currency object with all the currency info
4
+ # Optional extension which allows you to get back a +Money::Currency+ object with all the currency info.
5
+ # This requires enabling the integration with the {Money}[https://github.com/RubyMoney/money] gem (See {ISO3166::Configuration#enable_currency_extension!})
5
6
  module CountryCurrencyMethods
7
+
8
+ # @return [Money::Currency] The currency data for this Country's +currency_code+
6
9
  def currency
7
10
  Money::Currency.find(data['currency_code'])
8
11
  end
@@ -32,6 +32,9 @@ module ISO3166
32
32
  'z' => '🇿'
33
33
  }.freeze
34
34
 
35
+ # @return [String] the emoji flag for this country
36
+ #
37
+ # The emoji flag for this country, using Unicode Regional Indicator characters. e.g: "U+1F1FA U+1F1F8" for 🇺🇸
35
38
  def emoji_flag
36
39
  alpha2.downcase.chars.map { |c| CODE_POINTS[c] }.join('')
37
40
  end
@@ -65,14 +65,12 @@ module ISO3166
65
65
  to_s <=> other.to_s
66
66
  end
67
67
 
68
- def start_of_week
69
- data['start_of_week']
70
- end
71
-
68
+ # +true+ if this Country has any Subdivisions.
72
69
  def subdivisions?
73
70
  !subdivisions.empty?
74
71
  end
75
72
 
73
+ # @return [Array<ISO3166::Subdivision>] the list of subdivisions for this Country.
76
74
  def subdivisions
77
75
  @subdivisions ||= if data['subdivisions']
78
76
  self.class.create_subdivisions(data['subdivisions'])
@@ -81,20 +79,25 @@ module ISO3166
81
79
  end
82
80
  end
83
81
 
82
+ # @param locale [String] The locale to use for translations.
83
+ # @return [Array<Array>] This Country's subdivision pairs of names and codes.
84
84
  def subdivision_names_with_codes(locale = 'en')
85
85
  subdivisions.map { |k, v| [v.translations[locale] || v.name, k] }
86
86
  end
87
87
 
88
88
  alias states subdivisions
89
89
 
90
+ # +true+ if this country is a member of the European Union.
90
91
  def in_eu?
91
92
  data['eu_member'].nil? ? false : data['eu_member']
92
93
  end
93
94
 
95
+ # +true+ if this country is a member of the European Economic Area.
94
96
  def in_eea?
95
97
  data['eea_member'].nil? ? false : data['eea_member']
96
98
  end
97
99
 
100
+ # +true+ if this country is a member of the European Single Market.
98
101
  def in_esm?
99
102
  data['esm_member'].nil? ? in_eea? : data['esm_member']
100
103
  end
@@ -103,20 +106,24 @@ module ISO3166
103
106
  data['iso_short_name']
104
107
  end
105
108
 
109
+ # @return [Array<String>] the list of names for this Country in all loaded locales.
106
110
  def translated_names
107
111
  data['translations'].values
108
112
  end
109
113
 
114
+ # @param locale [String] The locale to use for translations.
115
+ # @return [String] the name of this Country in the selected locale.
110
116
  def translation(locale = 'en')
111
117
  data['translations'][locale.to_s.downcase]
112
118
  end
113
119
 
120
+ # @return [String] the “common name” of this Country in English.
114
121
  def common_name
115
122
  ISO3166.configuration.locales = ISO3166.configuration.locales.append(:en).uniq
116
123
  translation('en')
117
124
  end
118
125
 
119
- # TODO: Looping through locale langs could be be very slow across multiple countries
126
+ # @return [Array<String>] TThe list of names for this Country, in this Country's locales.
120
127
  def local_names
121
128
  ISO3166.configuration.locales = (ISO3166.configuration.locales + languages.map(&:to_sym)).uniq
122
129
  reload
@@ -124,10 +131,13 @@ module ISO3166
124
131
  @local_names ||= languages.map { |language| translations[language] }
125
132
  end
126
133
 
134
+ # @return [String] The name for this Country, in this Country's locale.
127
135
  def local_name
128
136
  @local_name ||= local_names.first
129
137
  end
130
138
 
139
+ # @return [String] This Country's ISO Short Name
140
+ # @deprecated Use {#iso_short_name} instead.
131
141
  def name
132
142
  if RUBY_VERSION =~ /^3\.\d\.\d/
133
143
  warn "DEPRECATION WARNING: The Country#name method has been deprecated. Please use Country#iso_short_name instead or refer to the README file for more information on this change.", uplevel: 1, category: :deprecated
@@ -137,6 +147,8 @@ module ISO3166
137
147
  iso_short_name
138
148
  end
139
149
 
150
+ # @return [Array<String>] Array of unofficial, slang names or aliases for this Country
151
+ # @deprecated Use {#unofficial_names} instead.
140
152
  def names
141
153
  if RUBY_VERSION =~ /^3\.\d\.\d/
142
154
  warn "DEPRECATION WARNING: The Country#names method has been deprecated. Please use Country#unofficial_names instead or refer to the README file for more information on this change.", uplevel: 1, category: :deprecated
@@ -146,6 +158,94 @@ module ISO3166
146
158
  unofficial_names
147
159
  end
148
160
 
161
+ # @!attribute alpha2
162
+ # @return [String] the ISO3166 alpha-2 code for this Country
163
+ #
164
+ # @!attribute alpha3
165
+ # @return [String] the ISO3166 alpha-3 code for this Country
166
+ #
167
+ # @!attribute address_format
168
+ # @return [String] a template for formatting addresses in this Country.
169
+ #
170
+ # @!attribute continent
171
+ # @return [String] the continent for this Country
172
+ #
173
+ # @!attribute country_code
174
+ # @return [String] the country calling code for this Country
175
+ #
176
+ # @!attribute currency_code
177
+ # @return [String] the ISO 4217 currency code for this Country
178
+ #
179
+ # @!attribute gec
180
+ # @return [String] the "Geopolitical Entities and Codes", formerly FIPS 10-4 code for this Country
181
+ #
182
+ # @!attribute geo
183
+ # @return [Hash] the hash of coordinates for this Country.
184
+ #
185
+ # @!attribute international_prefix
186
+ # @return [String] the phone prefix used in this Country for dialing international numbers
187
+ #
188
+ # @!attribute ioc
189
+ # @return [String] The International Olympic Committee code for for this Country
190
+ #
191
+ # @!attribute national_destination_code_lengths
192
+ # @return [Array<Integer>] Lengths of phone number destination codes
193
+ #
194
+ # @!attribute national_number_lengths
195
+ # @return [Array<Integer>] Lengths of phone numbers
196
+ #
197
+ # @!attribute national_prefix
198
+ # @return [String] the phone prefix used in this Country for dialing national numbers
199
+ #
200
+ # @!attribute nanp_prefix
201
+ # @return [String] the NANP prefix code
202
+ #
203
+ # @!attribute nationality
204
+ # @return [String] the nationality for this Country, in English
205
+ #
206
+ # @!attribute number
207
+ # @return [String] The ISO 3166-1 numeric code for this Country
208
+ #
209
+ # @!attribute languages_official
210
+ # @return [Array<String>] the list of official languages (locale codes) for this Country
211
+ #
212
+ # @!attribute languages_spoken
213
+ # @return [Array<String>] the list of spoken languages (locale codes) for this Country
214
+ #
215
+ # @!attribute translations
216
+ # @return [Hash] The hash of country name translations for this Country.
217
+ #
218
+ # @!attribute postal_code
219
+ # @return [Boolean] Does this Country uses postal codes in addresses
220
+ #
221
+ # @!attribute postal_code_format
222
+ # @return [String] The regex for valid postal codes in this Country
223
+ #
224
+ # @!attribute region
225
+ # @return [String] The Region this country is in. Approximately matches the United Nations geoscheme
226
+ #
227
+ # @!attribute unofficial_names
228
+ # @return [Array<String>] Array of unofficial, slang names or aliases for this Country
229
+ #
230
+ # @!attribute start_of_week
231
+ # @return [String] The starting day of the week ( +'monday'+ or +'sunday'+ )
232
+ #
233
+ # @!attribute subregion
234
+ # @return [String] The Subegion this country is in. Approximately matches the United Nations geoscheme's Subregions
235
+ #
236
+ # @!attribute un_locode
237
+ # @return [String] The UN/LOCODE prefix for this Country
238
+ #
239
+ # @!attribute vat_rates
240
+ # @return [Hash] the hash of VAT Rates for this Country
241
+ #
242
+ # @!attribute world_region
243
+ # @return [String] The "World Region" this country is in: +"AMER"+ , +"APAC"+ or +"EMEA"+
244
+
245
+
246
+
247
+ private
248
+
149
249
  def reload
150
250
  @data = if @country_data_or_code.is_a?(Hash)
151
251
  @country_data_or_code
@@ -44,7 +44,7 @@ AE:
44
44
  number: '784'
45
45
  postal_code: false
46
46
  region: Asia
47
- start_of_week: sunday
47
+ start_of_week: monday
48
48
  subregion: Western Asia
49
49
  un_locode: AE
50
50
  unofficial_names:
@@ -55,8 +55,6 @@ IL:
55
55
  reduced: []
56
56
  super_reduced:
57
57
  parking:
58
- postal_code: true
59
- postal_code_format: "\\d{5}(?:\\d{2})?"
60
58
  unofficial_names:
61
59
  - Israel
62
60
  - Israël
@@ -36,7 +36,7 @@ KH:
36
36
  nationality: Cambodian
37
37
  number: '116'
38
38
  postal_code: true
39
- postal_code_format: "\\d{5}"
39
+ postal_code_format: "\\d{5,6}"
40
40
  region: Asia
41
41
  start_of_week: monday
42
42
  subregion: South-Eastern Asia
@@ -42,7 +42,7 @@ TW:
42
42
  nationality: Taiwanese
43
43
  number: '158'
44
44
  postal_code: true
45
- postal_code_format: "\\d{3}(?:\\d{2})?"
45
+ postal_code_format: "\\d{3}(?:\\d{2,3})?"
46
46
  region: Asia
47
47
  start_of_week: monday
48
48
  subregion: Eastern Asia
@@ -1,7 +1,7 @@
1
1
  ---
2
- '02':
2
+ '02':
3
3
  name: Canillo
4
- code:
4
+ code:
5
5
  unofficial_names: Canillo
6
6
  geo:
7
7
  latitude: 42.5666535
@@ -12,10 +12,10 @@
12
12
  max_longitude: 1.6037142
13
13
  translations:
14
14
  en: Canillo
15
- comments:
16
- '03':
15
+ comments:
16
+ '03':
17
17
  name: Encamp
18
- code:
18
+ code:
19
19
  unofficial_names: Encamp
20
20
  geo:
21
21
  latitude: 42.5362652
@@ -26,10 +26,10 @@
26
26
  max_longitude: 1.5901645
27
27
  translations:
28
28
  en: Encamp
29
- comments:
30
- '04':
29
+ comments:
30
+ '04':
31
31
  name: La Massana
32
- code:
32
+ code:
33
33
  unofficial_names: La Massana
34
34
  geo:
35
35
  latitude: 42.545625
@@ -40,10 +40,10 @@
40
40
  max_longitude: 1.5204314
41
41
  translations:
42
42
  en: La Massana
43
- comments:
44
- '05':
43
+ comments:
44
+ '05':
45
45
  name: Ordino
46
- code:
46
+ code:
47
47
  unofficial_names: Ordino
48
48
  geo:
49
49
  latitude: 42.5556547
@@ -54,10 +54,10 @@
54
54
  max_longitude: 1.5374774
55
55
  translations:
56
56
  en: Ordino
57
- comments:
58
- '06':
57
+ comments:
58
+ '06':
59
59
  name: Sant Julià de Lòria
60
- code:
60
+ code:
61
61
  unofficial_names:
62
62
  - Saint Julia de Loria
63
63
  geo:
@@ -69,10 +69,10 @@
69
69
  max_longitude: 1.4963642
70
70
  translations:
71
71
  en: Sant Julià de Lòria
72
- comments:
73
- '07':
72
+ comments:
73
+ '07':
74
74
  name: Andorra la Vella
75
- code:
75
+ code:
76
76
  unofficial_names:
77
77
  - Andorra la Vieja
78
78
  - Andorre-la-Vieille
@@ -85,10 +85,10 @@
85
85
  max_longitude: 1.5353385
86
86
  translations:
87
87
  en: Andorra la Vella
88
- comments:
89
- '08':
88
+ comments:
89
+ '08':
90
90
  name: Escaldes-Engordany
91
- code:
91
+ code:
92
92
  unofficial_names:
93
93
  - Les Escaldes
94
94
  geo:
@@ -100,4 +100,4 @@
100
100
  max_longitude: 1.5532685
101
101
  translations:
102
102
  en: Escaldes-Engordany
103
- comments:
103
+ comments:
@@ -2264,7 +2264,7 @@ ZAB:
2264
2264
  'no': Zabol
2265
2265
  comments:
2266
2266
  LOG:
2267
- name:
2267
+ name: لوګر ولايت
2268
2268
  code:
2269
2269
  unofficial_names:
2270
2270
  geo:
@@ -2331,7 +2331,7 @@ LOG:
2331
2331
  'no': Lowgar
2332
2332
  comments:
2333
2333
  URU:
2334
- name:
2334
+ name: روزګان ولايت
2335
2335
  code:
2336
2336
  unofficial_names:
2337
2337
  geo:
@@ -401,7 +401,7 @@ X2~:
401
401
  en: Redonda
402
402
  comments:
403
403
  '11':
404
- name:
404
+ name: Redonda
405
405
  code:
406
406
  unofficial_names:
407
407
  geo: