countries 5.0.2 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (485) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/README.markdown +13 -7
  4. data/Rakefile +15 -21
  5. data/UPGRADE.md +15 -2
  6. data/countries.gemspec +0 -1
  7. data/lib/countries/cache/locales/ab.json +1 -1
  8. data/lib/countries/cache/locales/af.json +1 -1
  9. data/lib/countries/cache/locales/ak.json +1 -1
  10. data/lib/countries/cache/locales/am.json +1 -1
  11. data/lib/countries/cache/locales/an.json +1 -1
  12. data/lib/countries/cache/locales/ar.json +1 -1
  13. data/lib/countries/cache/locales/as.json +1 -1
  14. data/lib/countries/cache/locales/ay.json +1 -1
  15. data/lib/countries/cache/locales/az.json +1 -1
  16. data/lib/countries/cache/locales/ba.json +1 -1
  17. data/lib/countries/cache/locales/be.json +1 -1
  18. data/lib/countries/cache/locales/bg.json +1 -1
  19. data/lib/countries/cache/locales/bi.json +1 -1
  20. data/lib/countries/cache/locales/bn-in.json +1 -1
  21. data/lib/countries/cache/locales/bn.json +1 -1
  22. data/lib/countries/cache/locales/br.json +1 -1
  23. data/lib/countries/cache/locales/bs.json +1 -1
  24. data/lib/countries/cache/locales/ca.json +1 -1
  25. data/lib/countries/cache/locales/ce.json +1 -1
  26. data/lib/countries/cache/locales/ch.json +1 -1
  27. data/lib/countries/cache/locales/cs.json +1 -1
  28. data/lib/countries/cache/locales/cv.json +1 -1
  29. data/lib/countries/cache/locales/cy.json +1 -1
  30. data/lib/countries/cache/locales/da.json +1 -1
  31. data/lib/countries/cache/locales/de.json +1 -1
  32. data/lib/countries/cache/locales/dv.json +1 -1
  33. data/lib/countries/cache/locales/dz.json +1 -1
  34. data/lib/countries/cache/locales/ee.json +1 -1
  35. data/lib/countries/cache/locales/el.json +1 -1
  36. data/lib/countries/cache/locales/en.json +1 -1
  37. data/lib/countries/cache/locales/eo.json +1 -1
  38. data/lib/countries/cache/locales/es.json +1 -1
  39. data/lib/countries/cache/locales/et.json +1 -1
  40. data/lib/countries/cache/locales/eu.json +1 -1
  41. data/lib/countries/cache/locales/fa.json +1 -1
  42. data/lib/countries/cache/locales/ff.json +1 -1
  43. data/lib/countries/cache/locales/fi.json +1 -1
  44. data/lib/countries/cache/locales/fo.json +1 -1
  45. data/lib/countries/cache/locales/fr.json +1 -1
  46. data/lib/countries/cache/locales/fy.json +1 -1
  47. data/lib/countries/cache/locales/ga.json +1 -1
  48. data/lib/countries/cache/locales/gl.json +1 -1
  49. data/lib/countries/cache/locales/gn.json +1 -1
  50. data/lib/countries/cache/locales/gu.json +1 -1
  51. data/lib/countries/cache/locales/gv.json +1 -1
  52. data/lib/countries/cache/locales/ha.json +1 -1
  53. data/lib/countries/cache/locales/he.json +1 -1
  54. data/lib/countries/cache/locales/hi.json +1 -1
  55. data/lib/countries/cache/locales/hr.json +1 -1
  56. data/lib/countries/cache/locales/ht.json +1 -1
  57. data/lib/countries/cache/locales/hu.json +1 -1
  58. data/lib/countries/cache/locales/hy.json +1 -1
  59. data/lib/countries/cache/locales/ia.json +1 -1
  60. data/lib/countries/cache/locales/id.json +1 -1
  61. data/lib/countries/cache/locales/io.json +1 -1
  62. data/lib/countries/cache/locales/is.json +1 -1
  63. data/lib/countries/cache/locales/it.json +1 -1
  64. data/lib/countries/cache/locales/iu.json +1 -1
  65. data/lib/countries/cache/locales/ja.json +1 -1
  66. data/lib/countries/cache/locales/ka.json +1 -1
  67. data/lib/countries/cache/locales/ki.json +1 -1
  68. data/lib/countries/cache/locales/kk.json +1 -1
  69. data/lib/countries/cache/locales/kl.json +1 -1
  70. data/lib/countries/cache/locales/km.json +1 -1
  71. data/lib/countries/cache/locales/kn.json +1 -1
  72. data/lib/countries/cache/locales/ko.json +1 -1
  73. data/lib/countries/cache/locales/kv.json +1 -1
  74. data/lib/countries/cache/locales/kw.json +1 -1
  75. data/lib/countries/cache/locales/ky.json +1 -1
  76. data/lib/countries/cache/locales/lo.json +1 -1
  77. data/lib/countries/cache/locales/lt.json +1 -1
  78. data/lib/countries/cache/locales/lv.json +1 -1
  79. data/lib/countries/cache/locales/mi.json +1 -1
  80. data/lib/countries/cache/locales/mk.json +1 -1
  81. data/lib/countries/cache/locales/ml.json +1 -1
  82. data/lib/countries/cache/locales/mn.json +1 -1
  83. data/lib/countries/cache/locales/mr.json +1 -1
  84. data/lib/countries/cache/locales/ms.json +1 -1
  85. data/lib/countries/cache/locales/mt.json +1 -1
  86. data/lib/countries/cache/locales/my.json +1 -1
  87. data/lib/countries/cache/locales/na.json +1 -1
  88. data/lib/countries/cache/locales/nb.json +1 -1
  89. data/lib/countries/cache/locales/ne.json +1 -1
  90. data/lib/countries/cache/locales/nl.json +1 -1
  91. data/lib/countries/cache/locales/nn.json +1 -1
  92. data/lib/countries/cache/locales/nv.json +1 -1
  93. data/lib/countries/cache/locales/oc.json +1 -1
  94. data/lib/countries/cache/locales/or.json +1 -1
  95. data/lib/countries/cache/locales/pa.json +1 -1
  96. data/lib/countries/cache/locales/pi.json +1 -1
  97. data/lib/countries/cache/locales/pl.json +1 -1
  98. data/lib/countries/cache/locales/ps.json +1 -1
  99. data/lib/countries/cache/locales/pt-br.json +1 -1
  100. data/lib/countries/cache/locales/pt.json +1 -1
  101. data/lib/countries/cache/locales/ro.json +1 -1
  102. data/lib/countries/cache/locales/ru.json +1 -1
  103. data/lib/countries/cache/locales/rw.json +1 -1
  104. data/lib/countries/cache/locales/sc.json +1 -1
  105. data/lib/countries/cache/locales/sd.json +1 -1
  106. data/lib/countries/cache/locales/si.json +1 -1
  107. data/lib/countries/cache/locales/sk.json +1 -1
  108. data/lib/countries/cache/locales/sl.json +1 -1
  109. data/lib/countries/cache/locales/so.json +1 -1
  110. data/lib/countries/cache/locales/sq.json +1 -1
  111. data/lib/countries/cache/locales/sr.json +1 -1
  112. data/lib/countries/cache/locales/sv.json +1 -1
  113. data/lib/countries/cache/locales/sw.json +1 -1
  114. data/lib/countries/cache/locales/ta.json +1 -1
  115. data/lib/countries/cache/locales/te.json +1 -1
  116. data/lib/countries/cache/locales/tg.json +1 -1
  117. data/lib/countries/cache/locales/th.json +1 -1
  118. data/lib/countries/cache/locales/ti.json +1 -1
  119. data/lib/countries/cache/locales/tk.json +1 -1
  120. data/lib/countries/cache/locales/tl.json +1 -1
  121. data/lib/countries/cache/locales/tr.json +1 -1
  122. data/lib/countries/cache/locales/tt.json +1 -1
  123. data/lib/countries/cache/locales/ug.json +1 -1
  124. data/lib/countries/cache/locales/uk.json +1 -1
  125. data/lib/countries/cache/locales/ur.json +1 -1
  126. data/lib/countries/cache/locales/uz.json +1 -1
  127. data/lib/countries/cache/locales/ve.json +1 -1
  128. data/lib/countries/cache/locales/vi.json +1 -1
  129. data/lib/countries/cache/locales/wa.json +1 -1
  130. data/lib/countries/cache/locales/wo.json +1 -1
  131. data/lib/countries/cache/locales/xh.json +1 -1
  132. data/lib/countries/cache/locales/yo.json +1 -1
  133. data/lib/countries/cache/locales/zh-cn.json +1 -1
  134. data/lib/countries/cache/locales/zh-hk.json +1 -1
  135. data/lib/countries/cache/locales/zh-tw.json +1 -1
  136. data/lib/countries/cache/locales/zu.json +1 -1
  137. data/lib/countries/country/class_methods.rb +9 -7
  138. data/lib/countries/country.rb +29 -3
  139. data/lib/countries/data/subdivisions/AD.yaml +14 -7
  140. data/lib/countries/data/subdivisions/AE.yaml +14 -7
  141. data/lib/countries/data/subdivisions/AF.yaml +196 -201
  142. data/lib/countries/data/subdivisions/AG.yaml +16 -22
  143. data/lib/countries/data/subdivisions/AL.yaml +24 -12
  144. data/lib/countries/data/subdivisions/AM.yaml +22 -11
  145. data/lib/countries/data/subdivisions/AO.yaml +36 -18
  146. data/lib/countries/data/subdivisions/AR.yaml +48 -24
  147. data/lib/countries/data/subdivisions/AT.yaml +18 -9
  148. data/lib/countries/data/subdivisions/AU.yaml +16 -8
  149. data/lib/countries/data/subdivisions/AZ.yaml +434 -412
  150. data/lib/countries/data/subdivisions/BA.yaml +75 -223
  151. data/lib/countries/data/subdivisions/BB.yaml +22 -11
  152. data/lib/countries/data/subdivisions/BD.yaml +188 -116
  153. data/lib/countries/data/subdivisions/BE.yaml +174 -161
  154. data/lib/countries/data/subdivisions/BF.yaml +2918 -2860
  155. data/lib/countries/data/subdivisions/BG.yaml +56 -28
  156. data/lib/countries/data/subdivisions/BH.yaml +8 -21
  157. data/lib/countries/data/subdivisions/BI.yaml +176 -157
  158. data/lib/countries/data/subdivisions/BJ.yaml +24 -12
  159. data/lib/countries/data/subdivisions/BN.yaml +8 -4
  160. data/lib/countries/data/subdivisions/BO.yaml +18 -9
  161. data/lib/countries/data/subdivisions/BQ.yaml +6 -3
  162. data/lib/countries/data/subdivisions/BR.yaml +54 -27
  163. data/lib/countries/data/subdivisions/BS.yaml +575 -697
  164. data/lib/countries/data/subdivisions/BT.yaml +40 -20
  165. data/lib/countries/data/subdivisions/BW.yaml +337 -321
  166. data/lib/countries/data/subdivisions/BY.yaml +106 -116
  167. data/lib/countries/data/subdivisions/BZ.yaml +12 -6
  168. data/lib/countries/data/subdivisions/CA.yaml +26 -13
  169. data/lib/countries/data/subdivisions/CD.yaml +488 -525
  170. data/lib/countries/data/subdivisions/CF.yaml +34 -17
  171. data/lib/countries/data/subdivisions/CG.yaml +40 -28
  172. data/lib/countries/data/subdivisions/CH.yaml +52 -26
  173. data/lib/countries/data/subdivisions/CI.yaml +244 -516
  174. data/lib/countries/data/subdivisions/CL.yaml +81 -65
  175. data/lib/countries/data/subdivisions/CM.yaml +20 -10
  176. data/lib/countries/data/subdivisions/CN.yaml +2152 -2084
  177. data/lib/countries/data/subdivisions/CO.yaml +66 -33
  178. data/lib/countries/data/subdivisions/CR.yaml +14 -7
  179. data/lib/countries/data/subdivisions/CU.yaml +32 -16
  180. data/lib/countries/data/subdivisions/CV.yaml +427 -401
  181. data/lib/countries/data/subdivisions/CY.yaml +12 -6
  182. data/lib/countries/data/subdivisions/CZ.yaml +1116 -85
  183. data/lib/countries/data/subdivisions/DE.yaml +32 -16
  184. data/lib/countries/data/subdivisions/DJ.yaml +12 -6
  185. data/lib/countries/data/subdivisions/DK.yaml +25 -17
  186. data/lib/countries/data/subdivisions/DM.yaml +20 -10
  187. data/lib/countries/data/subdivisions/DO.yaml +84 -42
  188. data/lib/countries/data/subdivisions/DZ.yaml +96 -48
  189. data/lib/countries/data/subdivisions/EC.yaml +158 -134
  190. data/lib/countries/data/subdivisions/EE.yaml +501 -334
  191. data/lib/countries/data/subdivisions/EG.yaml +54 -27
  192. data/lib/countries/data/subdivisions/ER.yaml +12 -6
  193. data/lib/countries/data/subdivisions/ES.yaml +1459 -1390
  194. data/lib/countries/data/subdivisions/ET.yaml +22 -11
  195. data/lib/countries/data/subdivisions/FI.yaml +185 -1
  196. data/lib/countries/data/subdivisions/FJ.yaml +443 -424
  197. data/lib/countries/data/subdivisions/FM.yaml +8 -4
  198. data/lib/countries/data/subdivisions/FR.yaml +438 -275
  199. data/lib/countries/data/subdivisions/GA.yaml +18 -9
  200. data/lib/countries/data/subdivisions/GB.yaml +1185 -1708
  201. data/lib/countries/data/subdivisions/GD.yaml +14 -7
  202. data/lib/countries/data/subdivisions/GE.yaml +24 -12
  203. data/lib/countries/data/subdivisions/GH.yaml +114 -155
  204. data/lib/countries/data/subdivisions/GL.yaml +24 -79
  205. data/lib/countries/data/subdivisions/GM.yaml +12 -6
  206. data/lib/countries/data/subdivisions/GN.yaml +444 -403
  207. data/lib/countries/data/subdivisions/GQ.yaml +24 -13
  208. data/lib/countries/data/subdivisions/GR.yaml +114 -73
  209. data/lib/countries/data/subdivisions/GT.yaml +44 -22
  210. data/lib/countries/data/subdivisions/GW.yaml +69 -57
  211. data/lib/countries/data/subdivisions/GY.yaml +20 -10
  212. data/lib/countries/data/subdivisions/HN.yaml +36 -18
  213. data/lib/countries/data/subdivisions/HR.yaml +42 -21
  214. data/lib/countries/data/subdivisions/HT.yaml +73 -63
  215. data/lib/countries/data/subdivisions/HU.yaml +106 -63
  216. data/lib/countries/data/subdivisions/ID.yaml +229 -188
  217. data/lib/countries/data/subdivisions/IE.yaml +128 -97
  218. data/lib/countries/data/subdivisions/IL.yaml +12 -6
  219. data/lib/countries/data/subdivisions/IN.yaml +245 -396
  220. data/lib/countries/data/subdivisions/IQ.yaml +111 -91
  221. data/lib/countries/data/subdivisions/IR.yaml +1463 -1451
  222. data/lib/countries/data/subdivisions/IS.yaml +160 -25
  223. data/lib/countries/data/subdivisions/IT.yaml +8740 -8292
  224. data/lib/countries/data/subdivisions/JM.yaml +28 -14
  225. data/lib/countries/data/subdivisions/JO.yaml +24 -12
  226. data/lib/countries/data/subdivisions/JP.yaml +94 -47
  227. data/lib/countries/data/subdivisions/KE.yaml +95 -48
  228. data/lib/countries/data/subdivisions/KG.yaml +95 -86
  229. data/lib/countries/data/subdivisions/KH.yaml +64 -39
  230. data/lib/countries/data/subdivisions/KI.yaml +6 -3
  231. data/lib/countries/data/subdivisions/KM.yaml +6 -3
  232. data/lib/countries/data/subdivisions/KN.yaml +32 -16
  233. data/lib/countries/data/subdivisions/KP.yaml +24 -227
  234. data/lib/countries/data/subdivisions/KR.yaml +34 -17
  235. data/lib/countries/data/subdivisions/KW.yaml +12 -6
  236. data/lib/countries/data/subdivisions/KZ.yaml +47 -102
  237. data/lib/countries/data/subdivisions/LA.yaml +36 -34
  238. data/lib/countries/data/subdivisions/LB.yaml +71 -63
  239. data/lib/countries/data/subdivisions/LC.yaml +116 -106
  240. data/lib/countries/data/subdivisions/LI.yaml +22 -11
  241. data/lib/countries/data/subdivisions/LK.yaml +445 -411
  242. data/lib/countries/data/subdivisions/LR.yaml +146 -129
  243. data/lib/countries/data/subdivisions/LS.yaml +20 -10
  244. data/lib/countries/data/subdivisions/LT.yaml +1706 -1636
  245. data/lib/countries/data/subdivisions/LU.yaml +24 -12
  246. data/lib/countries/data/subdivisions/LV.yaml +1623 -1577
  247. data/lib/countries/data/subdivisions/LY.yaml +44 -22
  248. data/lib/countries/data/subdivisions/MA.yaml +810 -1589
  249. data/lib/countries/data/subdivisions/MC.yaml +261 -244
  250. data/lib/countries/data/subdivisions/MD.yaml +74 -79
  251. data/lib/countries/data/subdivisions/ME.yaml +217 -195
  252. data/lib/countries/data/subdivisions/MG.yaml +12 -6
  253. data/lib/countries/data/subdivisions/MH.yaml +167 -140
  254. data/lib/countries/data/subdivisions/MK.yaml +160 -80
  255. data/lib/countries/data/subdivisions/ML.yaml +48 -37
  256. data/lib/countries/data/subdivisions/MM.yaml +30 -15
  257. data/lib/countries/data/subdivisions/MN.yaml +44 -22
  258. data/lib/countries/data/subdivisions/MR.yaml +30 -34
  259. data/lib/countries/data/subdivisions/MT.yaml +136 -68
  260. data/lib/countries/data/subdivisions/MU.yaml +24 -262
  261. data/lib/countries/data/subdivisions/MV.yaml +161 -254
  262. data/lib/countries/data/subdivisions/MW.yaml +250 -219
  263. data/lib/countries/data/subdivisions/MX.yaml +64 -32
  264. data/lib/countries/data/subdivisions/MY.yaml +32 -16
  265. data/lib/countries/data/subdivisions/MZ.yaml +22 -11
  266. data/lib/countries/data/subdivisions/NA.yaml +58 -44
  267. data/lib/countries/data/subdivisions/NE.yaml +16 -8
  268. data/lib/countries/data/subdivisions/NG.yaml +74 -37
  269. data/lib/countries/data/subdivisions/NI.yaml +34 -17
  270. data/lib/countries/data/subdivisions/NL.yaml +303 -285
  271. data/lib/countries/data/subdivisions/NO.yaml +39 -17
  272. data/lib/countries/data/subdivisions/NP.yaml +302 -276
  273. data/lib/countries/data/subdivisions/NR.yaml +28 -14
  274. data/lib/countries/data/subdivisions/NZ.yaml +34 -17
  275. data/lib/countries/data/subdivisions/OM.yaml +260 -311
  276. data/lib/countries/data/subdivisions/PA.yaml +57 -44
  277. data/lib/countries/data/subdivisions/PE.yaml +107 -81
  278. data/lib/countries/data/subdivisions/PG.yaml +163 -158
  279. data/lib/countries/data/subdivisions/PH.yaml +5062 -4992
  280. data/lib/countries/data/subdivisions/PK.yaml +145 -235
  281. data/lib/countries/data/subdivisions/PL.yaml +51 -3
  282. data/lib/countries/data/subdivisions/PS.yaml +32 -16
  283. data/lib/countries/data/subdivisions/PT.yaml +40 -20
  284. data/lib/countries/data/subdivisions/PW.yaml +32 -16
  285. data/lib/countries/data/subdivisions/PY.yaml +36 -18
  286. data/lib/countries/data/subdivisions/QA.yaml +27 -78
  287. data/lib/countries/data/subdivisions/RO.yaml +84 -42
  288. data/lib/countries/data/subdivisions/RS.yaml +104 -72
  289. data/lib/countries/data/subdivisions/RU.yaml +166 -83
  290. data/lib/countries/data/subdivisions/RW.yaml +10 -5
  291. data/lib/countries/data/subdivisions/SA.yaml +26 -13
  292. data/lib/countries/data/subdivisions/SB.yaml +20 -10
  293. data/lib/countries/data/subdivisions/SC.yaml +54 -25
  294. data/lib/countries/data/subdivisions/SD.yaml +798 -780
  295. data/lib/countries/data/subdivisions/SE.yaml +42 -21
  296. data/lib/countries/data/subdivisions/SG.yaml +15 -10
  297. data/lib/countries/data/subdivisions/SH.yaml +21 -32
  298. data/lib/countries/data/subdivisions/SI.yaml +475 -263
  299. data/lib/countries/data/subdivisions/SK.yaml +16 -8
  300. data/lib/countries/data/subdivisions/SL.yaml +23 -18
  301. data/lib/countries/data/subdivisions/SM.yaml +18 -9
  302. data/lib/countries/data/subdivisions/SN.yaml +188 -174
  303. data/lib/countries/data/subdivisions/SO.yaml +36 -18
  304. data/lib/countries/data/subdivisions/SR.yaml +20 -10
  305. data/lib/countries/data/subdivisions/SS.yaml +20 -10
  306. data/lib/countries/data/subdivisions/ST.yaml +38 -52
  307. data/lib/countries/data/subdivisions/SV.yaml +28 -14
  308. data/lib/countries/data/subdivisions/SY.yaml +28 -14
  309. data/lib/countries/data/subdivisions/SZ.yaml +8 -4
  310. data/lib/countries/data/subdivisions/TD.yaml +312 -303
  311. data/lib/countries/data/subdivisions/TG.yaml +10 -5
  312. data/lib/countries/data/subdivisions/TH.yaml +211 -133
  313. data/lib/countries/data/subdivisions/TJ.yaml +161 -156
  314. data/lib/countries/data/subdivisions/TL.yaml +26 -13
  315. data/lib/countries/data/subdivisions/TM.yaml +12 -6
  316. data/lib/countries/data/subdivisions/TN.yaml +48 -24
  317. data/lib/countries/data/subdivisions/TO.yaml +10 -5
  318. data/lib/countries/data/subdivisions/TR.yaml +162 -81
  319. data/lib/countries/data/subdivisions/TT.yaml +128 -160
  320. data/lib/countries/data/subdivisions/TV.yaml +57 -63
  321. data/lib/countries/data/subdivisions/TW.yaml +143 -183
  322. data/lib/countries/data/subdivisions/TZ.yaml +62 -31
  323. data/lib/countries/data/subdivisions/UA.yaml +55 -28
  324. data/lib/countries/data/subdivisions/UG.yaml +4806 -4660
  325. data/lib/countries/data/subdivisions/UM.yaml +18 -9
  326. data/lib/countries/data/subdivisions/US.yaml +114 -57
  327. data/lib/countries/data/subdivisions/UY.yaml +99 -80
  328. data/lib/countries/data/subdivisions/UZ.yaml +28 -14
  329. data/lib/countries/data/subdivisions/VC.yaml +12 -6
  330. data/lib/countries/data/subdivisions/VE.yaml +50 -25
  331. data/lib/countries/data/subdivisions/VN.yaml +3576 -3513
  332. data/lib/countries/data/subdivisions/VU.yaml +12 -6
  333. data/lib/countries/data/subdivisions/WF.yaml +6 -3
  334. data/lib/countries/data/subdivisions/WS.yaml +22 -11
  335. data/lib/countries/data/subdivisions/YE.yaml +222 -200
  336. data/lib/countries/data/subdivisions/ZA.yaml +86 -100
  337. data/lib/countries/data/subdivisions/ZM.yaml +20 -10
  338. data/lib/countries/data/subdivisions/ZW.yaml +20 -10
  339. data/lib/countries/data/translations/countries-ab.yaml +254 -0
  340. data/lib/countries/data/translations/countries-af.yaml +254 -0
  341. data/lib/countries/data/translations/countries-ak.yaml +254 -0
  342. data/lib/countries/data/translations/countries-am.yaml +254 -0
  343. data/lib/countries/data/translations/countries-an.yaml +254 -0
  344. data/lib/countries/data/translations/countries-ar.yaml +254 -0
  345. data/lib/countries/data/translations/countries-as.yaml +254 -0
  346. data/lib/countries/data/translations/countries-ay.yaml +254 -0
  347. data/lib/countries/data/translations/countries-az.yaml +254 -0
  348. data/lib/countries/data/translations/countries-ba.yaml +254 -0
  349. data/lib/countries/data/translations/countries-be.yaml +254 -0
  350. data/lib/countries/data/translations/countries-bg.yaml +254 -0
  351. data/lib/countries/data/translations/countries-bi.yaml +254 -0
  352. data/lib/countries/data/translations/countries-bn.yaml +254 -0
  353. data/lib/countries/data/translations/countries-bn_IN.yaml +254 -0
  354. data/lib/countries/data/translations/countries-br.yaml +254 -0
  355. data/lib/countries/data/translations/countries-bs.yaml +254 -0
  356. data/lib/countries/data/translations/countries-ca.yaml +254 -0
  357. data/lib/countries/data/translations/countries-ce.yaml +254 -0
  358. data/lib/countries/data/translations/countries-ch.yaml +254 -0
  359. data/lib/countries/data/translations/countries-cs.yaml +254 -0
  360. data/lib/countries/data/translations/countries-cv.yaml +254 -0
  361. data/lib/countries/data/translations/countries-cy.yaml +254 -0
  362. data/lib/countries/data/translations/countries-da.yaml +254 -0
  363. data/lib/countries/data/translations/countries-de.yaml +254 -0
  364. data/lib/countries/data/translations/countries-dv.yaml +254 -0
  365. data/lib/countries/data/translations/countries-dz.yaml +254 -0
  366. data/lib/countries/data/translations/countries-ee.yaml +254 -0
  367. data/lib/countries/data/translations/countries-el.yaml +254 -0
  368. data/lib/countries/data/translations/countries-en.yaml +254 -0
  369. data/lib/countries/data/translations/countries-eo.yaml +254 -0
  370. data/lib/countries/data/translations/countries-es.yaml +254 -0
  371. data/lib/countries/data/translations/countries-et.yaml +254 -0
  372. data/lib/countries/data/translations/countries-eu.yaml +254 -0
  373. data/lib/countries/data/translations/countries-fa.yaml +254 -0
  374. data/lib/countries/data/translations/countries-ff.yaml +254 -0
  375. data/lib/countries/data/translations/countries-fi.yaml +254 -0
  376. data/lib/countries/data/translations/countries-fo.yaml +254 -0
  377. data/lib/countries/data/translations/countries-fr.yaml +254 -0
  378. data/lib/countries/data/translations/countries-fy.yaml +254 -0
  379. data/lib/countries/data/translations/countries-ga.yaml +254 -0
  380. data/lib/countries/data/translations/countries-gl.yaml +254 -0
  381. data/lib/countries/data/translations/countries-gn.yaml +254 -0
  382. data/lib/countries/data/translations/countries-gu.yaml +254 -0
  383. data/lib/countries/data/translations/countries-gv.yaml +254 -0
  384. data/lib/countries/data/translations/countries-ha.yaml +254 -0
  385. data/lib/countries/data/translations/countries-he.yaml +254 -0
  386. data/lib/countries/data/translations/countries-hi.yaml +254 -0
  387. data/lib/countries/data/translations/countries-hr.yaml +254 -0
  388. data/lib/countries/data/translations/countries-ht.yaml +254 -0
  389. data/lib/countries/data/translations/countries-hu.yaml +254 -0
  390. data/lib/countries/data/translations/countries-hy.yaml +254 -0
  391. data/lib/countries/data/translations/countries-ia.yaml +254 -0
  392. data/lib/countries/data/translations/countries-id.yaml +254 -0
  393. data/lib/countries/data/translations/countries-io.yaml +254 -0
  394. data/lib/countries/data/translations/countries-is.yaml +254 -0
  395. data/lib/countries/data/translations/countries-it.yaml +254 -0
  396. data/lib/countries/data/translations/countries-iu.yaml +254 -0
  397. data/lib/countries/data/translations/countries-ja.yaml +254 -0
  398. data/lib/countries/data/translations/countries-ka.yaml +254 -0
  399. data/lib/countries/data/translations/countries-ki.yaml +254 -0
  400. data/lib/countries/data/translations/countries-kk.yaml +254 -0
  401. data/lib/countries/data/translations/countries-kl.yaml +254 -0
  402. data/lib/countries/data/translations/countries-km.yaml +254 -0
  403. data/lib/countries/data/translations/countries-kn.yaml +254 -0
  404. data/lib/countries/data/translations/countries-ko.yaml +254 -0
  405. data/lib/countries/data/translations/countries-ku.yaml +254 -0
  406. data/lib/countries/data/translations/countries-kv.yaml +254 -0
  407. data/lib/countries/data/translations/countries-kw.yaml +254 -0
  408. data/lib/countries/data/translations/countries-ky.yaml +254 -0
  409. data/lib/countries/data/translations/countries-lo.yaml +254 -0
  410. data/lib/countries/data/translations/countries-lt.yaml +254 -0
  411. data/lib/countries/data/translations/countries-lv.yaml +254 -0
  412. data/lib/countries/data/translations/countries-mi.yaml +254 -0
  413. data/lib/countries/data/translations/countries-mk.yaml +254 -0
  414. data/lib/countries/data/translations/countries-ml.yaml +254 -0
  415. data/lib/countries/data/translations/countries-mn.yaml +254 -0
  416. data/lib/countries/data/translations/countries-mr.yaml +254 -0
  417. data/lib/countries/data/translations/countries-ms.yaml +254 -0
  418. data/lib/countries/data/translations/countries-mt.yaml +254 -0
  419. data/lib/countries/data/translations/countries-my.yaml +254 -0
  420. data/lib/countries/data/translations/countries-na.yaml +254 -0
  421. data/lib/countries/data/translations/countries-nb.yaml +254 -0
  422. data/lib/countries/data/translations/countries-ne.yaml +254 -0
  423. data/lib/countries/data/translations/countries-nl.yaml +254 -0
  424. data/lib/countries/data/translations/countries-nn.yaml +254 -0
  425. data/lib/countries/data/translations/countries-nv.yaml +254 -0
  426. data/lib/countries/data/translations/countries-oc.yaml +254 -0
  427. data/lib/countries/data/translations/countries-or.yaml +254 -0
  428. data/lib/countries/data/translations/countries-pa.yaml +254 -0
  429. data/lib/countries/data/translations/countries-pi.yaml +254 -0
  430. data/lib/countries/data/translations/countries-pl.yaml +254 -0
  431. data/lib/countries/data/translations/countries-ps.yaml +254 -0
  432. data/lib/countries/data/translations/countries-pt.yaml +254 -0
  433. data/lib/countries/data/translations/countries-pt_BR.yaml +254 -0
  434. data/lib/countries/data/translations/countries-ro.yaml +254 -0
  435. data/lib/countries/data/translations/countries-ru.yaml +254 -0
  436. data/lib/countries/data/translations/countries-rw.yaml +254 -0
  437. data/lib/countries/data/translations/countries-sc.yaml +254 -0
  438. data/lib/countries/data/translations/countries-sd.yaml +254 -0
  439. data/lib/countries/data/translations/countries-si.yaml +254 -0
  440. data/lib/countries/data/translations/countries-sk.yaml +254 -0
  441. data/lib/countries/data/translations/countries-sl.yaml +254 -0
  442. data/lib/countries/data/translations/countries-so.yaml +254 -0
  443. data/lib/countries/data/translations/countries-sq.yaml +254 -0
  444. data/lib/countries/data/translations/countries-sr.yaml +254 -0
  445. data/lib/countries/data/translations/countries-sv.yaml +254 -0
  446. data/lib/countries/data/translations/countries-sw.yaml +254 -0
  447. data/lib/countries/data/translations/countries-ta.yaml +254 -0
  448. data/lib/countries/data/translations/countries-te.yaml +254 -0
  449. data/lib/countries/data/translations/countries-tg.yaml +254 -0
  450. data/lib/countries/data/translations/countries-th.yaml +254 -0
  451. data/lib/countries/data/translations/countries-ti.yaml +254 -0
  452. data/lib/countries/data/translations/countries-tk.yaml +254 -0
  453. data/lib/countries/data/translations/countries-tl.yaml +254 -0
  454. data/lib/countries/data/translations/countries-tr.yaml +254 -0
  455. data/lib/countries/data/translations/countries-tt.yaml +254 -0
  456. data/lib/countries/data/translations/countries-ug.yaml +254 -0
  457. data/lib/countries/data/translations/countries-uk.yaml +254 -0
  458. data/lib/countries/data/translations/countries-ur.yaml +254 -0
  459. data/lib/countries/data/translations/countries-uz.yaml +254 -0
  460. data/lib/countries/data/translations/countries-ve.yaml +254 -0
  461. data/lib/countries/data/translations/countries-vi.yaml +254 -0
  462. data/lib/countries/data/translations/countries-wa.yaml +254 -0
  463. data/lib/countries/data/translations/countries-wo.yaml +254 -0
  464. data/lib/countries/data/translations/countries-xh.yaml +254 -0
  465. data/lib/countries/data/translations/countries-yo.yaml +254 -0
  466. data/lib/countries/data/translations/countries-zh_CN.yaml +254 -0
  467. data/lib/countries/data/translations/countries-zh_HK.yaml +254 -0
  468. data/lib/countries/data/translations/countries-zh_TW.yaml +254 -0
  469. data/lib/countries/data/translations/countries-zu.yaml +254 -0
  470. data/lib/countries/data.rb +14 -8
  471. data/lib/countries/iso3166.rb +0 -1
  472. data/lib/countries/sources/cldr/subdivision_updater.rb +1 -1
  473. data/lib/countries/subdivision.rb +19 -8
  474. data/lib/countries/version.rb +1 -1
  475. data/spec/country_spec.rb +63 -19
  476. data/spec/data_spec.rb +63 -5
  477. metadata +133 -24
  478. data/lib/countries/cache/locales/zh.json +0 -1
  479. data/lib/countries/data/subdivisions/AI.yaml +0 -197
  480. data/lib/countries/data/subdivisions/BM.yaml +0 -155
  481. data/lib/countries/data/subdivisions/CK.yaml +0 -155
  482. data/lib/countries/data/subdivisions/EH.yaml +0 -80
  483. data/lib/countries/data/subdivisions/SJ.yaml +0 -29
  484. data/lib/countries/data/subdivisions/TK.yaml +0 -43
  485. data/lib/countries/data/translation_corrections.yaml +0 -53
@@ -1 +1 @@
1
- {"AW":"阿鲁巴","AF":"阿富汗","AO":"安哥拉","AI":"安圭拉","AX":"奥兰群岛","AL":"阿尔巴尼亚","AD":"安道尔","AE":"阿联酋","AR":"阿根廷","AM":"亚美尼亚","AS":"美属萨摩亚","AQ":"南极洲","TF":"法属南半球领地","AG":"安提瓜和巴布达","AU":"澳大利亚","AT":"奥地利","AZ":"阿塞拜疆","BI":"布隆迪","BE":"比利时","BJ":"贝宁","BQ":"博奈尔、圣尤斯特歇斯岛和萨巴","BF":"布基纳法索","BD":"孟加拉","BG":"保加利亚","BH":"巴林","BS":"巴哈马","BA":"波斯尼亚和黑塞哥维那","BL":"圣巴泰勒米岛","BY":"白俄罗斯","BZ":"伯利兹","BM":"百慕大","BO":"波利维亚","BR":"巴西","BB":"巴巴多斯","BN":"文莱","BT":"不丹","BV":"布维群岛","BW":"博兹瓦那","CF":"中非","CA":"加拿大","CC":"科科斯群岛","CH":"瑞士","CL":"智利","CN":"中国","CI":"科特迪瓦","CM":"喀麦隆","CD":"刚果民主共和国","CG":"刚果","CK":"库克群岛","CO":"哥伦比亚","KM":"科摩罗","CV":"佛得角","CR":"哥斯达黎加","CU":"古巴","CW":"库拉索","CX":"圣诞岛","KY":"开曼群岛","CY":"塞浦路斯","CZ":"捷克","DE":"德国","DJ":"吉布提","DM":"多米尼克","DK":"丹麦","DO":"多米尼加共和国","DZ":"阿尔及利亚","EC":"厄瓜多尔","EG":"埃及","ER":"厄立特里亚","EH":"西撒哈拉","ES":"西班牙","EE":"爱沙尼亚","ET":"埃塞俄比亚","FI":"芬兰","FJ":"斐济","FK":"福克兰群岛(马尔维纳斯)","FR":"法国","FO":"法罗群岛","FM":"密克罗尼西亚","GA":"加蓬","GB":"英国","GE":"格鲁吉亚","GG":"根西岛","GH":"加纳","GI":"直布罗陀","GN":"几内亚","GP":"瓜德罗普","GM":"冈比亚","GW":"几内亚比绍","GQ":"赤道几内亚","GR":"希腊","GD":"格林纳达","GL":"格陵兰","GT":"瓜地马拉","GF":"法属圭亚那","GU":"关岛","GY":"圭亚那","HK":"香港","HM":"赫德岛与麦克唐纳群岛","HN":"洪都拉斯","HR":"克罗地亚","HT":"海地","HU":"匈牙利","ID":"印度尼西亚","IM":"曼岛","IN":"印度","IO":"英属印度洋领地","IE":"爱尔兰","IR":"伊朗","IQ":"伊拉克","IS":"冰岛","IL":"以色列","IT":"意大利","JM":"牙买加","JE":"泽西岛","JO":"约旦","JP":"日本","KZ":"哈萨克斯坦","KE":"肯尼亚","KG":"吉尔吉斯坦","KH":"柬埔寨","KI":"基里巴斯","KN":"圣基茨和尼维斯","KR":"韩国","KW":"科威特","LA":"老挝人民民主共和国","LB":"黎巴嫩","LR":"利比里亚","LY":"利比亚","LC":"圣路西亚","LI":"列支敦士登","LK":"斯里兰卡","LS":"莱索托","LT":"立陶宛","LU":"卢森堡","LV":"拉脱维亚","MO":"澳门","MF":"法属圣马丁","MA":"摩洛哥","MC":"摩纳哥","MD":"摩尔多瓦","MG":"马达加斯加","MV":"马尔代夫","MX":"墨西哥","MH":"马绍尔群岛","MK":"北马其顿","ML":"马里","MT":"马尔他","MM":"缅甸","ME":"黑山","MN":"蒙古","MP":"北马里亚纳群岛","MZ":"莫桑比克","MR":"毛里塔尼亚","MS":"蒙塞拉特岛","MQ":"马提尼克","MU":"毛里求斯","MW":"马拉维","MY":"马来西亚","YT":"马约特","NA":"纳米比亚","NC":"新喀里多尼亚","NE":"尼日尔","NF":"诺福克岛","NG":"尼日利亚","NI":"尼加拉瓜","NU":"纽埃","NL":"荷兰","NO":"挪威","NP":"尼泊尔","NR":"瑙鲁","NZ":"新西兰","OM":"阿曼","PK":"巴基斯坦","PA":"巴拿马","PN":"皮特克恩","PE":"秘鲁","PH":"菲律宾","PW":"帕劳","PG":"巴布亚新几内亚","PL":"波兰","PR":"波多黎各","KP":"朝鲜","PT":"葡萄牙","PY":"巴拉圭","PS":"巴勒斯坦","PF":"法属玻利尼西亚","QA":"卡塔尔","RE":"留尼汪","RO":"罗马尼亚","RU":"俄罗斯","RW":"卢旺达","SA":"沙特阿拉伯","SD":"苏丹","SN":"塞内加尔","SG":"新加坡","GS":"南乔治亚岛和南桑德韦奇岛","SH":"圣赫勒拿-阿森松-特里斯坦达库尼亚","SJ":"斯瓦尔巴特和扬马延岛","SB":"所罗门群岛","SL":"塞拉利昂","SV":"萨尔瓦多","SM":"圣马力诺市","SO":"索马里","PM":"圣皮埃尔和密克隆","RS":"塞尔维亚","SS":"南苏丹","ST":"圣多美和普林西比","SR":"苏里南","SK":"斯洛伐克","SI":"斯洛文尼亚","SE":"瑞典","SZ":"斯威士兰","SX":"荷属圣马丁","SC":"塞舌尔","SY":"叙利亚","TC":"特克斯和凯科斯群岛","TD":"乍得","TG":"多哥","TH":"泰国","TJ":"塔吉克斯坦","TK":"托克劳","TM":"土库曼斯坦","TL":"东帝汶","TO":"汤加","TT":"特里尼达和多巴哥","TN":"突尼斯","TR":"土耳其","TV":"图瓦卢","TW":"台湾","TZ":"坦桑尼亚","UG":"乌干达","UA":"乌克兰","UM":"美国本土外小岛屿","UY":"乌拉圭","US":"美国","UZ":"乌兹别克斯坦","VA":"梵地冈","VC":"圣文森特和格林纳丁斯","VE":"委内瑞拉","VG":"英属维尔京群岛","VI":"美属维尔京群岛","VN":"越南","VU":"瓦努阿图","WF":"瓦利斯和富图纳","WS":"萨摩亚","YE":"也门","ZA":"南非","ZM":"赞比亚","ZW":"津巴布韦"}
1
+ {"AD":"安道尔","AE":"阿联酋","AF":"阿富汗","AG":"安提瓜和巴布达","AI":"安圭拉","AL":"阿尔巴尼亚","AM":"亚美尼亚","AO":"安哥拉","AQ":"南极洲","AR":"阿根廷","AS":"美属萨摩亚","AT":"奥地利","AU":"澳大利亚","AW":"阿鲁巴","AX":"奥兰群岛","AZ":"阿塞拜疆","BA":"波斯尼亚和黑塞哥维那","BB":"巴巴多斯","BD":"孟加拉","BE":"比利时","BF":"布基纳法索","BG":"保加利亚","BH":"巴林","BI":"布隆迪","BJ":"贝宁","BL":"圣巴泰勒米岛","BM":"百慕大","BN":"文莱","BO":"波利维亚","BQ":"博奈尔、圣尤斯特歇斯岛和萨巴","BR":"巴西","BS":"巴哈马","BT":"不丹","BV":"布维群岛","BW":"博兹瓦那","BY":"白俄罗斯","BZ":"伯利兹","CA":"加拿大","CC":"科科斯群岛","CD":"刚果民主共和国","CF":"中非","CG":"刚果","CH":"瑞士","CI":"科特迪瓦","CK":"库克群岛","CL":"智利","CM":"喀麦隆","CN":"中国","CO":"哥伦比亚","CR":"哥斯达黎加","CU":"古巴","CV":"佛得角","CW":"库拉索","CX":"圣诞岛","CY":"塞浦路斯","CZ":"捷克","DE":"德国","DJ":"吉布提","DK":"丹麦","DM":"多米尼克","DO":"多米尼加共和国","DZ":"阿尔及利亚","EC":"厄瓜多尔","EE":"爱沙尼亚","EG":"埃及","EH":"西撒哈拉","ER":"厄立特里亚","ES":"西班牙","ET":"埃塞俄比亚","FI":"芬兰","FJ":"斐济","FK":"福克兰群岛(马尔维纳斯)","FM":"密克罗尼西亚","FO":"法罗群岛","FR":"法国","GA":"加蓬","GB":"英国","GD":"格林纳达","GE":"格鲁吉亚","GF":"法属圭亚那","GG":"根西岛","GH":"加纳","GI":"直布罗陀","GL":"格陵兰","GM":"冈比亚","GN":"几内亚","GP":"瓜德罗普","GQ":"赤道几内亚","GR":"希腊","GS":"南乔治亚岛和南桑德韦奇岛","GT":"瓜地马拉","GU":"关岛","GW":"几内亚比绍","GY":"圭亚那","HK":"香港","HM":"赫德岛与麦克唐纳群岛","HN":"洪都拉斯","HR":"克罗地亚","HT":"海地","HU":"匈牙利","ID":"印度尼西亚","IE":"爱尔兰","IL":"以色列","IM":"曼岛","IN":"印度","IO":"英属印度洋领地","IQ":"伊拉克","IR":"伊朗","IS":"冰岛","IT":"意大利","JE":"泽西岛","JM":"牙买加","JO":"约旦","JP":"日本","KE":"肯尼亚","KG":"吉尔吉斯坦","KH":"柬埔寨","KI":"基里巴斯","KM":"科摩罗","KN":"圣基茨和尼维斯","KP":"朝鲜","KR":"韩国","KW":"科威特","KY":"开曼群岛","KZ":"哈萨克斯坦","LA":"老挝人民民主共和国","LB":"黎巴嫩","LC":"圣路西亚","LI":"列支敦士登","LK":"斯里兰卡","LR":"利比里亚","LS":"莱索托","LT":"立陶宛","LU":"卢森堡","LV":"拉脱维亚","LY":"利比亚","MA":"摩洛哥","MC":"摩纳哥","MD":"摩尔多瓦","ME":"黑山","MF":"法属圣马丁","MG":"马达加斯加","MH":"马绍尔群岛","MK":"北马其顿","ML":"马里","MM":"缅甸","MN":"蒙古","MO":"澳门","MP":"北马里亚纳群岛","MQ":"马提尼克","MR":"毛里塔尼亚","MS":"蒙塞拉特岛","MT":"马尔他","MU":"毛里求斯","MV":"马尔代夫","MW":"马拉维","MX":"墨西哥","MY":"马来西亚","MZ":"莫桑比克","NA":"纳米比亚","NC":"新喀里多尼亚","NE":"尼日尔","NF":"诺福克岛","NG":"尼日利亚","NI":"尼加拉瓜","NL":"荷兰","NO":"挪威","NP":"尼泊尔","NR":"瑙鲁","NU":"纽埃","NZ":"新西兰","OM":"阿曼","PA":"巴拿马","PE":"秘鲁","PF":"法属玻利尼西亚","PG":"巴布亚新几内亚","PH":"菲律宾","PK":"巴基斯坦","PL":"波兰","PM":"圣皮埃尔和密克隆","PN":"皮特克恩","PR":"波多黎各","PS":"巴勒斯坦","PT":"葡萄牙","PW":"帕劳","PY":"巴拉圭","QA":"卡塔尔","RE":"留尼汪","RO":"罗马尼亚","RS":"塞尔维亚","RU":"俄罗斯","RW":"卢旺达","SA":"沙特阿拉伯","SB":"所罗门群岛","SC":"塞舌尔","SD":"苏丹","SE":"瑞典","SG":"新加坡","SH":"圣赫勒拿-阿森松-特里斯坦达库尼亚","SI":"斯洛文尼亚","SJ":"斯瓦尔巴特和扬马延岛","SK":"斯洛伐克","SL":"塞拉利昂","SM":"圣马力诺市","SN":"塞内加尔","SO":"索马里","SR":"苏里南","SS":"南苏丹","ST":"圣多美和普林西比","SV":"萨尔瓦多","SX":"荷属圣马丁","SY":"叙利亚","SZ":"斯威士兰","TC":"特克斯和凯科斯群岛","TD":"乍得","TF":"法属南半球领地","TG":"多哥","TH":"泰国","TJ":"塔吉克斯坦","TK":"托克劳","TL":"东帝汶","TM":"土库曼斯坦","TN":"突尼斯","TO":"汤加","TR":"土耳其","TT":"特里尼达和多巴哥","TV":"图瓦卢","TW":"台湾","TZ":"坦桑尼亚","UA":"乌克兰","UG":"乌干达","UM":"美国本土外小岛屿","US":"美国","UY":"乌拉圭","UZ":"乌兹别克斯坦","VA":"梵地冈","VC":"圣文森特和格林纳丁斯","VE":"委内瑞拉","VG":"英属维尔京群岛","VI":"美属维尔京群岛","VN":"越南","VU":"瓦努阿图","WF":"瓦利斯和富图纳","WS":"萨摩亚","YE":"也门","YT":"马约特","ZA":"南非","ZM":"赞比亚","ZW":"津巴布韦"}
@@ -1 +1 @@
1
- {"AW":"阿盧巴島","AF":"阿富汗","AO":"安哥拉","AI":"安圭拉島","AX":"奧蘭羣島","AL":"阿爾巴尼亞","AD":"安道爾","AE":"阿拉伯聯合酋長國","AR":"阿根廷","AM":"亞美尼亞","AS":"美屬薩摩亞","AQ":"南極洲","TF":"法屬南部屬地","AG":"安提瓜和巴布達","AU":"澳大利亞","AT":"奧地利","AZ":"亞塞拜彊","BI":"布隆迪","BE":"比利時","BJ":"貝寧","BQ":"荷蘭加勒比區","BF":"布基納法索","BD":"孟加拉","BG":"保加利亞","BH":"巴林","BS":"巴哈馬","BA":"波斯尼亞和黑塞哥維那","BL":"聖巴泰勒米","BY":"白俄羅斯","BZ":"伯利兹","BM":"百慕達","BO":"玻利維亞","BR":"巴西","BB":"巴巴多斯","BN":"汶萊","BT":"不丹","BV":"波維特島","BW":"博茨瓦納","CF":"中非共和國","CA":"加拿大","CC":"可可斯羣島","CH":"瑞士","CL":"智利","CN":"中國","CI":"科特迪瓦","CM":"喀麥隆","CD":"剛果民主共和國","CG":"剛果","CK":"科克羣島","CO":"哥倫比亞","KM":"科摩羅","CV":"佛得角","CR":"哥斯達黎加","CU":"古巴","CW":"庫拉索","CX":"聖誕島","KY":"開曼羣島","CY":"賽浦路斯","CZ":"捷克","DE":"德國","DJ":"吉布提","DM":"多米尼克","DK":"丹麥","DO":"多米尼加共和國","DZ":"阿爾及利亞","EC":"厄瓜多爾","EG":"埃及","ER":"厄立特里亞","EH":"西撒哈拉","ES":"西班牙","EE":"愛沙尼亞","ET":"埃塞俄比亞","FI":"芬蘭","FJ":"斐濟羣島","FK":"福克蘭羣島","FR":"法國","FO":"法羅羣島","FM":"密克羅尼西亞聯邦","GA":"加蓬","GB":"英國","GE":"格魯吉亞","GG":"根息","GH":"加納","GI":"直布羅陀","GN":"畿內亞","GP":"瓜德魯普島","GM":"岡比亞","GW":"畿內亞比紹","GQ":"赤道畿內亞","GR":"希臘","GD":"格林納達","GL":"格陵蘭","GT":"危地馬拉","GF":"法屬圭亞那","GU":"關島","GY":"圭亞那","HK":"香港","HM":"德島及麥當勞羣島","HN":"洪都拉斯","HR":"克羅地亞","HT":"海地","HU":"匈牙利","ID":"印尼","IM":"萌島","IN":"印度","IO":"英屬印度洋地區","IE":"愛爾蘭","IR":"伊朗","IQ":"伊拉克","IS":"冰島","IL":"以色列","IT":"意大利","JM":"牙買加","JE":"澤西","JO":"約旦","JP":"日本","KZ":"哈薩克","KE":"肯雅","KG":"吉爾吉斯","KH":"柬埔寨","KI":"基里巴斯","KN":"聖基茨和尼維斯聯邦","KR":"大韓民國","KW":"科威特","LA":"老撾人民民主共和國","LB":"黎巴嫩","LR":"利比里亞","LY":"利比亞","LC":"聖盧西亞","LI":"列支敦士登","LK":"斯里蘭卡","LS":"萊索托","LT":"立陶宛","LU":"盧森堡","LV":"拉脫維亞","MO":"澳門","MF":"聖馬丁 (法屬)","MA":"摩洛哥","MC":"摩納哥","MD":"摩爾多瓦","MG":"馬達加斯加","MV":"馬爾代夫","MX":"墨西哥","MH":"馬紹爾羣島","MK":"北馬其頓","ML":"馬里","MT":"馬耳他","MM":"緬甸","ME":"黑山","MN":"蒙古","MP":"北馬里亞納羣島","MZ":"莫桑比克","MR":"毛里塔尼亞","MS":"蒙瑟拉特島","MQ":"法屬馬丁尼克","MU":"毛里裘斯","MW":"馬拉維","MY":"馬來西亞","YT":"美亞特","NA":"納米比亞","NC":"新喀里多尼亞島","NE":"尼日爾","NF":"諾福克羣島","NG":"尼日利亞","NI":"尼加拉瓜","NU":"紐威島","NL":"荷蘭","NO":"挪威","NP":"尼泊爾","NR":"瑙魯","NZ":"新西蘭","OM":"阿曼","PK":"巴基斯坦","PA":"巴拿馬","PN":"皮特康","PE":"秘魯","PH":"菲律賓","PW":"帕勞","PG":"巴布亞新畿內亞","PL":"波蘭","PR":"波多黎各","KP":"北韓","PT":"葡萄牙","PY":"巴拉圭","PS":"巴勒斯坦","PF":"法屬玻利尼西亞","QA":"卡塔爾","RE":"留尼旺","RO":"羅馬尼亞","RU":"俄羅斯聯邦","RW":"盧旺達","SA":"沙地阿拉伯","SD":"蘇丹","SN":"塞內加爾","SG":"新加坡","GS":"南佐治亞及南三文治羣島","SH":"聖海倫娜島、阿森松島及崔斯坦達庫尼亞羣島","SJ":"冷岸羣島及央棉","SB":"所羅門羣島","SL":"塞拉利昂","SV":"薩爾瓦多","SM":"聖馬力諾","SO":"索馬里","PM":"聖皮耶及密克隆羣島","RS":"塞爾維亞","SS":"南蘇丹","ST":"聖多美和普林西比","SR":"蘇里南","SK":"斯洛伐克","SI":"斯洛文尼亞","SE":"瑞典","SZ":"斯威士蘭","SX":"聖馬丁 (荷屬)","SC":"塞舌爾","SY":"阿拉伯敍利亞共和國","TC":"土克凱可羣島","TD":"乍得","TG":"多哥","TH":"泰國","TJ":"塔吉克斯坦","TK":"托克勞羣島","TM":"土庫曼","TL":"東帝汶","TO":"湯加","TT":"特立尼達和多巴哥","TN":"突尼斯","TR":"土耳其","TV":"圖瓦盧","TW":"台灣","TZ":"坦桑尼亞","UG":"烏干達","UA":"烏克蘭","UM":"美屬邊疆羣島","UY":"烏拉圭","US":"美國","UZ":"烏茲別克","VA":"梵蒂岡","VC":"聖文森特和格林納丁斯","VE":"委內瑞拉","VG":"英屬處女羣島","VI":"美屬處女羣島","VN":"越南","VU":"瓦努阿圖","WF":"沃里斯及伏塔那羣島","WS":"薩摩亞","YE":"也門","ZA":"南非","ZM":"贊比亞","ZW":"津巴布韋"}
1
+ {"AD":"安道爾","AE":"阿拉伯聯合酋長國","AF":"阿富汗","AG":"安提瓜和巴布達","AI":"安圭拉島","AL":"阿爾巴尼亞","AM":"亞美尼亞","AO":"安哥拉","AQ":"南極洲","AR":"阿根廷","AS":"美屬薩摩亞","AT":"奧地利","AU":"澳大利亞","AW":"阿盧巴島","AX":"奧蘭羣島","AZ":"亞塞拜彊","BA":"波斯尼亞和黑塞哥維那","BB":"巴巴多斯","BD":"孟加拉","BE":"比利時","BF":"布基納法索","BG":"保加利亞","BH":"巴林","BI":"布隆迪","BJ":"貝寧","BL":"聖巴泰勒米","BM":"百慕達","BN":"汶萊","BO":"玻利維亞","BQ":"荷蘭加勒比區","BR":"巴西","BS":"巴哈馬","BT":"不丹","BV":"波維特島","BW":"博茨瓦納","BY":"白俄羅斯","BZ":"伯利兹","CA":"加拿大","CC":"可可斯羣島","CD":"剛果民主共和國","CF":"中非共和國","CG":"剛果","CH":"瑞士","CI":"科特迪瓦","CK":"科克羣島","CL":"智利","CM":"喀麥隆","CN":"中國","CO":"哥倫比亞","CR":"哥斯達黎加","CU":"古巴","CV":"佛得角","CW":"庫拉索","CX":"聖誕島","CY":"賽浦路斯","CZ":"捷克","DE":"德國","DJ":"吉布提","DK":"丹麥","DM":"多米尼克","DO":"多米尼加共和國","DZ":"阿爾及利亞","EC":"厄瓜多爾","EE":"愛沙尼亞","EG":"埃及","EH":"西撒哈拉","ER":"厄立特里亞","ES":"西班牙","ET":"埃塞俄比亞","FI":"芬蘭","FJ":"斐濟羣島","FK":"福克蘭羣島","FM":"密克羅尼西亞聯邦","FO":"法羅羣島","FR":"法國","GA":"加蓬","GB":"英國","GD":"格林納達","GE":"格魯吉亞","GF":"法屬圭亞那","GG":"根息","GH":"加納","GI":"直布羅陀","GL":"格陵蘭","GM":"岡比亞","GN":"畿內亞","GP":"瓜德魯普島","GQ":"赤道畿內亞","GR":"希臘","GS":"南佐治亞及南三文治羣島","GT":"危地馬拉","GU":"關島","GW":"畿內亞比紹","GY":"圭亞那","HK":"香港","HM":"德島及麥當勞羣島","HN":"洪都拉斯","HR":"克羅地亞","HT":"海地","HU":"匈牙利","ID":"印尼","IE":"愛爾蘭","IL":"以色列","IM":"萌島","IN":"印度","IO":"英屬印度洋地區","IQ":"伊拉克","IR":"伊朗","IS":"冰島","IT":"意大利","JE":"澤西","JM":"牙買加","JO":"約旦","JP":"日本","KE":"肯雅","KG":"吉爾吉斯","KH":"柬埔寨","KI":"基里巴斯","KM":"科摩羅","KN":"聖基茨和尼維斯聯邦","KP":"北韓","KR":"大韓民國","KW":"科威特","KY":"開曼羣島","KZ":"哈薩克","LA":"老撾人民民主共和國","LB":"黎巴嫩","LC":"聖盧西亞","LI":"列支敦士登","LK":"斯里蘭卡","LR":"利比里亞","LS":"萊索托","LT":"立陶宛","LU":"盧森堡","LV":"拉脫維亞","LY":"利比亞","MA":"摩洛哥","MC":"摩納哥","MD":"摩爾多瓦","ME":"黑山","MF":"聖馬丁 (法屬)","MG":"馬達加斯加","MH":"馬紹爾羣島","MK":"北馬其頓","ML":"馬里","MM":"緬甸","MN":"蒙古","MO":"澳門","MP":"北馬里亞納羣島","MQ":"法屬馬丁尼克","MR":"毛里塔尼亞","MS":"蒙瑟拉特島","MT":"馬耳他","MU":"毛里裘斯","MV":"馬爾代夫","MW":"馬拉維","MX":"墨西哥","MY":"馬來西亞","MZ":"莫桑比克","NA":"納米比亞","NC":"新喀里多尼亞島","NE":"尼日爾","NF":"諾福克羣島","NG":"尼日利亞","NI":"尼加拉瓜","NL":"荷蘭","NO":"挪威","NP":"尼泊爾","NR":"瑙魯","NU":"紐威島","NZ":"新西蘭","OM":"阿曼","PA":"巴拿馬","PE":"秘魯","PF":"法屬玻利尼西亞","PG":"巴布亞新畿內亞","PH":"菲律賓","PK":"巴基斯坦","PL":"波蘭","PM":"聖皮耶及密克隆羣島","PN":"皮特康","PR":"波多黎各","PS":"巴勒斯坦","PT":"葡萄牙","PW":"帕勞","PY":"巴拉圭","QA":"卡塔爾","RE":"留尼旺","RO":"羅馬尼亞","RS":"塞爾維亞","RU":"俄羅斯聯邦","RW":"盧旺達","SA":"沙地阿拉伯","SB":"所羅門羣島","SC":"塞舌爾","SD":"蘇丹","SE":"瑞典","SG":"新加坡","SH":"聖海倫娜島、阿森松島及崔斯坦達庫尼亞羣島","SI":"斯洛文尼亞","SJ":"冷岸羣島及央棉","SK":"斯洛伐克","SL":"塞拉利昂","SM":"聖馬力諾","SN":"塞內加爾","SO":"索馬里","SR":"蘇里南","SS":"南蘇丹","ST":"聖多美和普林西比","SV":"薩爾瓦多","SX":"聖馬丁 (荷屬)","SY":"阿拉伯敍利亞共和國","SZ":"斯威士蘭","TC":"土克凱可羣島","TD":"乍得","TF":"法屬南部屬地","TG":"多哥","TH":"泰國","TJ":"塔吉克斯坦","TK":"托克勞羣島","TL":"東帝汶","TM":"土庫曼","TN":"突尼斯","TO":"湯加","TR":"土耳其","TT":"特立尼達和多巴哥","TV":"圖瓦盧","TW":"台灣","TZ":"坦桑尼亞","UA":"烏克蘭","UG":"烏干達","UM":"美屬邊疆羣島","US":"美國","UY":"烏拉圭","UZ":"烏茲別克","VA":"梵蒂岡","VC":"聖文森特和格林納丁斯","VE":"委內瑞拉","VG":"英屬處女羣島","VI":"美屬處女羣島","VN":"越南","VU":"瓦努阿圖","WF":"沃里斯及伏塔那羣島","WS":"薩摩亞","YE":"也門","YT":"美亞特","ZA":"南非","ZM":"贊比亞","ZW":"津巴布韋"}
@@ -1 +1 @@
1
- {"AW":"阿魯巴","AF":"阿富汗","AO":"安哥拉","AI":"安圭拉","AX":"奧蘭群島","AL":"阿爾巴尼亞","AD":"安道爾","AE":"阿拉伯聯合大公國","AR":"阿根廷","AM":"亞美尼亞","AS":"美屬薩摩亞","AQ":"南極洲","TF":"法屬南部領地","AG":"安地卡及巴布達","AU":"澳大利亞","AT":"奧地利","AZ":"亞塞拜然","BI":"蒲隆地","BE":"比利時","BJ":"貝南","BQ":"波內赫、聖尤斯特歇斯及薩巴","BF":"布吉納法索","BD":"孟加拉","BG":"保加利亞","BH":"巴林","BS":"巴哈馬","BA":"波士尼亞及赫塞哥維納","BL":"聖巴瑟米","BY":"白俄羅斯","BZ":"貝里斯","BM":"百慕達","BO":"玻利維亞","BR":"巴西","BB":"巴貝多","BN":"汶萊","BT":"不丹","BV":"布威島","BW":"波札那","CF":"中非共和國","CA":"加拿大","CC":"科科斯 (基林) 群島","CH":"瑞士","CL":"智利","CN":"中國","CI":"象牙海岸","CM":"喀麥隆","CD":"剛果民主共和國","CG":"剛果","CK":"庫克群島","CO":"哥倫比亞","KM":"葛摩","CV":"維德角","CR":"哥斯大黎加","CU":"古巴","CW":"古拉索","CX":"聖誕島","KY":"開曼群島","CY":"賽普勒斯","CZ":"捷克","DE":"德國","DJ":"吉布地","DM":"多米尼克","DK":"丹麥","DO":"多明尼加共和國","DZ":"阿爾及利亞","EC":"厄瓜多","EG":"埃及","ER":"厄利垂亞","EH":"西撒哈拉","ES":"西班牙","EE":"愛沙尼亞","ET":"衣索比亞","FI":"芬蘭","FJ":"斐濟","FK":"福克蘭群島 (馬維娜斯)","FR":"法國","FO":"法羅群島","FM":"密克羅尼西亞聯邦","GA":"加彭","GB":"英國","GE":"喬治亞","GG":"根息島","GH":"迦納","GI":"直布羅陀","GN":"幾內亞","GP":"瓜地洛普","GM":"甘比亞","GW":"幾內亞比索","GQ":"赤道幾內亞","GR":"希臘","GD":"格瑞那達","GL":"格陵蘭","GT":"瓜地馬拉","GF":"法屬蓋亞那","GU":"關島","GY":"蓋亞那","HK":"香港","HM":"赫德島及麥當勞群島","HN":"宏都拉斯","HR":"克羅埃西亞","HT":"海地","HU":"匈牙利","ID":"印度尼西亞","IM":"曼島","IN":"印度","IO":"英屬印度洋領地","IE":"愛爾蘭","IR":"伊朗伊斯蘭共和國","IQ":"伊拉克","IS":"冰島","IL":"以色列","IT":"義大利","JM":"牙買加","JE":"澤西島","JO":"約旦","JP":"日本","KZ":"哈薩克","KE":"肯亞","KG":"吉爾吉斯","KH":"柬埔寨","KI":"吉里巴斯","KN":"聖克里斯多福及尼維斯","KR":"大韓民國","KW":"科威特","LA":"寮人民民主共和國","LB":"黎巴嫩","LR":"賴比瑞亞","LY":"利比亞","LC":"聖露西亞","LI":"列支敦斯登","LK":"斯里蘭卡","LS":"賴索托","LT":"立陶宛","LU":"盧森堡","LV":"拉脫維亞","MO":"澳門","MF":"聖馬丁 (法屬)","MA":"摩洛哥","MC":"摩納哥","MD":"摩爾多瓦","MG":"馬達加斯加","MV":"馬爾地夫","MX":"墨西哥","MH":"馬紹爾群島","MK":"北馬其頓","ML":"馬利","MT":"馬爾他","MM":"緬甸","ME":"蒙特內哥羅","MN":"蒙古","MP":"北馬里亞納群島","MZ":"莫三比克","MR":"茅利塔尼亞","MS":"蒙塞拉特島","MQ":"馬丁尼克","MU":"模里西斯","MW":"馬拉威","MY":"馬來西亞","YT":"馬約特","NA":"納米比亞","NC":"新喀里多尼亞","NE":"尼日","NF":"諾福克島","NG":"奈及利亞","NI":"尼加拉瓜","NU":"紐埃","NL":"荷蘭","NO":"挪威","NP":"尼泊爾","NR":"諾魯","NZ":"紐西蘭","OM":"阿曼","PK":"巴基斯坦","PA":"巴拿馬","PN":"皮特肯島","PE":"祕魯","PH":"菲律賓","PW":"帛琉","PG":"巴布亞紐幾內亞","PL":"波蘭","PR":"波多黎各","KP":"朝鮮民主主義人民共和國","PT":"葡萄牙","PY":"巴拉圭","PS":"巴勒斯坦","PF":"法屬玻里尼西亞","QA":"卡達","RE":"留尼旺島","RO":"羅馬尼亞","RU":"俄羅斯聯邦","RW":"盧安達","SA":"沙烏地阿拉伯","SD":"蘇丹","SN":"塞內加爾","SG":"新加坡","GS":"南喬治亞及南三明治群島","SH":"聖赫倫那島、阿森松島及崔斯坦達庫尼亞群島","SJ":"冷岸群島及央棉","SB":"索羅門群島","SL":"獅子山","SV":"薩爾瓦多","SM":"聖馬利諾","SO":"索馬利亞","PM":"聖皮耶及密克隆群島","RS":"塞爾維亞","SS":"南蘇丹","ST":"聖多美及普林西比","SR":"蘇利南","SK":"斯洛伐克","SI":"斯洛維尼亞","SE":"瑞典","SZ":"史瓦帝尼","SX":"聖馬丁 (荷屬)","SC":"塞席爾","SY":"敘利亞阿拉伯共和國","TC":"土克凱可群島","TD":"查德","TG":"多哥","TH":"泰國","TJ":"塔吉克","TK":"托克勞","TM":"土庫曼","TL":"東帝汶","TO":"東加","TT":"千里達及托巴哥","TN":"突尼西亞","TR":"土耳其","TV":"吐瓦魯","TW":"臺灣","TZ":"坦尚尼亞","UG":"烏干達","UA":"烏克蘭","UM":"美屬邊疆群島","UY":"烏拉圭","US":"美國","UZ":"烏茲別克","VA":"教廷 (梵蒂岡城市國)","VC":"聖文森及格瑞納丁","VE":"委內瑞拉","VG":"英屬維京群島","VI":"美屬維京群島","VN":"越南","VU":"萬那杜","WF":"沃里斯及伏塔那群島","WS":"薩摩亞","YE":"葉門","ZA":"南非","ZM":"尚比亞","ZW":"辛巴威"}
1
+ {"AD":"安道爾","AE":"阿拉伯聯合大公國","AF":"阿富汗","AG":"安地卡及巴布達","AI":"安圭拉","AL":"阿爾巴尼亞","AM":"亞美尼亞","AO":"安哥拉","AQ":"南極洲","AR":"阿根廷","AS":"美屬薩摩亞","AT":"奧地利","AU":"澳大利亞","AW":"阿魯巴","AX":"奧蘭群島","AZ":"亞塞拜然","BA":"波士尼亞及赫塞哥維納","BB":"巴貝多","BD":"孟加拉","BE":"比利時","BF":"布吉納法索","BG":"保加利亞","BH":"巴林","BI":"蒲隆地","BJ":"貝南","BL":"聖巴瑟米","BM":"百慕達","BN":"汶萊","BO":"玻利維亞","BQ":"波內赫、聖尤斯特歇斯及薩巴","BR":"巴西","BS":"巴哈馬","BT":"不丹","BV":"布威島","BW":"波札那","BY":"白俄羅斯","BZ":"貝里斯","CA":"加拿大","CC":"科科斯 (基林) 群島","CD":"剛果民主共和國","CF":"中非共和國","CG":"剛果","CH":"瑞士","CI":"象牙海岸","CK":"庫克群島","CL":"智利","CM":"喀麥隆","CN":"中國","CO":"哥倫比亞","CR":"哥斯大黎加","CU":"古巴","CV":"維德角","CW":"古拉索","CX":"聖誕島","CY":"賽普勒斯","CZ":"捷克","DE":"德國","DJ":"吉布地","DK":"丹麥","DM":"多米尼克","DO":"多明尼加共和國","DZ":"阿爾及利亞","EC":"厄瓜多","EE":"愛沙尼亞","EG":"埃及","EH":"西撒哈拉","ER":"厄利垂亞","ES":"西班牙","ET":"衣索比亞","FI":"芬蘭","FJ":"斐濟","FK":"福克蘭群島 (馬維娜斯)","FM":"密克羅尼西亞聯邦","FO":"法羅群島","FR":"法國","GA":"加彭","GB":"英國","GD":"格瑞那達","GE":"喬治亞","GF":"法屬蓋亞那","GG":"根息島","GH":"迦納","GI":"直布羅陀","GL":"格陵蘭","GM":"甘比亞","GN":"幾內亞","GP":"瓜地洛普","GQ":"赤道幾內亞","GR":"希臘","GS":"南喬治亞及南三明治群島","GT":"瓜地馬拉","GU":"關島","GW":"幾內亞比索","GY":"蓋亞那","HK":"香港","HM":"赫德島及麥當勞群島","HN":"宏都拉斯","HR":"克羅埃西亞","HT":"海地","HU":"匈牙利","ID":"印度尼西亞","IE":"愛爾蘭","IL":"以色列","IM":"曼島","IN":"印度","IO":"英屬印度洋領地","IQ":"伊拉克","IR":"伊朗伊斯蘭共和國","IS":"冰島","IT":"義大利","JE":"澤西島","JM":"牙買加","JO":"約旦","JP":"日本","KE":"肯亞","KG":"吉爾吉斯","KH":"柬埔寨","KI":"吉里巴斯","KM":"葛摩","KN":"聖克里斯多福及尼維斯","KP":"朝鮮民主主義人民共和國","KR":"大韓民國","KW":"科威特","KY":"開曼群島","KZ":"哈薩克","LA":"寮人民民主共和國","LB":"黎巴嫩","LC":"聖露西亞","LI":"列支敦斯登","LK":"斯里蘭卡","LR":"賴比瑞亞","LS":"賴索托","LT":"立陶宛","LU":"盧森堡","LV":"拉脫維亞","LY":"利比亞","MA":"摩洛哥","MC":"摩納哥","MD":"摩爾多瓦","ME":"蒙特內哥羅","MF":"聖馬丁 (法屬)","MG":"馬達加斯加","MH":"馬紹爾群島","MK":"北馬其頓","ML":"馬利","MM":"緬甸","MN":"蒙古","MO":"澳門","MP":"北馬里亞納群島","MQ":"馬丁尼克","MR":"茅利塔尼亞","MS":"蒙塞拉特島","MT":"馬爾他","MU":"模里西斯","MV":"馬爾地夫","MW":"馬拉威","MX":"墨西哥","MY":"馬來西亞","MZ":"莫三比克","NA":"納米比亞","NC":"新喀里多尼亞","NE":"尼日","NF":"諾福克島","NG":"奈及利亞","NI":"尼加拉瓜","NL":"荷蘭","NO":"挪威","NP":"尼泊爾","NR":"諾魯","NU":"紐埃","NZ":"紐西蘭","OM":"阿曼","PA":"巴拿馬","PE":"祕魯","PF":"法屬玻里尼西亞","PG":"巴布亞紐幾內亞","PH":"菲律賓","PK":"巴基斯坦","PL":"波蘭","PM":"聖皮耶及密克隆群島","PN":"皮特肯島","PR":"波多黎各","PS":"巴勒斯坦","PT":"葡萄牙","PW":"帛琉","PY":"巴拉圭","QA":"卡達","RE":"留尼旺島","RO":"羅馬尼亞","RS":"塞爾維亞","RU":"俄羅斯聯邦","RW":"盧安達","SA":"沙烏地阿拉伯","SB":"索羅門群島","SC":"塞席爾","SD":"蘇丹","SE":"瑞典","SG":"新加坡","SH":"聖赫倫那島、阿森松島及崔斯坦達庫尼亞群島","SI":"斯洛維尼亞","SJ":"冷岸群島及央棉","SK":"斯洛伐克","SL":"獅子山","SM":"聖馬利諾","SN":"塞內加爾","SO":"索馬利亞","SR":"蘇利南","SS":"南蘇丹","ST":"聖多美及普林西比","SV":"薩爾瓦多","SX":"聖馬丁 (荷屬)","SY":"敘利亞阿拉伯共和國","SZ":"史瓦帝尼","TC":"土克凱可群島","TD":"查德","TF":"法屬南部領地","TG":"多哥","TH":"泰國","TJ":"塔吉克","TK":"托克勞","TL":"東帝汶","TM":"土庫曼","TN":"突尼西亞","TO":"東加","TR":"土耳其","TT":"千里達及托巴哥","TV":"吐瓦魯","TW":"臺灣","TZ":"坦尚尼亞","UA":"烏克蘭","UG":"烏干達","UM":"美屬邊疆群島","US":"美國","UY":"烏拉圭","UZ":"烏茲別克","VA":"教廷 (梵蒂岡城市國)","VC":"聖文森及格瑞納丁","VE":"委內瑞拉","VG":"英屬維京群島","VI":"美屬維京群島","VN":"越南","VU":"萬那杜","WF":"沃里斯及伏塔那群島","WS":"薩摩亞","YE":"葉門","YT":"馬約特","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-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"}
1
+ {"AD":"I-Andora","AE":"United Arab Emirates","AF":"I-Afganistani","AG":"Antigua no Barbuda","AI":"Anguilla","AL":"I-Albaniya","AM":"Armenia","AO":"I-Angola","AQ":"Antarctica","AR":"I-Argentina","AS":"American Samoa","AT":"I-Ostriya","AU":"I-Ostreliya","AW":"Aruba","AX":"Åland Islands","AZ":"I-Azerbayijani","BA":"IBhosniya neHerzegovina","BB":"I-Barbados","BD":"Isi-Bhangladeshi","BE":"Isi-Bhelijiyamu","BF":"IBukhina Faso","BG":"IBulgariya","BH":"Bahrain","BI":"IBurundi","BJ":"IBenini","BL":"Saint Barthélemy","BM":"Bermuda","BN":"Brunei Darussalam","BO":"I Boliviya","BQ":"Bonaire, Sint Eustatius and Saba","BR":"IBrazili","BS":"Bahamas","BT":"Bhutan","BV":"Bouvet Island","BW":"IButswana","BY":"IBelarusi","BZ":"Belize","CA":"I Khanada","CC":"Cocos (Keeling) Islands","CD":"Congo, The Democratic Republic of the","CF":"Central African Republic","CG":"Congo","CH":"I-Switzerland","CI":"Côte d'Ivoire","CK":"Cook Islands","CL":"I-Chile","CM":"IKamerooni","CN":"Isi-Shayina","CO":"IKolombiya","CR":"Costa Rica","CU":"Cuba","CV":"Cabo Verde","CW":"Curaçao","CX":"Christmas Island","CY":"Cyprus","CZ":"Czechia","DE":"IJalimani","DJ":"IJibuthi","DK":"IDenimaki","DM":"Dominica","DO":"Ulawulo lokuziphatha kwe Dominikhani","DZ":"IAljiriya","EC":"Ecuador","EE":"I-Estoniya","EG":"IGibhithe","EH":"Western Sahara","ER":"I-Eritrea","ES":"ISpeyini","ET":"I-Ithiopia","FI":"IFinlandi","FJ":"IFiji","FK":"Falkland Islands (Malvinas)","FM":"Micronesia, Federated States of","FO":"Faroe Islands","FR":"IFulansi","GA":"IGaboni","GB":"Umbuso Ohlangeneyo","GD":"I-Grenada","GE":"Georgia","GF":"French Guiana","GG":"Guernsey","GH":"IGana","GI":"Gibraltar","GL":"Greenland","GM":"Gambia","GN":"IGini","GP":"Guadeloupe","GQ":"IGini Enkabazwe","GR":"IGreki","GS":"South Georgia and the South Sandwich Islands","GT":"I-Guwathemala","GU":"Guam","GW":"IGini Bisawu","GY":"Guyana","HK":"Hong Kong","HM":"Heard Island and McDonald Islands","HN":"I-Hondurasi","HR":"IKrowati","HT":"Haiti","HU":"I-Hungariya","ID":"I-Indonesia","IE":"I-Ayilendi","IL":"Isreyili","IM":"Isle of Man","IN":"India","IO":"British Indian Ocean Territory","IQ":"I-Iraki","IR":"Iran, Islamic Republic of","IS":"I-Ayisilandi","IT":"ITaliya","JE":"Jersey","JM":"Jamaica","JO":"Jordan","JP":"IJaphani","KE":"IKenya","KG":"Kyrgyzstan","KH":"Cambodia","KI":"Kiribati","KM":"IsiKhomorosi","KN":"Saint Kitts and Nevis","KP":"North Korea","KR":"South Korea","KW":"Kuwait","KY":"Cayman Islands","KZ":"Kazakhstan","LA":"Lao People's Democratic Republic","LB":"Lebanon","LC":"Saint Lucia","LI":"Liechtenstein","LK":"Sri Lanka","LR":"ILiberia","LS":"OSotho","LT":"ILithuwaniya","LU":"I-Luxembourg","LV":"ILatviya","LY":"ILibiya","MA":"IMorokho","MC":"Monaco","MD":"Moldova","ME":"IMontenegro","MF":"Saint Martin (French part)","MG":"IMadagasika","MH":"Marshall Islands","MK":"North Macedonia","ML":"IMali","MM":"Myanmar","MN":"Mongolia","MO":"Macao","MP":"Northern Mariana Islands","MQ":"Martinique","MR":"IMoritaniya","MS":"Montserrat","MT":"IMalta","MU":"IMorishisi","MV":"Maldives","MW":"IMalawi","MX":"IMekisiko","MY":"Malaysia","MZ":"IMozambiki","NA":"INamibhiya","NC":"New Caledonia","NE":"INayighe","NF":"Norfolk Island","NG":"INigeria","NI":"Nicaragua","NL":"I-Netherlands","NO":"INoki","NP":"Nepal","NR":"Nauru","NU":"Niue","NZ":"INyuzilandi","OM":"Oman","PA":"Panama","PE":"I-Peru","PF":"French Polynesia","PG":"Papua New Guinea","PH":"Philippines","PK":"IPakistani","PL":"IPolandi","PM":"Saint Pierre and Miquelon","PN":"Pitcairn","PR":"Puerto Rico","PS":"Palestine, State of","PT":"IPhothugali","PW":"Palau","PY":"I-Paraguwayi","QA":"Qatar","RE":"IRiyunion","RO":"I-Romaniya","RS":"ISerbiya","RU":"Russian Federation","RW":"IRuwanda","SA":"Saudi Arabia","SB":"Solomon Islands","SC":"IsiSeyisheli","SD":"ISudan","SE":"ISwidi","SG":"Singapore","SH":"Saint Helena, Ascension and Tristan da Cunha","SI":"ISloveniya","SJ":"Svalbard and Jan Mayen","SK":"ISlovaki","SL":"ISiera Liyoni","SM":"USanti Marino","SN":"ISenegal","SO":"ISomalia","SR":"Suriname","SS":"ISudan yaseNingizimu","ST":"ISawu Tome noPhrinitshipeyi","SV":"El Salvador","SX":"Sint Maarten (Dutch part)","SY":"Syrian Arab Republic","SZ":"Eswatini","TC":"Turks and Caicos Islands","TD":"ITshedi","TF":"French Southern Territories","TG":"ITogo","TH":"I-Thayilandi","TJ":"Tajikistan","TK":"Tokelau","TL":"Timor-Leste","TM":"Turkmenistan","TN":"ITunisia","TO":"Tonga","TR":"ITheki","TT":"I-Trinidad ne Tobago","TV":"Tuvalu","TW":"I-Tayiwani","TZ":"ITanzania","UA":"I-Yukreyini","UG":"IYuganda","UM":"United States Minor Outlying Islands","US":"United States","UY":"I-Uruguwayi","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","YT":"IMayotte","ZA":"IRiphabliki yaseNingizimu Afrika","ZM":"IZambiya","ZW":"IZimbabwe"}
@@ -50,15 +50,18 @@ module ISO3166
50
50
  end
51
51
 
52
52
  def translations(locale = 'en')
53
- i18n_data_countries = I18nData.countries(locale.upcase)
53
+ locale = locale.downcase
54
+ file_path = ISO3166::Data.datafile_path(%W[locales #{locale}.json])
55
+ translations = JSON.parse(File.read(file_path))
54
56
 
55
- custom_countries = (ISO3166::Data.codes - i18n_data_countries.keys).map do |code|
57
+ custom_countries = {}
58
+ (ISO3166::Data.codes - ISO3166::Data.loaded_codes).each do |code|
56
59
  country = ISO3166::Country[code]
57
60
  translation = country.translations[locale] || country.iso_short_name
58
- [code, translation]
59
- end.to_h
61
+ custom_countries[code] = translation
62
+ end
60
63
 
61
- i18n_data_countries.merge(custom_countries)
64
+ translations.merge(custom_countries)
62
65
  end
63
66
 
64
67
  def subdivisions(alpha2)
@@ -68,8 +71,7 @@ module ISO3166
68
71
 
69
72
  def create_subdivisions(subdivision_data)
70
73
  subdivision_data.each_with_object({}) do |(k, v), hash|
71
- data = v.merge('code' => k.to_s)
72
- hash[k] = Subdivision.new(data)
74
+ hash[k] = Subdivision.new(v)
73
75
  end
74
76
  end
75
77
 
@@ -64,13 +64,41 @@ module ISO3166
64
64
  end
65
65
  end
66
66
 
67
+ # @param types [Array<String>] The locale to use for translations.
68
+ # @return [Array<ISO3166::Subdivision>] the list of subdivisions of the given type(s) for this Country.
69
+ def subdivisions_of_types(types)
70
+ subdivisions.select{|k,v| types.include?(v.type)}
71
+ end
72
+
73
+ # @return [Array<String>] the list of subdivision types for this country
74
+ def subdivision_types
75
+ subdivisions.map{|k,v| v['type']}.uniq
76
+ end
77
+
78
+ # @return [Array<String>] the list of humanized subdivision types for this country. Uses ActiveSupport's `#humanize` if available
79
+ def humanized_subdivision_types
80
+ if String.instance_methods.include?(:humanize)
81
+ subdivisions.map{|k,v| v['type'].humanize}.uniq
82
+ else
83
+ subdivisions.map{|k,v| v['type'][0].upcase + v['type'].tr('_', ' ')[1..-1]}.uniq
84
+ end
85
+ end
86
+
67
87
  # @param locale [String] The locale to use for translations.
68
88
  # @return [Array<Array>] This Country's subdivision pairs of names and codes.
69
89
  def subdivision_names_with_codes(locale = 'en')
70
90
  subdivisions.map { |k, v| [v.translations[locale] || v.name, k] }
71
91
  end
72
92
 
73
- alias states subdivisions
93
+ def states
94
+ if RUBY_VERSION =~ /^3\.\d\.\d/
95
+ warn "DEPRECATION WARNING: The Country#states method has been deprecated and will be removed in 6.0. Please use Country#subdivisions instead.", uplevel: 1, category: :deprecated
96
+ else
97
+ warn "DEPRECATION WARNING: The Country#states method has been deprecated and will be removed in 6.0. Please use Country#subdivisions instead.", uplevel: 1
98
+ end
99
+
100
+ subdivisions
101
+ end
74
102
 
75
103
  # +true+ if this country is a member of the European Union.
76
104
  def in_eu?
@@ -205,8 +233,6 @@ module ISO3166
205
233
  # @!attribute world_region
206
234
  # @return [String] The "World Region" this country is in: +"AMER"+ , +"APAC"+ or +"EMEA"+
207
235
 
208
-
209
-
210
236
  private
211
237
 
212
238
  def reload
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  '02':
3
3
  name: Canillo
4
- code:
4
+ code: '02'
5
5
  unofficial_names: Canillo
6
6
  geo:
7
7
  latitude: 42.5666535
@@ -13,9 +13,10 @@
13
13
  translations:
14
14
  en: Canillo
15
15
  comments:
16
+ type: parish
16
17
  '03':
17
18
  name: Encamp
18
- code:
19
+ code: '03'
19
20
  unofficial_names: Encamp
20
21
  geo:
21
22
  latitude: 42.5362652
@@ -27,9 +28,10 @@
27
28
  translations:
28
29
  en: Encamp
29
30
  comments:
31
+ type: parish
30
32
  '04':
31
33
  name: La Massana
32
- code:
34
+ code: '04'
33
35
  unofficial_names: La Massana
34
36
  geo:
35
37
  latitude: 42.545625
@@ -41,9 +43,10 @@
41
43
  translations:
42
44
  en: La Massana
43
45
  comments:
46
+ type: parish
44
47
  '05':
45
48
  name: Ordino
46
- code:
49
+ code: '05'
47
50
  unofficial_names: Ordino
48
51
  geo:
49
52
  latitude: 42.5556547
@@ -55,9 +58,10 @@
55
58
  translations:
56
59
  en: Ordino
57
60
  comments:
61
+ type: parish
58
62
  '06':
59
63
  name: Sant Julià de Lòria
60
- code:
64
+ code: '06'
61
65
  unofficial_names:
62
66
  - Saint Julia de Loria
63
67
  geo:
@@ -70,9 +74,10 @@
70
74
  translations:
71
75
  en: Sant Julià de Lòria
72
76
  comments:
77
+ type: parish
73
78
  '07':
74
79
  name: Andorra la Vella
75
- code:
80
+ code: '07'
76
81
  unofficial_names:
77
82
  - Andorra la Vieja
78
83
  - Andorre-la-Vieille
@@ -86,9 +91,10 @@
86
91
  translations:
87
92
  en: Andorra la Vella
88
93
  comments:
94
+ type: parish
89
95
  '08':
90
96
  name: Escaldes-Engordany
91
- code:
97
+ code: '08'
92
98
  unofficial_names:
93
99
  - Les Escaldes
94
100
  geo:
@@ -101,3 +107,4 @@
101
107
  translations:
102
108
  en: Escaldes-Engordany
103
109
  comments:
110
+ type: parish
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  AJ:
3
3
  name: "'Ajmān"
4
- code:
4
+ code: AJ
5
5
  unofficial_names: "-إمارة عجمانّ - Ujman"
6
6
  geo:
7
7
  latitude: 25.3995
@@ -74,9 +74,10 @@ AJ:
74
74
  'no': Emiratet Ajman
75
75
  yo_BJ: Ajman
76
76
  comments:
77
+ type: emirate
77
78
  AZ:
78
79
  name: Abū Z̧aby [Abu Dhabi]
79
- code:
80
+ code: AZ
80
81
  unofficial_names:
81
82
  - أبو ظبي
82
83
  - Abu Zabi
@@ -157,9 +158,10 @@ AZ:
157
158
  mk: Абу Даби
158
159
  'no': Emiratet Abu Dhabi
159
160
  comments:
161
+ type: emirate
160
162
  DU:
161
163
  name: Dubayy
162
- code:
164
+ code: DU
163
165
  unofficial_names:
164
166
  - دبي
165
167
  - Dubai
@@ -232,9 +234,10 @@ DU:
232
234
  bs: Dubai
233
235
  'no': Emiratet Dubai
234
236
  comments:
237
+ type: emirate
235
238
  FU:
236
239
  name: Al Fujayrah
237
- code:
240
+ code: FU
238
241
  unofficial_names:
239
242
  - الفجيرة
240
243
  - Al Fujayrah
@@ -309,9 +312,10 @@ FU:
309
312
  'no': Emiratet Fujairah
310
313
  yo_BJ: Fujairah
311
314
  comments:
315
+ type: emirate
312
316
  RK:
313
317
  name: Ra's al Khaymah
314
- code:
318
+ code: RK
315
319
  unofficial_names:
316
320
  - إمارة رأس الخيمة
317
321
  - Ras al-Khaimah
@@ -385,9 +389,10 @@ RK:
385
389
  'no': Emiratet Ras al-Khaimah
386
390
  yo_BJ: Ras al Khaimah
387
391
  comments:
392
+ type: emirate
388
393
  SH:
389
394
  name: Ash Shariqah [Sharjah]
390
- code:
395
+ code: SH
391
396
  unofficial_names:
392
397
  - إمارة الشارقةّ
393
398
  - Ash Shariqah
@@ -462,9 +467,10 @@ SH:
462
467
  'no': Emiratet Sharjah
463
468
  yo_BJ: Sharjah
464
469
  comments:
470
+ type: emirate
465
471
  UQ:
466
472
  name: Umm al Qaywayn
467
- code:
473
+ code: UQ
468
474
  unofficial_names:
469
475
  - أمّ القيوين
470
476
  - Umm al-Quwain
@@ -537,3 +543,4 @@ UQ:
537
543
  'no': Emiratet Umm al-Qaiwain
538
544
  yo_BJ: Um Al Quwain
539
545
  comments:
546
+ type: emirate