countries 1.2.5 → 4.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (645) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/tests.yml +39 -0
  3. data/.gitignore +2 -1
  4. data/.rubocop.yml +1 -0
  5. data/.rubocop_todo.yml +52 -0
  6. data/CHANGELOG.md +557 -1
  7. data/Gemfile +7 -0
  8. data/LICENSE +3 -1
  9. data/README.markdown +264 -132
  10. data/Rakefile +44 -74
  11. data/bin/console +14 -0
  12. data/countries.gemspec +15 -9
  13. data/lib/countries/cache/countries.json +1 -0
  14. data/lib/countries/cache/locales/ab.json +1 -0
  15. data/lib/countries/cache/locales/af.json +1 -0
  16. data/lib/countries/cache/locales/ak.json +1 -0
  17. data/lib/countries/cache/locales/am.json +1 -0
  18. data/lib/countries/cache/locales/an.json +1 -0
  19. data/lib/countries/cache/locales/ar.json +1 -0
  20. data/lib/countries/cache/locales/as.json +1 -0
  21. data/lib/countries/cache/locales/ay.json +1 -0
  22. data/lib/countries/cache/locales/az.json +1 -0
  23. data/lib/countries/cache/locales/ba.json +1 -0
  24. data/lib/countries/cache/locales/be.json +1 -0
  25. data/lib/countries/cache/locales/bg.json +1 -0
  26. data/lib/countries/cache/locales/bi.json +1 -0
  27. data/lib/countries/cache/locales/bn-in.json +1 -0
  28. data/lib/countries/cache/locales/bn.json +1 -0
  29. data/lib/countries/cache/locales/br.json +1 -0
  30. data/lib/countries/cache/locales/bs.json +1 -0
  31. data/lib/countries/cache/locales/ca.json +1 -0
  32. data/lib/countries/cache/locales/ce.json +1 -0
  33. data/lib/countries/cache/locales/ch.json +1 -0
  34. data/lib/countries/cache/locales/cs.json +1 -0
  35. data/lib/countries/cache/locales/cv.json +1 -0
  36. data/lib/countries/cache/locales/cy.json +1 -0
  37. data/lib/countries/cache/locales/da.json +1 -0
  38. data/lib/countries/cache/locales/de.json +1 -0
  39. data/lib/countries/cache/locales/dv.json +1 -0
  40. data/lib/countries/cache/locales/dz.json +1 -0
  41. data/lib/countries/cache/locales/ee.json +1 -0
  42. data/lib/countries/cache/locales/el.json +1 -0
  43. data/lib/countries/cache/locales/en.json +1 -0
  44. data/lib/countries/cache/locales/eo.json +1 -0
  45. data/lib/countries/cache/locales/es.json +1 -0
  46. data/lib/countries/cache/locales/et.json +1 -0
  47. data/lib/countries/cache/locales/eu.json +1 -0
  48. data/lib/countries/cache/locales/fa.json +1 -0
  49. data/lib/countries/cache/locales/ff.json +1 -0
  50. data/lib/countries/cache/locales/fi.json +1 -0
  51. data/lib/countries/cache/locales/fo.json +1 -0
  52. data/lib/countries/cache/locales/fr.json +1 -0
  53. data/lib/countries/cache/locales/fy.json +1 -0
  54. data/lib/countries/cache/locales/ga.json +1 -0
  55. data/lib/countries/cache/locales/gl.json +1 -0
  56. data/lib/countries/cache/locales/gn.json +1 -0
  57. data/lib/countries/cache/locales/gu.json +1 -0
  58. data/lib/countries/cache/locales/gv.json +1 -0
  59. data/lib/countries/cache/locales/ha.json +1 -0
  60. data/lib/countries/cache/locales/he.json +1 -0
  61. data/lib/countries/cache/locales/hi.json +1 -0
  62. data/lib/countries/cache/locales/hr.json +1 -0
  63. data/lib/countries/cache/locales/ht.json +1 -0
  64. data/lib/countries/cache/locales/hu.json +1 -0
  65. data/lib/countries/cache/locales/hy.json +1 -0
  66. data/lib/countries/cache/locales/ia.json +1 -0
  67. data/lib/countries/cache/locales/id.json +1 -0
  68. data/lib/countries/cache/locales/io.json +1 -0
  69. data/lib/countries/cache/locales/is.json +1 -0
  70. data/lib/countries/cache/locales/it.json +1 -0
  71. data/lib/countries/cache/locales/iu.json +1 -0
  72. data/lib/countries/cache/locales/ja.json +1 -0
  73. data/lib/countries/cache/locales/ka.json +1 -0
  74. data/lib/countries/cache/locales/ki.json +1 -0
  75. data/lib/countries/cache/locales/kk.json +1 -0
  76. data/lib/countries/cache/locales/kl.json +1 -0
  77. data/lib/countries/cache/locales/km.json +1 -0
  78. data/lib/countries/cache/locales/kn.json +1 -0
  79. data/lib/countries/cache/locales/ko.json +1 -0
  80. data/lib/countries/cache/locales/ku.json +1 -0
  81. data/lib/countries/cache/locales/kv.json +1 -0
  82. data/lib/countries/cache/locales/kw.json +1 -0
  83. data/lib/countries/cache/locales/ky.json +1 -0
  84. data/lib/countries/cache/locales/lo.json +1 -0
  85. data/lib/countries/cache/locales/lt.json +1 -0
  86. data/lib/countries/cache/locales/lv.json +1 -0
  87. data/lib/countries/cache/locales/mi.json +1 -0
  88. data/lib/countries/cache/locales/mk.json +1 -0
  89. data/lib/countries/cache/locales/ml.json +1 -0
  90. data/lib/countries/cache/locales/mn.json +1 -0
  91. data/lib/countries/cache/locales/mr.json +1 -0
  92. data/lib/countries/cache/locales/ms.json +1 -0
  93. data/lib/countries/cache/locales/mt.json +1 -0
  94. data/lib/countries/cache/locales/my.json +1 -0
  95. data/lib/countries/cache/locales/na.json +1 -0
  96. data/lib/countries/cache/locales/nb.json +1 -0
  97. data/lib/countries/cache/locales/ne.json +1 -0
  98. data/lib/countries/cache/locales/nl.json +1 -0
  99. data/lib/countries/cache/locales/nn.json +1 -0
  100. data/lib/countries/cache/locales/nv.json +1 -0
  101. data/lib/countries/cache/locales/oc.json +1 -0
  102. data/lib/countries/cache/locales/or.json +1 -0
  103. data/lib/countries/cache/locales/pa.json +1 -0
  104. data/lib/countries/cache/locales/pi.json +1 -0
  105. data/lib/countries/cache/locales/pl.json +1 -0
  106. data/lib/countries/cache/locales/ps.json +1 -0
  107. data/lib/countries/cache/locales/pt-br.json +1 -0
  108. data/lib/countries/cache/locales/pt.json +1 -0
  109. data/lib/countries/cache/locales/ro.json +1 -0
  110. data/lib/countries/cache/locales/ru.json +1 -0
  111. data/lib/countries/cache/locales/rw.json +1 -0
  112. data/lib/countries/cache/locales/sc.json +1 -0
  113. data/lib/countries/cache/locales/sd.json +1 -0
  114. data/lib/countries/cache/locales/si.json +1 -0
  115. data/lib/countries/cache/locales/sk.json +1 -0
  116. data/lib/countries/cache/locales/sl.json +1 -0
  117. data/lib/countries/cache/locales/so.json +1 -0
  118. data/lib/countries/cache/locales/sq.json +1 -0
  119. data/lib/countries/cache/locales/sr.json +1 -0
  120. data/lib/countries/cache/locales/sv.json +1 -0
  121. data/lib/countries/cache/locales/sw.json +1 -0
  122. data/lib/countries/cache/locales/ta.json +1 -0
  123. data/lib/countries/cache/locales/te.json +1 -0
  124. data/lib/countries/cache/locales/tg.json +1 -0
  125. data/lib/countries/cache/locales/th.json +1 -0
  126. data/lib/countries/cache/locales/ti.json +1 -0
  127. data/lib/countries/cache/locales/tk.json +1 -0
  128. data/lib/countries/cache/locales/tl.json +1 -0
  129. data/lib/countries/cache/locales/tr.json +1 -0
  130. data/lib/countries/cache/locales/tt.json +1 -0
  131. data/lib/countries/cache/locales/ug.json +1 -0
  132. data/lib/countries/cache/locales/uk.json +1 -0
  133. data/lib/countries/cache/locales/ur.json +1 -0
  134. data/lib/countries/cache/locales/uz.json +1 -0
  135. data/lib/countries/cache/locales/ve.json +1 -0
  136. data/lib/countries/cache/locales/vi.json +1 -0
  137. data/lib/countries/cache/locales/wa.json +1 -0
  138. data/lib/countries/cache/locales/wo.json +1 -0
  139. data/lib/countries/cache/locales/xh.json +1 -0
  140. data/lib/countries/cache/locales/yo.json +1 -0
  141. data/lib/countries/cache/locales/zh-cn.json +1 -0
  142. data/lib/countries/cache/locales/zh-hk.json +1 -0
  143. data/lib/countries/cache/locales/zh-tw.json +1 -0
  144. data/lib/countries/cache/locales/zh.json +1 -0
  145. data/lib/countries/cache/locales/zu.json +1 -0
  146. data/lib/countries/configuration.rb +57 -0
  147. data/lib/countries/country/class_methods.rb +196 -0
  148. data/lib/countries/country/currency_methods.rb +13 -0
  149. data/lib/countries/country/emoji.rb +42 -0
  150. data/lib/countries/country.rb +214 -158
  151. data/lib/countries/data/countries/AD.yaml +32 -21
  152. data/lib/countries/data/countries/AE.yaml +40 -25
  153. data/lib/countries/data/countries/AF.yaml +36 -23
  154. data/lib/countries/data/countries/AG.yaml +36 -25
  155. data/lib/countries/data/countries/AI.yaml +33 -21
  156. data/lib/countries/data/countries/AL.yaml +35 -24
  157. data/lib/countries/data/countries/AM.yaml +36 -24
  158. data/lib/countries/data/countries/AO.yaml +30 -20
  159. data/lib/countries/data/countries/AQ.yaml +31 -22
  160. data/lib/countries/data/countries/AR.yaml +36 -24
  161. data/lib/countries/data/countries/AS.yaml +38 -25
  162. data/lib/countries/data/countries/AT.yaml +37 -25
  163. data/lib/countries/data/countries/AU.yaml +39 -23
  164. data/lib/countries/data/countries/AW.yaml +30 -20
  165. data/lib/countries/data/countries/AX.yaml +33 -22
  166. data/lib/countries/data/countries/AZ.yaml +37 -25
  167. data/lib/countries/data/countries/BA.yaml +40 -27
  168. data/lib/countries/data/countries/BB.yaml +33 -21
  169. data/lib/countries/data/countries/BD.yaml +32 -21
  170. data/lib/countries/data/countries/BE.yaml +42 -28
  171. data/lib/countries/data/countries/BF.yaml +32 -21
  172. data/lib/countries/data/countries/BG.yaml +38 -26
  173. data/lib/countries/data/countries/BH.yaml +35 -24
  174. data/lib/countries/data/countries/BI.yaml +32 -21
  175. data/lib/countries/data/countries/BJ.yaml +31 -21
  176. data/lib/countries/data/countries/BL.yaml +33 -22
  177. data/lib/countries/data/countries/BM.yaml +34 -22
  178. data/lib/countries/data/countries/BN.yaml +32 -21
  179. data/lib/countries/data/countries/BO.yaml +37 -25
  180. data/lib/countries/data/countries/BQ.yaml +33 -22
  181. data/lib/countries/data/countries/BR.yaml +42 -24
  182. data/lib/countries/data/countries/BS.yaml +32 -21
  183. data/lib/countries/data/countries/BT.yaml +33 -22
  184. data/lib/countries/data/countries/BV.yaml +31 -22
  185. data/lib/countries/data/countries/BW.yaml +32 -21
  186. data/lib/countries/data/countries/BY.yaml +38 -26
  187. data/lib/countries/data/countries/BZ.yaml +34 -23
  188. data/lib/countries/data/countries/CA.yaml +35 -23
  189. data/lib/countries/data/countries/CC.yaml +34 -23
  190. data/lib/countries/data/countries/CD.yaml +44 -28
  191. data/lib/countries/data/countries/CF.yaml +36 -25
  192. data/lib/countries/data/countries/CG.yaml +35 -23
  193. data/lib/countries/data/countries/CH.yaml +47 -26
  194. data/lib/countries/data/countries/CI.yaml +35 -24
  195. data/lib/countries/data/countries/CK.yaml +34 -24
  196. data/lib/countries/data/countries/CL.yaml +37 -21
  197. data/lib/countries/data/countries/CM.yaml +36 -25
  198. data/lib/countries/data/countries/CN.yaml +32 -21
  199. data/lib/countries/data/countries/CO.yaml +33 -22
  200. data/lib/countries/data/countries/CR.yaml +31 -20
  201. data/lib/countries/data/countries/CU.yaml +32 -21
  202. data/lib/countries/data/countries/CV.yaml +35 -24
  203. data/lib/countries/data/countries/CW.yaml +31 -21
  204. data/lib/countries/data/countries/CX.yaml +38 -25
  205. data/lib/countries/data/countries/CY.yaml +42 -28
  206. data/lib/countries/data/countries/CZ.yaml +42 -28
  207. data/lib/countries/data/countries/DE.yaml +39 -27
  208. data/lib/countries/data/countries/DJ.yaml +34 -23
  209. data/lib/countries/data/countries/DK.yaml +39 -27
  210. data/lib/countries/data/countries/DM.yaml +31 -20
  211. data/lib/countries/data/countries/DO.yaml +35 -24
  212. data/lib/countries/data/countries/DZ.yaml +36 -25
  213. data/lib/countries/data/countries/EC.yaml +32 -21
  214. data/lib/countries/data/countries/EE.yaml +37 -26
  215. data/lib/countries/data/countries/EG.yaml +36 -25
  216. data/lib/countries/data/countries/EH.yaml +38 -26
  217. data/lib/countries/data/countries/ER.yaml +36 -24
  218. data/lib/countries/data/countries/ES.yaml +38 -26
  219. data/lib/countries/data/countries/ET.yaml +35 -24
  220. data/lib/countries/data/countries/FI.yaml +40 -27
  221. data/lib/countries/data/countries/FJ.yaml +38 -25
  222. data/lib/countries/data/countries/FK.yaml +36 -25
  223. data/lib/countries/data/countries/FM.yaml +34 -23
  224. data/lib/countries/data/countries/FO.yaml +35 -24
  225. data/lib/countries/data/countries/FR.yaml +38 -26
  226. data/lib/countries/data/countries/GA.yaml +32 -22
  227. data/lib/countries/data/countries/GB.yaml +46 -28
  228. data/lib/countries/data/countries/GD.yaml +31 -20
  229. data/lib/countries/data/countries/GE.yaml +34 -23
  230. data/lib/countries/data/countries/GF.yaml +35 -23
  231. data/lib/countries/data/countries/GG.yaml +38 -26
  232. data/lib/countries/data/countries/GH.yaml +30 -20
  233. data/lib/countries/data/countries/GI.yaml +32 -21
  234. data/lib/countries/data/countries/GL.yaml +35 -24
  235. data/lib/countries/data/countries/GM.yaml +30 -20
  236. data/lib/countries/data/countries/GN.yaml +35 -23
  237. data/lib/countries/data/countries/GP.yaml +33 -22
  238. data/lib/countries/data/countries/GQ.yaml +36 -25
  239. data/lib/countries/data/countries/GR.yaml +41 -29
  240. data/lib/countries/data/countries/GS.yaml +34 -22
  241. data/lib/countries/data/countries/GT.yaml +31 -20
  242. data/lib/countries/data/countries/GU.yaml +36 -22
  243. data/lib/countries/data/countries/GW.yaml +34 -22
  244. data/lib/countries/data/countries/GY.yaml +30 -20
  245. data/lib/countries/data/countries/HK.yaml +33 -22
  246. data/lib/countries/data/countries/HM.yaml +35 -24
  247. data/lib/countries/data/countries/HN.yaml +31 -20
  248. data/lib/countries/data/countries/HR.yaml +40 -28
  249. data/lib/countries/data/countries/HT.yaml +34 -22
  250. data/lib/countries/data/countries/HU.yaml +39 -27
  251. data/lib/countries/data/countries/ID.yaml +34 -23
  252. data/lib/countries/data/countries/IE.yaml +39 -26
  253. data/lib/countries/data/countries/IL.yaml +39 -22
  254. data/lib/countries/data/countries/IM.yaml +37 -25
  255. data/lib/countries/data/countries/IN.yaml +35 -23
  256. data/lib/countries/data/countries/IO.yaml +35 -24
  257. data/lib/countries/data/countries/IQ.yaml +33 -22
  258. data/lib/countries/data/countries/IR.yaml +34 -23
  259. data/lib/countries/data/countries/IS.yaml +42 -24
  260. data/lib/countries/data/countries/IT.yaml +38 -26
  261. data/lib/countries/data/countries/JE.yaml +34 -22
  262. data/lib/countries/data/countries/JM.yaml +33 -22
  263. data/lib/countries/data/countries/JO.yaml +36 -25
  264. data/lib/countries/data/countries/JP.yaml +33 -22
  265. data/lib/countries/data/countries/KE.yaml +34 -22
  266. data/lib/countries/data/countries/KG.yaml +38 -26
  267. data/lib/countries/data/countries/KH.yaml +35 -24
  268. data/lib/countries/data/countries/KI.yaml +30 -20
  269. data/lib/countries/data/countries/KM.yaml +35 -24
  270. data/lib/countries/data/countries/KN.yaml +38 -25
  271. data/lib/countries/data/countries/KP.yaml +37 -26
  272. data/lib/countries/data/countries/KR.yaml +37 -26
  273. data/lib/countries/data/countries/KW.yaml +34 -23
  274. data/lib/countries/data/countries/KY.yaml +36 -24
  275. data/lib/countries/data/countries/KZ.yaml +36 -24
  276. data/lib/countries/data/countries/LA.yaml +32 -21
  277. data/lib/countries/data/countries/LB.yaml +37 -25
  278. data/lib/countries/data/countries/LC.yaml +35 -22
  279. data/lib/countries/data/countries/LI.yaml +32 -20
  280. data/lib/countries/data/countries/LK.yaml +33 -21
  281. data/lib/countries/data/countries/LR.yaml +31 -20
  282. data/lib/countries/data/countries/LS.yaml +33 -21
  283. data/lib/countries/data/countries/LT.yaml +41 -28
  284. data/lib/countries/data/countries/LU.yaml +39 -25
  285. data/lib/countries/data/countries/LV.yaml +45 -27
  286. data/lib/countries/data/countries/LY.yaml +36 -26
  287. data/lib/countries/data/countries/MA.yaml +35 -24
  288. data/lib/countries/data/countries/MC.yaml +32 -21
  289. data/lib/countries/data/countries/MD.yaml +36 -25
  290. data/lib/countries/data/countries/ME.yaml +38 -24
  291. data/lib/countries/data/countries/MF.yaml +37 -24
  292. data/lib/countries/data/countries/MG.yaml +35 -23
  293. data/lib/countries/data/countries/MH.yaml +37 -25
  294. data/lib/countries/data/countries/MK.yaml +37 -25
  295. data/lib/countries/data/countries/ML.yaml +30 -20
  296. data/lib/countries/data/countries/MM.yaml +31 -20
  297. data/lib/countries/data/countries/MN.yaml +34 -23
  298. data/lib/countries/data/countries/MO.yaml +33 -22
  299. data/lib/countries/data/countries/MP.yaml +38 -26
  300. data/lib/countries/data/countries/MQ.yaml +33 -22
  301. data/lib/countries/data/countries/MR.yaml +36 -25
  302. data/lib/countries/data/countries/MS.yaml +32 -21
  303. data/lib/countries/data/countries/MT.yaml +38 -25
  304. data/lib/countries/data/countries/MU.yaml +33 -22
  305. data/lib/countries/data/countries/MV.yaml +34 -23
  306. data/lib/countries/data/countries/MW.yaml +32 -21
  307. data/lib/countries/data/countries/MX.yaml +39 -23
  308. data/lib/countries/data/countries/MY.yaml +36 -24
  309. data/lib/countries/data/countries/MZ.yaml +32 -21
  310. data/lib/countries/data/countries/NA.yaml +35 -23
  311. data/lib/countries/data/countries/NC.yaml +36 -25
  312. data/lib/countries/data/countries/NE.yaml +32 -21
  313. data/lib/countries/data/countries/NF.yaml +36 -25
  314. data/lib/countries/data/countries/NG.yaml +39 -23
  315. data/lib/countries/data/countries/NI.yaml +31 -20
  316. data/lib/countries/data/countries/NL.yaml +41 -28
  317. data/lib/countries/data/countries/NO.yaml +43 -25
  318. data/lib/countries/data/countries/NP.yaml +43 -22
  319. data/lib/countries/data/countries/NR.yaml +32 -21
  320. data/lib/countries/data/countries/NU.yaml +30 -20
  321. data/lib/countries/data/countries/NZ.yaml +41 -24
  322. data/lib/countries/data/countries/OM.yaml +33 -22
  323. data/lib/countries/data/countries/PA.yaml +31 -21
  324. data/lib/countries/data/countries/PE.yaml +33 -22
  325. data/lib/countries/data/countries/PF.yaml +36 -25
  326. data/lib/countries/data/countries/PG.yaml +35 -24
  327. data/lib/countries/data/countries/PH.yaml +41 -24
  328. data/lib/countries/data/countries/PK.yaml +34 -22
  329. data/lib/countries/data/countries/PL.yaml +38 -26
  330. data/lib/countries/data/countries/PM.yaml +36 -25
  331. data/lib/countries/data/countries/PN.yaml +35 -23
  332. data/lib/countries/data/countries/PR.yaml +33 -21
  333. data/lib/countries/data/countries/PS.yaml +41 -28
  334. data/lib/countries/data/countries/PT.yaml +34 -22
  335. data/lib/countries/data/countries/PW.yaml +31 -20
  336. data/lib/countries/data/countries/PY.yaml +33 -21
  337. data/lib/countries/data/countries/QA.yaml +32 -22
  338. data/lib/countries/data/countries/RE.yaml +34 -23
  339. data/lib/countries/data/countries/RO.yaml +40 -28
  340. data/lib/countries/data/countries/RS.yaml +34 -23
  341. data/lib/countries/data/countries/RU.yaml +37 -26
  342. data/lib/countries/data/countries/RW.yaml +35 -23
  343. data/lib/countries/data/countries/SA.yaml +42 -25
  344. data/lib/countries/data/countries/SB.yaml +35 -25
  345. data/lib/countries/data/countries/SC.yaml +33 -22
  346. data/lib/countries/data/countries/SD.yaml +37 -25
  347. data/lib/countries/data/countries/SE.yaml +39 -27
  348. data/lib/countries/data/countries/SG.yaml +38 -25
  349. data/lib/countries/data/countries/SH.yaml +37 -25
  350. data/lib/countries/data/countries/SI.yaml +39 -27
  351. data/lib/countries/data/countries/SJ.yaml +36 -25
  352. data/lib/countries/data/countries/SK.yaml +39 -27
  353. data/lib/countries/data/countries/SL.yaml +30 -20
  354. data/lib/countries/data/countries/SM.yaml +32 -21
  355. data/lib/countries/data/countries/SN.yaml +32 -21
  356. data/lib/countries/data/countries/SO.yaml +35 -23
  357. data/lib/countries/data/countries/SR.yaml +31 -21
  358. data/lib/countries/data/countries/SS.yaml +35 -23
  359. data/lib/countries/data/countries/ST.yaml +34 -24
  360. data/lib/countries/data/countries/SV.yaml +32 -21
  361. data/lib/countries/data/countries/SX.yaml +34 -22
  362. data/lib/countries/data/countries/SY.yaml +36 -26
  363. data/lib/countries/data/countries/SZ.yaml +35 -23
  364. data/lib/countries/data/countries/TC.yaml +38 -25
  365. data/lib/countries/data/countries/TD.yaml +36 -25
  366. data/lib/countries/data/countries/TF.yaml +39 -28
  367. data/lib/countries/data/countries/TG.yaml +30 -20
  368. data/lib/countries/data/countries/TH.yaml +39 -22
  369. data/lib/countries/data/countries/TJ.yaml +37 -25
  370. data/lib/countries/data/countries/TK.yaml +33 -23
  371. data/lib/countries/data/countries/TL.yaml +34 -24
  372. data/lib/countries/data/countries/TM.yaml +35 -23
  373. data/lib/countries/data/countries/TN.yaml +38 -26
  374. data/lib/countries/data/countries/TO.yaml +32 -21
  375. data/lib/countries/data/countries/TR.yaml +35 -24
  376. data/lib/countries/data/countries/TT.yaml +35 -24
  377. data/lib/countries/data/countries/TV.yaml +30 -20
  378. data/lib/countries/data/countries/TW.yaml +33 -22
  379. data/lib/countries/data/countries/TZ.yaml +36 -24
  380. data/lib/countries/data/countries/UA.yaml +42 -25
  381. data/lib/countries/data/countries/UG.yaml +33 -22
  382. data/lib/countries/data/countries/UM.yaml +37 -26
  383. data/lib/countries/data/countries/US.yaml +37 -24
  384. data/lib/countries/data/countries/UY.yaml +31 -20
  385. data/lib/countries/data/countries/UZ.yaml +37 -25
  386. data/lib/countries/data/countries/VA.yaml +39 -27
  387. data/lib/countries/data/countries/VC.yaml +38 -24
  388. data/lib/countries/data/countries/VE.yaml +31 -20
  389. data/lib/countries/data/countries/VG.yaml +38 -26
  390. data/lib/countries/data/countries/VI.yaml +37 -25
  391. data/lib/countries/data/countries/VN.yaml +38 -21
  392. data/lib/countries/data/countries/VU.yaml +34 -22
  393. data/lib/countries/data/countries/WF.yaml +36 -25
  394. data/lib/countries/data/countries/WS.yaml +32 -21
  395. data/lib/countries/data/countries/YE.yaml +33 -23
  396. data/lib/countries/data/countries/YT.yaml +32 -21
  397. data/lib/countries/data/countries/ZA.yaml +52 -32
  398. data/lib/countries/data/countries/ZM.yaml +33 -22
  399. data/lib/countries/data/countries/ZW.yaml +36 -24
  400. data/lib/countries/data/subdivisions/AD.yaml +85 -50
  401. data/lib/countries/data/subdivisions/AE.yaml +513 -55
  402. data/lib/countries/data/subdivisions/AF.yaml +2239 -234
  403. data/lib/countries/data/subdivisions/AG.yaml +451 -57
  404. data/lib/countries/data/subdivisions/AI.yaml +197 -0
  405. data/lib/countries/data/subdivisions/AL.yaml +746 -316
  406. data/lib/countries/data/subdivisions/AM.yaml +788 -68
  407. data/lib/countries/data/subdivisions/AO.yaml +1145 -126
  408. data/lib/countries/data/subdivisions/AR.yaml +1668 -168
  409. data/lib/countries/data/subdivisions/AT.yaml +714 -63
  410. data/lib/countries/data/subdivisions/AU.yaml +673 -56
  411. data/lib/countries/data/subdivisions/AZ.yaml +4508 -536
  412. data/lib/countries/data/subdivisions/BA.yaml +359 -14
  413. data/lib/countries/data/subdivisions/BB.yaml +589 -79
  414. data/lib/countries/data/subdivisions/BD.yaml +2593 -400
  415. data/lib/countries/data/subdivisions/BE.yaml +943 -77
  416. data/lib/countries/data/subdivisions/BF.yaml +2917 -311
  417. data/lib/countries/data/subdivisions/BG.yaml +1965 -199
  418. data/lib/countries/data/subdivisions/BH.yaml +184 -31
  419. data/lib/countries/data/subdivisions/BI.yaml +982 -112
  420. data/lib/countries/data/subdivisions/BJ.yaml +691 -84
  421. data/lib/countries/data/subdivisions/BM.yaml +155 -0
  422. data/lib/countries/data/subdivisions/BN.yaml +225 -24
  423. data/lib/countries/data/subdivisions/BO.yaml +561 -63
  424. data/lib/countries/data/subdivisions/BQ.yaml +217 -21
  425. data/lib/countries/data/subdivisions/BR.yaml +2154 -185
  426. data/lib/countries/data/subdivisions/BS.yaml +1821 -143
  427. data/lib/countries/data/subdivisions/BT.yaml +1087 -140
  428. data/lib/countries/data/subdivisions/BW.yaml +923 -63
  429. data/lib/countries/data/subdivisions/BY.yaml +528 -31
  430. data/lib/countries/data/subdivisions/BZ.yaml +309 -42
  431. data/lib/countries/data/subdivisions/CA.yaml +1105 -92
  432. data/lib/countries/data/subdivisions/CD.yaml +1187 -78
  433. data/lib/countries/data/subdivisions/CF.yaml +961 -119
  434. data/lib/countries/data/subdivisions/CG.yaml +640 -77
  435. data/lib/countries/data/subdivisions/CH.yaml +1946 -182
  436. data/lib/countries/data/subdivisions/CI.yaml +859 -125
  437. data/lib/countries/data/subdivisions/CK.yaml +155 -0
  438. data/lib/countries/data/subdivisions/CL.yaml +968 -105
  439. data/lib/countries/data/subdivisions/CM.yaml +582 -70
  440. data/lib/countries/data/subdivisions/CN.yaml +2618 -274
  441. data/lib/countries/data/subdivisions/CO.yaml +2102 -227
  442. data/lib/countries/data/subdivisions/CR.yaml +393 -49
  443. data/lib/countries/data/subdivisions/CU.yaml +926 -119
  444. data/lib/countries/data/subdivisions/CV.yaml +1198 -119
  445. data/lib/countries/data/subdivisions/CY.yaml +328 -42
  446. data/lib/countries/data/subdivisions/CZ.yaml +2892 -129
  447. data/lib/countries/data/subdivisions/DE.yaml +1420 -112
  448. data/lib/countries/data/subdivisions/DJ.yaml +375 -42
  449. data/lib/countries/data/subdivisions/DK.yaml +344 -180
  450. data/lib/countries/data/subdivisions/DM.yaml +512 -72
  451. data/lib/countries/data/subdivisions/DO.yaml +1763 -219
  452. data/lib/countries/data/subdivisions/DZ.yaml +2869 -334
  453. data/lib/countries/data/subdivisions/EC.yaml +1348 -168
  454. data/lib/countries/data/subdivisions/EE.yaml +1368 -118
  455. data/lib/countries/data/subdivisions/EG.yaml +1628 -190
  456. data/lib/countries/data/subdivisions/EH.yaml +48 -28
  457. data/lib/countries/data/subdivisions/ER.yaml +348 -42
  458. data/lib/countries/data/subdivisions/ES.yaml +4875 -375
  459. data/lib/countries/data/subdivisions/ET.yaml +735 -77
  460. data/lib/countries/data/subdivisions/FI.yaml +890 -36
  461. data/lib/countries/data/subdivisions/FJ.yaml +720 -35
  462. data/lib/countries/data/subdivisions/FM.yaml +202 -24
  463. data/lib/countries/data/subdivisions/FR.yaml +8250 -684
  464. data/lib/countries/data/subdivisions/GA.yaml +526 -63
  465. data/lib/countries/data/subdivisions/GB.yaml +12522 -1516
  466. data/lib/countries/data/subdivisions/GD.yaml +354 -49
  467. data/lib/countries/data/subdivisions/GE.yaml +833 -85
  468. data/lib/countries/data/subdivisions/GH.yaml +658 -70
  469. data/lib/countries/data/subdivisions/GL.yaml +262 -0
  470. data/lib/countries/data/subdivisions/GM.yaml +381 -42
  471. data/lib/countries/data/subdivisions/GN.yaml +1919 -234
  472. data/lib/countries/data/subdivisions/GQ.yaml +459 -59
  473. data/lib/countries/data/subdivisions/GR.yaml +871 -527
  474. data/lib/countries/data/subdivisions/GT.yaml +1270 -150
  475. data/lib/countries/data/subdivisions/GW.yaml +563 -59
  476. data/lib/countries/data/subdivisions/GY.yaml +498 -70
  477. data/lib/countries/data/subdivisions/HN.yaml +1019 -126
  478. data/lib/countries/data/subdivisions/HR.yaml +1419 -151
  479. data/lib/countries/data/subdivisions/HT.yaml +525 -63
  480. data/lib/countries/data/subdivisions/HU.yaml +2949 -302
  481. data/lib/countries/data/subdivisions/ID.yaml +2679 -243
  482. data/lib/countries/data/subdivisions/IE.yaml +2027 -177
  483. data/lib/countries/data/subdivisions/IL.yaml +376 -42
  484. data/lib/countries/data/subdivisions/IN.yaml +3110 -252
  485. data/lib/countries/data/subdivisions/IQ.yaml +1105 -126
  486. data/lib/countries/data/subdivisions/IR.yaml +2092 -215
  487. data/lib/countries/data/subdivisions/IS.yaml +830 -59
  488. data/lib/countries/data/subdivisions/IT.yaml +8525 -790
  489. data/lib/countries/data/subdivisions/JM.yaml +732 -100
  490. data/lib/countries/data/subdivisions/JO.yaml +662 -48
  491. data/lib/countries/data/subdivisions/JP.yaml +3562 -327
  492. data/lib/countries/data/subdivisions/KE.yaml +1449 -56
  493. data/lib/countries/data/subdivisions/KG.yaml +624 -57
  494. data/lib/countries/data/subdivisions/KH.yaml +1332 -147
  495. data/lib/countries/data/subdivisions/KI.yaml +163 -17
  496. data/lib/countries/data/subdivisions/KM.yaml +189 -21
  497. data/lib/countries/data/subdivisions/KN.yaml +835 -100
  498. data/lib/countries/data/subdivisions/KP.yaml +922 -80
  499. data/lib/countries/data/subdivisions/KR.yaml +1225 -88
  500. data/lib/countries/data/subdivisions/KW.yaml +280 -42
  501. data/lib/countries/data/subdivisions/KZ.yaml +1213 -122
  502. data/lib/countries/data/subdivisions/LA.yaml +947 -120
  503. data/lib/countries/data/subdivisions/LB.yaml +386 -22
  504. data/lib/countries/data/subdivisions/LC.yaml +470 -0
  505. data/lib/countries/data/subdivisions/LI.yaml +557 -39
  506. data/lib/countries/data/subdivisions/LK.yaml +1546 -175
  507. data/lib/countries/data/subdivisions/LR.yaml +857 -105
  508. data/lib/countries/data/subdivisions/LS.yaml +529 -70
  509. data/lib/countries/data/subdivisions/LT.yaml +2616 -71
  510. data/lib/countries/data/subdivisions/LU.yaml +490 -24
  511. data/lib/countries/data/subdivisions/LV.yaml +2501 -178
  512. data/lib/countries/data/subdivisions/LY.yaml +1188 -262
  513. data/lib/countries/data/subdivisions/MA.yaml +3375 -437
  514. data/lib/countries/data/subdivisions/MC.yaml +484 -0
  515. data/lib/countries/data/subdivisions/MD.yaml +2240 -71
  516. data/lib/countries/data/subdivisions/ME.yaml +1136 -151
  517. data/lib/countries/data/subdivisions/MG.yaml +253 -42
  518. data/lib/countries/data/subdivisions/MH.yaml +995 -151
  519. data/lib/countries/data/subdivisions/MK.yaml +3964 -752
  520. data/lib/countries/data/subdivisions/ML.yaml +569 -63
  521. data/lib/countries/data/subdivisions/MM.yaml +849 -98
  522. data/lib/countries/data/subdivisions/MN.yaml +1389 -160
  523. data/lib/countries/data/subdivisions/MR.yaml +702 -94
  524. data/lib/countries/data/subdivisions/MT.yaml +3726 -478
  525. data/lib/countries/data/subdivisions/MU.yaml +923 -115
  526. data/lib/countries/data/subdivisions/MV.yaml +1219 -148
  527. data/lib/countries/data/subdivisions/MW.yaml +1646 -189
  528. data/lib/countries/data/subdivisions/MX.yaml +2414 -222
  529. data/lib/countries/data/subdivisions/MY.yaml +1071 -114
  530. data/lib/countries/data/subdivisions/MZ.yaml +665 -77
  531. data/lib/countries/data/subdivisions/NA.yaml +736 -98
  532. data/lib/countries/data/subdivisions/NE.yaml +475 -56
  533. data/lib/countries/data/subdivisions/NG.yaml +2370 -259
  534. data/lib/countries/data/subdivisions/NI.yaml +952 -119
  535. data/lib/countries/data/subdivisions/NL.yaml +1205 -84
  536. data/lib/countries/data/subdivisions/NO.yaml +856 -164
  537. data/lib/countries/data/subdivisions/NP.yaml +982 -90
  538. data/lib/countries/data/subdivisions/NR.yaml +827 -100
  539. data/lib/countries/data/subdivisions/NZ.yaml +945 -121
  540. data/lib/countries/data/subdivisions/OM.yaml +633 -63
  541. data/lib/countries/data/subdivisions/PA.yaml +708 -69
  542. data/lib/countries/data/subdivisions/PE.yaml +1489 -179
  543. data/lib/countries/data/subdivisions/PG.yaml +1211 -140
  544. data/lib/countries/data/subdivisions/PH.yaml +5089 -572
  545. data/lib/countries/data/subdivisions/PK.yaml +566 -56
  546. data/lib/countries/data/subdivisions/PL.yaml +1042 -150
  547. data/lib/countries/data/subdivisions/PS.yaml +747 -0
  548. data/lib/countries/data/subdivisions/PT.yaml +1122 -143
  549. data/lib/countries/data/subdivisions/PW.yaml +832 -108
  550. data/lib/countries/data/subdivisions/PY.yaml +1045 -127
  551. data/lib/countries/data/subdivisions/QA.yaml +469 -64
  552. data/lib/countries/data/subdivisions/RO.yaml +2746 -294
  553. data/lib/countries/data/subdivisions/RS.yaml +1786 -195
  554. data/lib/countries/data/subdivisions/RU.yaml +6570 -655
  555. data/lib/countries/data/subdivisions/RW.yaml +327 -35
  556. data/lib/countries/data/subdivisions/SA.yaml +768 -102
  557. data/lib/countries/data/subdivisions/SB.yaml +550 -70
  558. data/lib/countries/data/subdivisions/SC.yaml +1286 -163
  559. data/lib/countries/data/subdivisions/SD.yaml +1002 -254
  560. data/lib/countries/data/subdivisions/SE.yaml +1416 -149
  561. data/lib/countries/data/subdivisions/SG.yaml +108 -31
  562. data/lib/countries/data/subdivisions/SH.yaml +197 -21
  563. data/lib/countries/data/subdivisions/SI.yaml +10997 -1403
  564. data/lib/countries/data/subdivisions/SJ.yaml +29 -0
  565. data/lib/countries/data/subdivisions/SK.yaml +533 -57
  566. data/lib/countries/data/subdivisions/SL.yaml +231 -28
  567. data/lib/countries/data/subdivisions/SM.yaml +577 -65
  568. data/lib/countries/data/subdivisions/SN.yaml +761 -77
  569. data/lib/countries/data/subdivisions/SO.yaml +914 -126
  570. data/lib/countries/data/subdivisions/SR.yaml +512 -70
  571. data/lib/countries/data/subdivisions/SS.yaml +624 -0
  572. data/lib/countries/data/subdivisions/ST.yaml +73 -14
  573. data/lib/countries/data/subdivisions/SV.yaml +747 -98
  574. data/lib/countries/data/subdivisions/SY.yaml +806 -91
  575. data/lib/countries/data/subdivisions/SZ.yaml +217 -28
  576. data/lib/countries/data/subdivisions/TD.yaml +1242 -126
  577. data/lib/countries/data/subdivisions/TG.yaml +264 -35
  578. data/lib/countries/data/subdivisions/TH.yaml +4535 -539
  579. data/lib/countries/data/subdivisions/TJ.yaml +356 -0
  580. data/lib/countries/data/subdivisions/TK.yaml +43 -0
  581. data/lib/countries/data/subdivisions/TL.yaml +682 -91
  582. data/lib/countries/data/subdivisions/TM.yaml +390 -46
  583. data/lib/countries/data/subdivisions/TN.yaml +1301 -168
  584. data/lib/countries/data/subdivisions/TO.yaml +260 -36
  585. data/lib/countries/data/subdivisions/TR.yaml +5858 -624
  586. data/lib/countries/data/subdivisions/TT.yaml +865 -112
  587. data/lib/countries/data/subdivisions/TV.yaml +382 -44
  588. data/lib/countries/data/subdivisions/TW.yaml +1281 -145
  589. data/lib/countries/data/subdivisions/TZ.yaml +1868 -184
  590. data/lib/countries/data/subdivisions/UA.yaml +1988 -192
  591. data/lib/countries/data/subdivisions/UG.yaml +6150 -544
  592. data/lib/countries/data/subdivisions/UM.yaml +710 -59
  593. data/lib/countries/data/subdivisions/US.yaml +4789 -404
  594. data/lib/countries/data/subdivisions/UY.yaml +1163 -112
  595. data/lib/countries/data/subdivisions/UZ.yaml +902 -99
  596. data/lib/countries/data/subdivisions/VC.yaml +289 -38
  597. data/lib/countries/data/subdivisions/VE.yaml +1559 -175
  598. data/lib/countries/data/subdivisions/VN.yaml +3799 -550
  599. data/lib/countries/data/subdivisions/VU.yaml +333 -43
  600. data/lib/countries/data/subdivisions/WF.yaml +201 -0
  601. data/lib/countries/data/subdivisions/WS.yaml +587 -77
  602. data/lib/countries/data/subdivisions/YE.yaml +1262 -135
  603. data/lib/countries/data/subdivisions/ZA.yaml +712 -63
  604. data/lib/countries/data/subdivisions/ZM.yaml +568 -65
  605. data/lib/countries/data/subdivisions/ZW.yaml +520 -70
  606. data/lib/countries/data/translation_corrections.yaml +35 -5
  607. data/lib/countries/data.rb +161 -16
  608. data/lib/countries/global.rb +13 -3
  609. data/lib/countries/iso3166.rb +9 -2
  610. data/lib/countries/kwarg_struct.rb +12 -0
  611. data/lib/countries/mongoid.rb +25 -22
  612. data/lib/countries/setup.rb +7 -7
  613. data/lib/countries/sources/cldr/downloader.rb +37 -0
  614. data/lib/countries/sources/cldr/subdivision.rb +35 -0
  615. data/lib/countries/sources/cldr/subdivision_updater.rb +35 -0
  616. data/lib/countries/sources/local/cached_loader.rb +29 -0
  617. data/lib/countries/sources/local/subdivision.rb +33 -0
  618. data/lib/countries/sources.rb +6 -0
  619. data/lib/countries/structure.rb +72 -0
  620. data/lib/countries/subdivision.rb +10 -0
  621. data/lib/countries/tasks/geocoding.rake +97 -0
  622. data/lib/countries/tasks/postal_codes.rake +48 -0
  623. data/lib/countries/timezones.rb +13 -0
  624. data/lib/countries/translations.rb +11 -0
  625. data/lib/countries/version.rb +1 -1
  626. data/lib/countries.rb +2 -0
  627. data/spec/00_global_spec.rb +56 -0
  628. data/spec/configuration_spec.rb +54 -0
  629. data/spec/country_spec.rb +473 -87
  630. data/spec/data_spec.rb +181 -0
  631. data/spec/mongoid_spec.rb +2 -2
  632. data/spec/perf_spec.rb +74 -0
  633. data/spec/spec_helper.rb +12 -0
  634. data/spec/subdivision_spec.rb +32 -0
  635. data/spec/thread_safety_spec.rb +46 -0
  636. data/spec/timezone_spec.rb +32 -0
  637. metadata +206 -30
  638. data/.travis.yml +0 -11
  639. data/lib/countries/cache/countries +0 -0
  640. data/lib/countries/data/countries/AN.yaml +0 -42
  641. data/lib/countries/data/countries.yaml +0 -251
  642. data/lib/countries/data/subdivisions/Ky.yaml +0 -55
  643. data/lib/countries/data/subdivisions/TF.yaml +0 -27
  644. data/lib/countries/data/subdivisions/Tj.yaml +0 -38
  645. data/spec/setup_spec.rb +0 -14
@@ -0,0 +1 @@
1
+ {"AW":"Arouba","AF":"Afganistan","AO":"Angola","AI":"Anguila","AX":"Iyes Åland","AL":"Albaneye","AD":"Andore","AE":"Emirats Arabes Unis","AR":"Årdjintene","AM":"Årmeneye","AS":"Samowa amerikinne","AQ":"Antartike","TF":"Teritweres francès do sud","AG":"Antigua eyet Barbuda","AU":"Ostraleye","AT":"Otriche","AZ":"Azerbaydjan","BI":"Bouroundi","BE":"Beldjike","BJ":"Benin","BQ":"Bonaire, Sint Eustatius & Saba","BF":"Bourkina Fasso","BD":"Bangladesh","BG":"Bulgåreye","BH":"Bareyn","BS":"Bahamas","BA":"Bosneye","BL":"Sint Bartelemi","BY":"Belaruss","BZ":"Belize","BM":"Bermudes","BO":"Boliveye","BR":"Braezi","BB":"Bårbades","BN":"Bruney","BT":"Boutan","BV":"Iye Bouvet","BW":"Boswana","CF":"Cintrafrike","CA":"Canada","CC":"Iyes Cocos (Keeling)","CH":"Swisse","CL":"Tchili","CN":"Chine","CI":"Coisse d' Ivwere","CM":"Camrone","CD":"Congo-Kinshasa, Republike Democratike do Congo","CG":"Congo-Brazza","CK":"Iyes Cook","CO":"Colombeye","KM":"Comores","CV":"Cabo Verde","CR":"Costa Rica","CU":"Cuba","CW":"Curaçao","CX":"Iye Christmas","KY":"Iyes Cayman","CY":"Chipe","CZ":"Czechia","DE":"Almagne","DJ":"Djibouti","DM":"Dominike","DK":"Daenmåtche","DO":"Republike Dominikinne","DZ":"Aldjereye","EC":"Ecwåteur","EG":"Edjipe","ER":"Eritrêye","EH":"Sara Coûtchantrece","ES":"Espagne","EE":"Estoneye","ET":"Etiopeye","FI":"Finlande","FJ":"Fidji","FK":"Iyes Malouwines","FR":"France","FO":"Iyes Faeroyé","FM":"Micronezeye","GA":"Gabon","GB":"Rweyåme Uni","GE":"Djeyordjeye","GG":"Guernsey","GH":"Gana","GI":"Djibraltar","GN":"Guinêye","GP":"Gwadeloupe","GM":"Gambeye","GW":"Guinêye-Bissaw","GQ":"Guinêye Ecwåtoriåle","GR":"Grece","GD":"Grenåde","GL":"Groenlande","GT":"Gwatemala","GF":"Guyane francesse","GU":"Gwam","GY":"Guyana","HK":"Hong Kong","HM":"Iyeas Heard et McDonald","HN":"Honduras","HR":"Crowåceye","HT":"Hayiti","HU":"Hongreye","ID":"Indonezeye","IM":"Iye di Man","IN":"Inde","IO":"Teritweres britanikes di l' Oceyan Indyin","IE":"Irlande","IR":"Iran","IQ":"Irak","IS":"Izlande","IL":"Israyel","IT":"Itåleye","JM":"Djamayike","JE":"Djersey","JO":"Djordaneye","JP":"Djapon","KZ":"Kazaxhtan","KE":"Kenia","KG":"Kirguiztan","KH":"Cambodje","KI":"Kiribati","KN":"St Kitts & Nevis","KR":"Corêye (nonnrece)","KW":"Kuweyt","LA":"Laosse","LB":"Liban","LR":"Liberia","LY":"Libeye","LC":"Sinte Luceye","LI":"Lîchtensteyn","LK":"Sri Lanka","LS":"Lessoto","LT":"Litwaneye","LU":"Lussimbork","LV":"Letoneye","MO":"Macao","MF":"Sint Mårtén (boket francès)","MA":"Marok","MC":"Monaco","MD":"Moldova","MG":"Madagascar","MV":"Maldives","MX":"Mecsike","MH":"Iyes Marshall","MK":"North Macedonia","ML":"Mali","MT":"Male","MM":"Birmaneye","ME":"Montenegro","MN":"Mongoleye","MP":"Iyes Marianes bijhreces","MZ":"Mozambike","MR":"Moritanreye","MS":"Montserrat","MQ":"Martinike","MU":"Iye Môrice","MW":"Malawi","MY":"Malaizeye","YT":"Mayote","NA":"Namibeye","NC":"Nouve Caledoneye","NE":"Nidjer","NF":"Iye Norfolk","NG":"Nidjeria","NI":"Nicaragwa","NU":"Niuwé","NL":"Bas Payis","NO":"Norvedje","NP":"Nepal","NR":"Nawouro","NZ":"Nouve Zelande","OM":"Oman","PK":"Pakistan","PA":"Panama","PN":"Pitcairn","PE":"Perou","PH":"Filipenes","PW":"Palawou","PG":"Papouwazeye Nouve Guinêye","PL":"Pologne","PR":"Porto Rico","KP":"Corêye (bijhrece)","PT":"Portugal","PY":"Paragway","PS":"Palestine, State of","PF":"Polinezeye francesse","QA":"Katar","RE":"Reyunion","RO":"Roumaneye","RU":"Rûsseye","RW":"Rwanda","SA":"Arabeye Sawoudite","SD":"Soudan","SN":"Senegål","SG":"Singapour","GS":"Iyes Sandwich do sud","SH":"Sinte Helene, Acinsion & Tristan da Cunha","SJ":"Iyes Svalbard eyet Jan Mayen","SB":"Iyes Solomon","SL":"Siera Leyone","SV":"El Salvador","SM":"Sint Marin","SO":"Somaleye","PM":"Sint Pierre et Miquelon","RS":"Serbeye","SS":"Soudan nonnrece","ST":"São Tomé et Prince","SR":"Suriname","SK":"Eslovakeye","SI":"Esloveneye","SE":"Suwede","SZ":"Eswatini","SX":"Sint Mårtén (boket olandès)","SC":"Seycheles","SY":"Sireye","TC":"Iyes Turks et Caicos","TD":"Tchad","TG":"Togo","TH":"Taylande","TJ":"Tadjikistan","TK":"Tokelau","TM":"Turcmenistan","TL":"Timor Ess","TO":"Tonga","TT":"Trinité et Tobago","TN":"Tunizeye","TR":"Turkeye","TV":"Touvalou","TW":"Taiwan","TZ":"Tanzania","UG":"Ouganda","UA":"Oucrinne","UM":"Iyes mineures des Estats Unis","UY":"Ourougway","US":"Estats Unis","UZ":"Ouzbekistan","VA":"Vatican","VC":"Sint Vincint et les Grenadines","VE":"Venezwela","VG":"Iyes Viedjes britanikes","VI":"Iyes Viedjes etazunyinnes","VN":"Vietnam","VU":"Vanouatou","WF":"Wallis et Futuna","WS":"Samowa","YE":"Yemen","ZA":"Nonne Afrike","ZM":"Zambeye","ZW":"Zimbabwè"}
@@ -0,0 +1 @@
1
+ {"AW":"Aruba","AF":"Afganistaan","AO":"Angoolaa","AI":"Anguilla","AX":"Dunu Aland","AL":"Albaani","AD":"Andoor","AE":"Imaarati Araab yu Bennoo","AR":"Argentiin","AM":"Armeeni","AS":"Samoa gu Aamerig","AQ":"Antarktik","TF":"French Southern Territories","AG":"Antigua ak Barbuda","AU":"Óstraali","AT":"Ótriis","AZ":"Aserbayjaan","BI":"Buruundi","BE":"Beljik","BJ":"Benin","BQ":"Bonaire, Sint Eustatius and Saba","BF":"Burkina Faso","BD":"Banglaades","BG":"Bulgaari","BH":"Bahrayin","BS":"Bahamas","BA":"Bosni Hersegowin","BL":"Saint Barthélemy","BY":"Belaarus","BZ":"Beliis","BM":"Bermuda","BO":"Boliibi","BR":"Bareesil","BB":"Barbados","BN":"Brunaay Daarussalaam","BT":"Butaan","BV":"Dunu Buwet","BW":"Botswana","CF":"Republik bu Santar Afrik","CA":"Kanadaa","CC":"Cocos (Keeling) Islands","CH":"Suwis","CL":"Ciili","CN":"Ciin","CI":"Kot diwaar","CM":"Kameroon","CD":"Kongóo, Republik Demokaraatik bu","CG":"Kongóo","CK":"Iil yu Cook","CO":"Koloombi","KM":"Komoor","CV":"Cabo Verde","CR":"Kosta Riika","CU":"Kubaa","CW":"Curaçao","CX":"Christmas Island","KY":"Iil yu Kaymaan","CY":"Ciipër","CZ":"Czechia","DE":"Almaañ","DJ":"Jibuuti","DM":"Dominika","DK":"Danmaark","DO":"Republik Dominikee","DZ":"Aljeeri","EC":"Ekwadoor","EG":"Ejipt","ER":"Eriteeri","EH":"Sahara Oksidantaal","ES":"Ispaañ","EE":"Estooni","ET":"Ecoopi","FI":"Finlaand","FJ":"Fiiji","FK":"Iil yu Falkland (Malvinas)","FR":"Faraas","FO":"Iil yu Faarow","FM":"Mikroneesi, Etaa yuñu Federe yu","GA":"Gaboŋ","GB":"Ruwaayom bu Bennoo","GE":"Jeoorji","GG":"Guernsey","GH":"Gana","GI":"Gibraltaar","GN":"Ginne","GP":"Guwaadaluup","GM":"Gaambi","GW":"Ginne Bisaawóo","GQ":"Ginne Ekwatoriaal","GR":"Girees","GD":"Grenada","GL":"Greenland","GT":"Guwaatemaala","GF":"Guyaana Faraañse","GU":"Guam","GY":"Guyaana","HK":"Ooŋ Koŋ","HM":"Heard Island and McDonald Islands","HN":"Onduuras","HR":"Korwaasi","HT":"Aayti","HU":"Oonguri","ID":"Indoneesi","IM":"Isle of Man","IN":"Eend","IO":"British Indian Ocean Territory","IE":"Irlaand","IR":"Iraan, Republik Islaamik bu","IQ":"Iraak","IS":"Islaand","IL":"Israayil","IT":"Itaali","JM":"Jamayka","JE":"Jersey","JO":"Jordaani","JP":"Japoŋ","KZ":"Kaasakestaan","KE":"Kenya","KG":"Kirgistaan","KH":"Kambodia","KI":"Kiribati","KN":"Saint Kitts and Nevis","KR":"Koore, Republik bu","KW":"Kuwet","LA":"Republik Popileer Demokaraatik bu Laawos","LB":"Libãa","LR":"Libeeria","LY":"Libi","LC":"Saint Lucia","LI":"Liechtenstein","LK":"Siri Laaŋka","LS":"Lesoto","LT":"Lituwaani","LU":"Luksembuur","LV":"Letóoni","MO":"Makaaw","MF":"Saint Martin (Français)","MA":"Marook","MC":"Monaako","MD":"Moldaawi","MG":"Madagaskar","MV":"Maldiif","MX":"Meksik","MH":"Marshall Islands","MK":"North Macedonia","ML":"Mali","MT":"Malt","MM":"Miyanmaar","ME":"Montenegro","MN":"Moŋgooli","MP":"Northern Mariana Islands","MZ":"Mosaambik","MR":"Móritaani","MS":"Montserrat","MQ":"Martinik","MU":"Móoris","MW":"Malawi","MY":"Maleesi","YT":"Mayoot","NA":"Namibi","NC":"Nuweel Kaledooni","NE":"Nijeer","NF":"Norfolk Island","NG":"Nijeeria","NI":"Nikaraaguwa","NU":"Niue","NL":"Olaand","NO":"Norweej","NP":"Nepaal","NR":"Nauru","NZ":"Nuweel Selaand","OM":"Omaan","PK":"Pakistaan","PA":"Panamaa","PN":"Pitcairn","PE":"Peru","PH":"Filipiin","PW":"Palau","PG":"Papwa Nuweel Ginne","PL":"Poloñ","PR":"Poorto Riiko","KP":"Koore, Republik Popileer Demokaraatik bu","PT":"Portugaal","PY":"Paraguwaay","PS":"Palestine, State of","PF":"Polineesi Faraañse","QA":"Xatar","RE":"Reiñõo","RO":"Romaani","RU":"Federaasioŋ bu Riisi","RW":"Ruwaanda","SA":"Araabi Sawdit","SD":"Suudaan","SN":"Senegaal","SG":"Singapoor","GS":"Jeoorji gu Bëj-saalum ak Duni Islaand yi Bëj-saalum","SH":"Saint Helena, Ascension and Tristan da Cunha","SJ":"Svalbard and Jan Mayen","SB":"Iil yu Solomon","SL":"Siraa Leyoon","SV":"Salbadoor","SM":"San Marino","SO":"Somaali","PM":"Saint Pierre ak Miquelon","RS":"Serbi","SS":"South Sudan","ST":"Sao Tome ak Principe","SR":"Surinaam","SK":"Eslowaaki","SI":"Esloweeni","SE":"Suweed","SZ":"Eswatini","SX":"Sint Maarten (Dutch part)","SC":"Seychelles","SY":"Republik Araab bu Siiri","TC":"Turks and Caicos Islands","TD":"Caad","TG":"Togóo","TH":"Taaylaand","TJ":"Taajikistaan","TK":"Tokelau","TM":"Turkumenistaan","TL":"Timor-Leste","TO":"Tonga","TT":"Tirinidaad ak Tobaago","TN":"Tiniisi","TR":"Turki","TV":"Tuvalu","TW":"Taaywaan","TZ":"Tansani","UG":"Ugaanda","UA":"Ukreen","UM":"United States Minor Outlying Islands","UY":"Uruguwaay","US":"Aamerik","UZ":"Usbekistaan","VA":"Holy See (Vatican City State)","VC":"Saint Vincent and the Grenadines","VE":"Benesuwela","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","VN":"Wiyet Naam","VU":"Vanuatu","WF":"Wallis ak Futuna","WS":"Saamowa","YE":"Yaman","ZA":"Afrik di Sid","ZM":"Saambi","ZW":"Simbaabwee"}
@@ -0,0 +1 @@
1
+ {"AW":"Aruba","AF":"Afghanistan","AO":"Angola","AI":"Anguilla","AX":"Åland Islands","AL":"Albania","AD":"Andorra","AE":"United Arab Emirates","AR":"Argentina","AM":"Armenia","AS":"American Samoa","AQ":"Antarctica","TF":"French Southern Territories","AG":"Antigua no Barbuda","AU":"Australiya","AT":"Austria","AZ":"Azerbaijan","BI":"Burundi","BE":"Belgium","BJ":"Benin","BQ":"Bonaire, Sint Eustatius and Saba","BF":"Burkina Faso","BD":"Bangladesh","BG":"Bulgaria","BH":"Bahrain","BS":"Bahamas","BA":"Bosnia and Herzegovina","BL":"Saint Barthélemy","BY":"Belarus","BZ":"Belize","BM":"Bermuda","BO":"Bolivia","BR":"Brazil","BB":"Barbados","BN":"Brunei Darussalam","BT":"Bhutan","BV":"Bouvet Island","BW":"Botswana","CF":"Central African Republic","CA":"Canada","CC":"Cocos (Keeling) Islands","CH":"Switzerland","CL":"Chile","CN":"Tshayina","CI":"Côte d'Ivoire","CM":"Cameroon","CD":"Congo, The Democratic Republic of the","CG":"Congo","CK":"Cook Islands","CO":"Colombia","KM":"Comoros","CV":"Cabo Verde","CR":"Costa Rica","CU":"Cuba","CW":"Curaçao","CX":"Christmas Island","KY":"Cayman Islands","CY":"Cyprus","CZ":"Czechia","DE":"Jamani","DJ":"Djibouti","DM":"Dominica","DK":"Denmark","DO":"Ulawulo lokuziphatha kwe Dominican","DZ":"Algeria","EC":"Ecuador","EG":"Egypt","ER":"Eritrea","EH":"Western Sahara","ES":"Spain","EE":"Estonia","ET":"Ethiopia","FI":"Finland","FJ":"Fiji","FK":"Falkland Islands (Malvinas)","FR":"Franisi","FO":"Faroe Islands","FM":"Micronesia, Federated States of","GA":"Gabon","GB":"United Kingdom","GE":"Georgia","GG":"Guernsey","GH":"Ghana","GI":"Gibraltar","GN":"Guinea","GP":"Guadeloupe","GM":"Gambia","GW":"Guinea-Bissau","GQ":"Equatorial Guinea","GR":"Greece","GD":"Grenada","GL":"Greenland","GT":"Guatemala","GF":"French Guiana","GU":"Guam","GY":"Guyana","HK":"Hong Kong","HM":"Heard Island and McDonald Islands","HN":"Honduras","HR":"Croatia","HT":"Haiti","HU":"Hungary","ID":"Indonesia","IM":"Isle of Man","IN":"India","IO":"British Indian Ocean Territory","IE":"Ireland","IR":"Iran, Islamic Republic of","IQ":"Iraq","IS":"Iceland","IL":"Sirayeli","IT":"Ithali","JM":"Jamaica","JE":"Jersey","JO":"Jordan","JP":"Japhani","KZ":"Kazakhstan","KE":"Kenya","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":"Liberia","LY":"Libya","LC":"Saint Lucia","LI":"Liechtenstein","LK":"Sri Lanka","LS":"Lesotho","LT":"Lithuania","LU":"Luxembourg","LV":"Latvia","MO":"Macao","MF":"Saint Martin (French part)","MA":"Morocco","MC":"Monaco","MD":"Moldova","MG":"Madagascar","MV":"Maldives","MX":"Mexico","MH":"Marshall Islands","MK":"North Macedonia","ML":"Mali","MT":"Malta","MM":"Myanmar","ME":"Montenegro","MN":"Mongolia","MP":"Northern Mariana Islands","MZ":"Mozambique","MR":"Mauritania","MS":"Montserrat","MQ":"Martinique","MU":"Mauritius","MW":"Malawi","MY":"Malaysia","YT":"Mayotte","NA":"Namibia","NC":"New Caledonia","NE":"Niger","NF":"Norfolk Island","NG":"Nigeria","NI":"Nicaragua","NU":"Niue","NL":"Netherlands","NO":"Norway","NP":"Nepal","NR":"Nauru","NZ":"New Zealand (izealand entsha)","OM":"Oman","PK":"Pakistan","PA":"Panama","PN":"Pitcairn","PE":"Peru","PH":"Philippines","PW":"Palau","PG":"Papua New Guinea","PL":"Poland","PR":"Puerto Rico","KP":"North Korea","PT":"Portugal","PY":"Paraguay","PS":"Palestine, State of","PF":"French Polynesia","QA":"Qatar","RE":"Réunion","RO":"Romania","RU":"Russian Federation","RW":"Rwanda","SA":"Saudi Arabia","SD":"Sudan","SN":"Senegal","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":"Sierra Leone","SV":"El Salvador","SM":"San Marino","SO":"Somalia","PM":"Saint Pierre and Miquelon","RS":"Serbia","SS":"South Sudan","ST":"Sao Tome and Principe","SR":"Suriname","SK":"Slovakia","SI":"Slovenia","SE":"Sweden","SZ":"Eswatini","SX":"Sint Maarten (Dutch part)","SC":"Seychelles","SY":"Syrian Arab Republic","TC":"Turks and Caicos Islands","TD":"Chad","TG":"Togo","TH":"Thailand","TJ":"Tajikistan","TK":"Tokelau","TM":"Turkmenistan","TL":"Timor-Leste","TO":"Tonga","TT":"Trinidad ne Tobago","TN":"Tunisia","TR":"Turkey","TV":"Tuvalu","TW":"Taiwan","TZ":"Tanzania","UG":"Uganda","UA":"Ukraine","UM":"United States Minor Outlying Islands","UY":"Uruguay","US":"United States","UZ":"Uzbekistan","VA":"Holy See (Vatican City State)","VC":"Saint Vincent and the Grenadines","VE":"Venezuela","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","VN":"Vietnam","VU":"Vanuatu","WF":"Wallis and Futuna","WS":"Samoa","YE":"Yemen","ZA":"Mzantsi Afrika","ZM":"Zambia","ZW":"Zimbabwe"}
@@ -0,0 +1 @@
1
+ {"AW":"Àrúbà","AF":"Afghanístàn","AO":"Àngólà","AI":"Àngúíllà","AX":"Àwọn Erékùṣù Åland","AL":"Albáníà","AD":"Àndórà","AE":"Àwọn Ẹ́mírétì Árábù Aṣọ̀kan","AR":"Argẹntínà","AM":"Arméníà","AS":"Sàmóà Amẹ́ríkà","AQ":"Antarctica","TF":"French Southern Territories","AG":"Ántígúà àti Bàrbúdà","AU":"Austrálíà","AT":"Austríà","AZ":"Azerbaijan","BI":"Bùrúndì","BE":"Bẹ́ljíọ̀m","BJ":"Benin","BQ":"Bonaire, Sint Eustatius and Saba","BF":"Bùrkínà Fasò","BD":"Bangladẹ́shì","BG":"Bùlgáríà","BH":"Báháráìnì","BS":"Bahamas","BA":"Bósníà àti Hẹrjẹgòfínà","BL":"Saint Barthélemy","BY":"Bẹ̀lárùs","BZ":"Bẹ̀lísè","BM":"Bẹ̀rmúdà","BO":"Bòlífíà","BR":"Brasil","BB":"Bárbádọ̀s","BN":"Brunei Darussalam","BT":"Bhùtán","BV":"Erékùṣù Bouvet","BW":"Bòtswánà","CF":"Orílẹ̀-èdè Olómìnira Àrin Áfríkà","CA":"Kánádà","CC":"Àwọn Erékùṣù Kókósì","CH":"Swítsàlandì","CL":"Tsílè","CN":"China","CI":"Côte d'Ivoire","CM":"Kamẹrúùnù","CD":"Congo, The Democratic Republic of the","CG":"Congo","CK":"Àwọn Erékùṣù Cook","CO":"Kòlómbìà","KM":"Kòmórò","CV":"Cabo Verde","CR":"Kóstá Rikà","CU":"Kúbà","CW":"Curaçao","CX":"Christmas Island","KY":"Àwọn Erékùṣù Káímàn","CY":"Kíprù","CZ":"Czechia","DE":"Jẹ́mánì","DJ":"Djìbútì","DM":"Dòmíníkà","DK":"Dẹ́nmárkì","DO":"Orílẹ̀òmìnira Dómíníkì","DZ":"Àlgéríà","EC":"Ẹ̀kùàdọ̀r","EG":"Ẹ́gíptì","ER":"Ẹritrẹ́à","EH":"Apáìwọ̀orùn Sàhárà","ES":"Spéìn","EE":"Estonia","ET":"Ethiópíà","FI":"Fínlándì","FJ":"Fíjì","FK":"Falkland Islands (Malvinas)","FR":"Fránsì","FO":"Àwọn Erékùṣù Fàróè","FM":"Micronesia, Federated States of","GA":"Gàbọ̀n","GB":"Ilẹ̀ọba Aṣọ̀kan","GE":"Georgia","GG":"Guernsey","GH":"Ghánà","GI":"Gibraltar","GN":"Guinea","GP":"Guadeloupe","GM":"Gambia","GW":"Guinea-Bissau","GQ":"Guinea Alágedeméjì","GR":"Gríìsì","GD":"Grẹ̀nádà","GL":"Grínlándì","GT":"Guatẹmálà","GF":"Gùyánà Fránsì","GU":"Guam","GY":"Gùyánà","HK":"Họ́ng Kọng","HM":"Erékùṣù Heard àti Àwọn Erékùṣù McDonald","HN":"Họ̀ndúràs","HR":"Kroatíà","HT":"Hàítì","HU":"Húngárì","ID":"Indonésíà","IM":"Erékùṣù ilẹ̀ Man","IN":"Índíà","IO":"Agbègbè Òkun Índíà Brítánì","IE":"Írẹ́lándì","IR":"Iran, Islamic Republic of","IQ":"Irak","IS":"Íslándì","IL":"Ísráẹ́lì","IT":"Itálíà","JM":"Jamáíkà","JE":"Jersey","JO":"Jọ́rdánì","JP":"Japan","KZ":"Kàsàkstán","KE":"Kẹ́nyà","KG":"Kirgistani","KH":"Kàmbódíà","KI":"Kìrìbátì","KN":"Saint Kitts àti Nevis","KR":"South Korea","KW":"Kuwaiti","LA":"Lao People's Democratic Republic","LB":"Lẹ́bánọ́nì","LR":"Làìbéríà","LY":"Líbyà","LC":"Lùsíà Mímọ́","LI":"Líktẹ́nstáìnì","LK":"Sri Lanka","LS":"Lèsóthò","LT":"Lituéníà","LU":"Lúksẹ́mbọ̀rg","LV":"Látfíà","MO":"Macao","MF":"Saint Martin (French part)","MA":"Mòrókò","MC":"Mónakò","MD":"Móldófà","MG":"Madagáskàr","MV":"Àwọn Maldive","MX":"Mẹ́ksíkò","MH":"Marshall Islands","MK":"North Macedonia","ML":"Málì","MT":"Máltà","MM":"Myanmar","ME":"Montenẹ́grò","MN":"Mòngólíà","MP":"Àwọn Erékùṣù Apáàríwá Mariana","MZ":"Mòsámbìk","MR":"Mauritáníà","MS":"Montserrat","MQ":"Mártíníkì","MU":"Mọ́rísì","MW":"Màláwì","MY":"Malaysia","YT":"Mayotte","NA":"Nàmíbíà","NC":"Kalẹdóníà Tuntun","NE":"Nìjẹ̀r","NF":"Erékùṣù Norfolk","NG":"Nàìjíríà","NI":"Nikarágúà","NU":"Niue","NL":"Nẹ́dálándì","NO":"Nọ́rwèy","NP":"Nepal","NR":"Nàúrù","NZ":"New Zealand","OM":"Oman","PK":"Pakístàn","PA":"Panamá","PN":"Pitcairn","PE":"Perú","PH":"Filipínì","PW":"Páláù","PG":"Papua Guinea Titun","PL":"Pólàndì","PR":"Púẹ́rtò Ríkò","KP":"North Korea","PT":"Pọ́rtúgàl","PY":"Paragúáì","PS":"Palestine, State of","PF":"Polinésíà Fránsì","QA":"Katar","RE":"Réunion","RO":"Románíà","RU":"Russian Federation","RW":"Rùwándà","SA":"Sáúdí Arábíà","SD":"Sudan","SN":"Sẹ̀nẹ̀gàl","SG":"Singapore","GS":"Gúúsù Georgia àti Àwọn Erékùṣù Gúúsù Sandwich","SH":"Saint Helena, Ascension àti Tristan da Cunha","SJ":"Svalbard àti Jan Mayen","SB":"Àwọn Erékùsù Sólómọ́nì","SL":"Siẹrra Léònè","SV":"El Salfador","SM":"San Màrínò","SO":"Sòmálíà","PM":"Saint Pierre àti Mìkẹ́lọ̀n","RS":"Sérbíà","SS":"Gúúsù Sudan","ST":"Sao Tome àti Principe","SR":"Sùrìnámù","SK":"Slofákíà","SI":"Sloféníà","SE":"Swídìn","SZ":"Eswatini","SX":"Sint Maarten (Dutch part)","SC":"Ṣèíhẹ́lẹ́sì","SY":"Syrian Arab Republic","TC":"Àwọn Erékùṣù Turks àti Caicos","TD":"Tsad","TG":"Tógò","TH":"Tháílàndì","TJ":"Tajikistan","TK":"Tokelau","TM":"Turkmẹ́nìstán","TL":"Timor-Leste","TO":"Tóngà","TT":"Trínídád àti Tòbágò","TN":"Tùnísíà","TR":"Túrkì","TV":"Tufalu","TW":"Orílẹ̀-èdè Olómìnira ilẹ̀ Ṣáínà","TZ":"Tànsáníà","UG":"Ùgándà","UA":"Ukréìn","UM":"Àwọn Erékùṣù Kékèké Orílẹ̀-èdè Amẹ́ríkà","UY":"Urugúáì","US":"United States","UZ":"Ùsbẹ̀kìstán","VA":"Holy See (Vatican City State)","VC":"Saint Vincent àti àwọn Grẹnadínì","VE":"Fenesuela","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","VN":"Fiẹtnám","VU":"Fanuatu","WF":"Wallis àti Futuna","WS":"Sàmóà","YE":"Yemen","ZA":"Gúúsù Áfríkà","ZM":"Sámbíà","ZW":"Sìmbábúè"}
@@ -0,0 +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":"津巴布韦"}
@@ -0,0 +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":"津巴布韋"}
@@ -0,0 +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":"辛巴威"}
@@ -0,0 +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":"津巴布韦"}
@@ -0,0 +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"}
@@ -0,0 +1,57 @@
1
+ module ISO3166
2
+ class << self
3
+ attr_writer :configuration
4
+ end
5
+
6
+ def self.configuration
7
+ @configuration ||= Configuration.new
8
+ end
9
+
10
+ def self.reset
11
+ @configuration = Configuration.new
12
+ Data.reset
13
+ end
14
+
15
+ def self.configure
16
+ yield(configuration)
17
+ end
18
+
19
+ class Configuration
20
+ attr_accessor :locales, :loaded_locales
21
+
22
+ def initialize
23
+ @locales = default_locales
24
+ @loaded_locales = []
25
+ end
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 # => '$'
40
+ def enable_currency_extension!
41
+ require 'countries/country/currency_methods'
42
+ ISO3166::Country.prepend(ISO3166::CountryCurrencyMethods)
43
+ end
44
+
45
+ private
46
+
47
+ def default_locales
48
+ locales = if Object.const_defined?('I18n') && I18n.respond_to?(:available_locales)
49
+ I18n.available_locales
50
+ else
51
+ [:en]
52
+ end
53
+
54
+ locales.empty? ? [:en] : locales
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,196 @@
1
+ require 'sixarm_ruby_unaccent'
2
+
3
+ module ISO3166
4
+ UNSEARCHABLE_METHODS = [:translations].freeze
5
+
6
+ def self::Country(country_data_or_country)
7
+ case country_data_or_country
8
+ when ISO3166::Country
9
+ country_data_or_country
10
+ when String, Symbol
11
+ ISO3166::Country.search(country_data_or_country)
12
+ else
13
+ raise TypeError, "can't convert #{country_data_or_country.class.name} into ISO3166::Country"
14
+ end
15
+ end
16
+
17
+ module CountryClassMethods
18
+ FIND_BY_REGEX = /^find_(all_)?(country_|countries_)?by_(.+)/
19
+ SEARCH_TERM_FILTER_REGEX = /\(|\)|\[\]|,/
20
+
21
+ def new(country_data)
22
+ super if country_data.is_a?(Hash) || codes.include?(country_data.to_s.upcase)
23
+ end
24
+
25
+ def codes
26
+ ISO3166::Data.codes
27
+ end
28
+
29
+ def all(&blk)
30
+ blk ||= proc { |_alpha2, d| ISO3166::Country.new(d) }
31
+ ISO3166::Data.cache.map(&blk)
32
+ end
33
+
34
+ alias countries all
35
+
36
+ def all_translated(locale = 'en')
37
+ translations(locale).values
38
+ end
39
+
40
+ def all_names_with_codes(locale = 'en')
41
+ Country.all.map do |c|
42
+ lc = (c.translation(locale) || c.iso_short_name)
43
+ [lc.respond_to?('html_safe') ? lc.html_safe : lc, c.alpha2]
44
+ end.sort
45
+ end
46
+
47
+ def pluck(*attributes)
48
+ all.map do |country|
49
+ attributes.map { |attribute| country.data.fetch(attribute.to_s) }
50
+ end
51
+ end
52
+
53
+ def translations(locale = 'en')
54
+ i18n_data_countries = I18nData.countries(locale.upcase)
55
+
56
+ custom_countries = (ISO3166::Data.codes - i18n_data_countries.keys).map do |code|
57
+ country = ISO3166::Country[code]
58
+ translation = country.translations[locale] || country.iso_short_name
59
+ [code, translation]
60
+ end.to_h
61
+
62
+ i18n_data_countries.merge(custom_countries)
63
+ end
64
+
65
+ def search(query)
66
+ country = new(query.to_s.upcase)
67
+ country && country.valid? ? country : nil
68
+ end
69
+
70
+ def [](query)
71
+ search(query)
72
+ end
73
+
74
+ def method_missing(method_name, *arguments)
75
+ matches = method_name.to_s.match(FIND_BY_REGEX)
76
+ return_all = matches[1]
77
+ super unless matches
78
+
79
+ if matches[3] == 'names'
80
+ if RUBY_VERSION =~ /^3\.\d\.\d/
81
+ warn "DEPRECATION WARNING: 'find_by_name' and 'find_*_by_name' methods are deprecated, please refer to the README file for more information on this change.", uplevel: 1, category: :deprecated
82
+ else
83
+ warn "DEPRECATION WARNING: 'find_by_name' and 'find_*_by_name' methods are deprecated, please refer to the README file for more information on this change.", uplevel: 1
84
+ end
85
+ end
86
+
87
+ countries = find_by(matches[3], arguments[0], matches[2])
88
+ return_all ? countries : countries.last
89
+ end
90
+
91
+ def respond_to_missing?(method_name, include_private = false)
92
+ matches = method_name.to_s.match(FIND_BY_REGEX)
93
+ if matches && matches[3]
94
+ instance_methods.include?(matches[3].to_sym)
95
+ else
96
+ super
97
+ end
98
+ end
99
+
100
+ def find_all_by(attribute, val)
101
+ attributes, lookup_value = parse_attributes(attribute, val)
102
+
103
+ ISO3166::Data.cache.select do |_, v|
104
+ country = Country.new(v)
105
+ attributes.any? do |attr|
106
+ Array(country.send(attr)).any? do |n|
107
+ lookup_value === cached(n) { parse_value(n) }
108
+ end
109
+ end
110
+ end
111
+ end
112
+
113
+ def subdivisions(alpha2)
114
+ @subdivisions ||= {}
115
+ @subdivisions[alpha2] ||= create_subdivisions(subdivision_data(alpha2))
116
+ end
117
+
118
+ def create_subdivisions(subdivision_data)
119
+ subdivision_data.each_with_object({}) do |(k, v), hash|
120
+ data = v.merge('code' => k.to_s)
121
+ hash[k] = Subdivision.new(data)
122
+ end
123
+ end
124
+
125
+ protected
126
+
127
+ def strip_accents(v)
128
+ if v.is_a?(Regexp)
129
+ Regexp.new(v.source.unaccent, 'i')
130
+ else
131
+ v.to_s.unaccent.downcase
132
+ end
133
+ end
134
+
135
+ def parse_attributes(attribute, val)
136
+ raise "Invalid attribute name '#{attribute}'" unless searchable_attribute?(attribute.to_sym)
137
+
138
+ attributes = Array(attribute.to_s)
139
+ if attribute.to_s == 'name'
140
+ if RUBY_VERSION =~ /^3\.\d\.\d/
141
+ warn "DEPRECATION WARNING: 'find_by_name' and 'find_*_by_name' methods are deprecated, please refer to the README file for more information on this change.", uplevel: 1, category: :deprecated
142
+ else
143
+ warn "DEPRECATION WARNING: 'find_by_name' and 'find_*_by_name' methods are deprecated, please refer to the README file for more information on this change.", uplevel: 1
144
+ end
145
+ # 'find_by_name' and 'find_*_by_name' will be changed for 5.0
146
+ # The addition of 'iso_short_name' here ensures the behaviour of 4.1 is kept for 4.2
147
+ attributes = %w[iso_short_name unofficial_names translated_names]
148
+ end
149
+
150
+ [attributes, parse_value(val)]
151
+ end
152
+
153
+ def searchable_attribute?(attribute)
154
+ searchable_attributes.include?(attribute.to_sym)
155
+ end
156
+
157
+ def searchable_attributes
158
+ instance_methods - UNSEARCHABLE_METHODS
159
+ end
160
+
161
+ def find_by(attribute, value, obj = nil)
162
+ find_all_by(attribute.downcase, value).map do |country|
163
+ obj.nil? ? country : new(country.last)
164
+ end
165
+ end
166
+
167
+ def parse_value(value)
168
+ value = value.gsub(SEARCH_TERM_FILTER_REGEX, '') if value.respond_to?(:gsub)
169
+ strip_accents(value)
170
+ end
171
+
172
+ def subdivision_data(alpha2)
173
+ file = subdivision_file_path(alpha2)
174
+ File.exist?(file) ? YAML.load_file(file) : {}
175
+ end
176
+
177
+ def subdivision_file_path(alpha2)
178
+ File.join(File.dirname(__FILE__), '..', 'data', 'subdivisions', "#{alpha2}.yaml")
179
+ end
180
+
181
+ # Some methods like parse_value are expensive in that they
182
+ # create a large number of objects internally. In order to reduce the
183
+ # object creations and save the GC, we can cache them in an class instance
184
+ # variable. This will make subsequent parses O(1) and will stop the
185
+ # creation of new String object instances.
186
+ #
187
+ # NB: We only want to use this cache for values coming from the JSON
188
+ # file or our own code, caching user-generated data could be dangerous
189
+ # since the cache would continually grow.
190
+ def cached(value)
191
+ @_parsed_values_cache ||= {}
192
+ return @_parsed_values_cache[value] if @_parsed_values_cache[value]
193
+ @_parsed_values_cache[value] = yield
194
+ end
195
+ end
196
+ end
@@ -0,0 +1,13 @@
1
+ require 'money'
2
+
3
+ module ISO3166
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!})
6
+ module CountryCurrencyMethods
7
+
8
+ # @return [Money::Currency] The currency data for this Country's +currency_code+
9
+ def currency
10
+ Money::Currency.find(data['currency_code'])
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,42 @@
1
+ #!/bin/env ruby
2
+ # encoding: utf-8
3
+
4
+ module ISO3166
5
+ module Emoji
6
+ CODE_POINTS = {
7
+ 'a' => '🇦',
8
+ 'b' => '🇧',
9
+ 'c' => '🇨',
10
+ 'd' => '🇩',
11
+ 'e' => '🇪',
12
+ 'f' => '🇫',
13
+ 'g' => '🇬',
14
+ 'h' => '🇭',
15
+ 'i' => '🇮',
16
+ 'j' => '🇯',
17
+ 'k' => '🇰',
18
+ 'l' => '🇱',
19
+ 'm' => '🇲',
20
+ 'n' => '🇳',
21
+ 'o' => '🇴',
22
+ 'p' => '🇵',
23
+ 'q' => '🇶',
24
+ 'r' => '🇷',
25
+ 's' => '🇸',
26
+ 't' => '🇹',
27
+ 'u' => '🇺',
28
+ 'v' => '🇻',
29
+ 'w' => '🇼',
30
+ 'x' => '🇽',
31
+ 'y' => '🇾',
32
+ 'z' => '🇿'
33
+ }.freeze
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 🇺🇸
38
+ def emoji_flag
39
+ alpha2.downcase.chars.map { |c| CODE_POINTS[c] }.join('')
40
+ end
41
+ end
42
+ end