countries 4.2.3 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (520) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/codeql-analysis.yml +70 -0
  3. data/.github/workflows/tests.yml +3 -7
  4. data/.rubocop.yml +40 -1
  5. data/.rubocop_todo.yml +8 -41
  6. data/CHANGELOG.md +35 -2
  7. data/Gemfile +5 -3
  8. data/README.markdown +56 -62
  9. data/Rakefile +21 -45
  10. data/UPGRADE.md +39 -0
  11. data/bin/console +1 -0
  12. data/countries.gemspec +7 -6
  13. data/lib/countries/cache/countries.json +1 -1
  14. data/lib/countries/cache/locales/ab.json +1 -1
  15. data/lib/countries/cache/locales/af.json +1 -1
  16. data/lib/countries/cache/locales/ak.json +1 -1
  17. data/lib/countries/cache/locales/am.json +1 -1
  18. data/lib/countries/cache/locales/an.json +1 -1
  19. data/lib/countries/cache/locales/ar.json +1 -1
  20. data/lib/countries/cache/locales/as.json +1 -1
  21. data/lib/countries/cache/locales/ay.json +1 -1
  22. data/lib/countries/cache/locales/az.json +1 -1
  23. data/lib/countries/cache/locales/ba.json +1 -1
  24. data/lib/countries/cache/locales/be.json +1 -1
  25. data/lib/countries/cache/locales/bg.json +1 -1
  26. data/lib/countries/cache/locales/bi.json +1 -1
  27. data/lib/countries/cache/locales/bn-in.json +1 -1
  28. data/lib/countries/cache/locales/bn.json +1 -1
  29. data/lib/countries/cache/locales/br.json +1 -1
  30. data/lib/countries/cache/locales/bs.json +1 -1
  31. data/lib/countries/cache/locales/ca.json +1 -1
  32. data/lib/countries/cache/locales/ce.json +1 -1
  33. data/lib/countries/cache/locales/ch.json +1 -1
  34. data/lib/countries/cache/locales/cs.json +1 -1
  35. data/lib/countries/cache/locales/cv.json +1 -1
  36. data/lib/countries/cache/locales/cy.json +1 -1
  37. data/lib/countries/cache/locales/da.json +1 -1
  38. data/lib/countries/cache/locales/de.json +1 -1
  39. data/lib/countries/cache/locales/dv.json +1 -1
  40. data/lib/countries/cache/locales/dz.json +1 -1
  41. data/lib/countries/cache/locales/ee.json +1 -1
  42. data/lib/countries/cache/locales/el.json +1 -1
  43. data/lib/countries/cache/locales/en.json +1 -1
  44. data/lib/countries/cache/locales/eo.json +1 -1
  45. data/lib/countries/cache/locales/es.json +1 -1
  46. data/lib/countries/cache/locales/et.json +1 -1
  47. data/lib/countries/cache/locales/eu.json +1 -1
  48. data/lib/countries/cache/locales/fa.json +1 -1
  49. data/lib/countries/cache/locales/ff.json +1 -1
  50. data/lib/countries/cache/locales/fi.json +1 -1
  51. data/lib/countries/cache/locales/fo.json +1 -1
  52. data/lib/countries/cache/locales/fr.json +1 -1
  53. data/lib/countries/cache/locales/fy.json +1 -1
  54. data/lib/countries/cache/locales/ga.json +1 -1
  55. data/lib/countries/cache/locales/gl.json +1 -1
  56. data/lib/countries/cache/locales/gn.json +1 -1
  57. data/lib/countries/cache/locales/gu.json +1 -1
  58. data/lib/countries/cache/locales/gv.json +1 -1
  59. data/lib/countries/cache/locales/ha.json +1 -1
  60. data/lib/countries/cache/locales/he.json +1 -1
  61. data/lib/countries/cache/locales/hi.json +1 -1
  62. data/lib/countries/cache/locales/hr.json +1 -1
  63. data/lib/countries/cache/locales/ht.json +1 -1
  64. data/lib/countries/cache/locales/hu.json +1 -1
  65. data/lib/countries/cache/locales/hy.json +1 -1
  66. data/lib/countries/cache/locales/ia.json +1 -1
  67. data/lib/countries/cache/locales/id.json +1 -1
  68. data/lib/countries/cache/locales/io.json +1 -1
  69. data/lib/countries/cache/locales/is.json +1 -1
  70. data/lib/countries/cache/locales/it.json +1 -1
  71. data/lib/countries/cache/locales/iu.json +1 -1
  72. data/lib/countries/cache/locales/ja.json +1 -1
  73. data/lib/countries/cache/locales/ka.json +1 -1
  74. data/lib/countries/cache/locales/ki.json +1 -1
  75. data/lib/countries/cache/locales/kk.json +1 -1
  76. data/lib/countries/cache/locales/kl.json +1 -1
  77. data/lib/countries/cache/locales/km.json +1 -1
  78. data/lib/countries/cache/locales/kn.json +1 -1
  79. data/lib/countries/cache/locales/ko.json +1 -1
  80. data/lib/countries/cache/locales/kv.json +1 -1
  81. data/lib/countries/cache/locales/kw.json +1 -1
  82. data/lib/countries/cache/locales/ky.json +1 -1
  83. data/lib/countries/cache/locales/lo.json +1 -1
  84. data/lib/countries/cache/locales/lt.json +1 -1
  85. data/lib/countries/cache/locales/lv.json +1 -1
  86. data/lib/countries/cache/locales/mi.json +1 -1
  87. data/lib/countries/cache/locales/mk.json +1 -1
  88. data/lib/countries/cache/locales/ml.json +1 -1
  89. data/lib/countries/cache/locales/mn.json +1 -1
  90. data/lib/countries/cache/locales/mr.json +1 -1
  91. data/lib/countries/cache/locales/ms.json +1 -1
  92. data/lib/countries/cache/locales/mt.json +1 -1
  93. data/lib/countries/cache/locales/my.json +1 -1
  94. data/lib/countries/cache/locales/na.json +1 -1
  95. data/lib/countries/cache/locales/nb.json +1 -1
  96. data/lib/countries/cache/locales/ne.json +1 -1
  97. data/lib/countries/cache/locales/nl.json +1 -1
  98. data/lib/countries/cache/locales/nn.json +1 -1
  99. data/lib/countries/cache/locales/nv.json +1 -1
  100. data/lib/countries/cache/locales/oc.json +1 -1
  101. data/lib/countries/cache/locales/or.json +1 -1
  102. data/lib/countries/cache/locales/pa.json +1 -1
  103. data/lib/countries/cache/locales/pi.json +1 -1
  104. data/lib/countries/cache/locales/pl.json +1 -1
  105. data/lib/countries/cache/locales/ps.json +1 -1
  106. data/lib/countries/cache/locales/pt-br.json +1 -1
  107. data/lib/countries/cache/locales/pt.json +1 -1
  108. data/lib/countries/cache/locales/ro.json +1 -1
  109. data/lib/countries/cache/locales/ru.json +1 -1
  110. data/lib/countries/cache/locales/rw.json +1 -1
  111. data/lib/countries/cache/locales/sc.json +1 -1
  112. data/lib/countries/cache/locales/sd.json +1 -1
  113. data/lib/countries/cache/locales/si.json +1 -1
  114. data/lib/countries/cache/locales/sk.json +1 -1
  115. data/lib/countries/cache/locales/sl.json +1 -1
  116. data/lib/countries/cache/locales/so.json +1 -1
  117. data/lib/countries/cache/locales/sq.json +1 -1
  118. data/lib/countries/cache/locales/sr.json +1 -1
  119. data/lib/countries/cache/locales/sv.json +1 -1
  120. data/lib/countries/cache/locales/sw.json +1 -1
  121. data/lib/countries/cache/locales/ta.json +1 -1
  122. data/lib/countries/cache/locales/te.json +1 -1
  123. data/lib/countries/cache/locales/tg.json +1 -1
  124. data/lib/countries/cache/locales/th.json +1 -1
  125. data/lib/countries/cache/locales/ti.json +1 -1
  126. data/lib/countries/cache/locales/tk.json +1 -1
  127. data/lib/countries/cache/locales/tl.json +1 -1
  128. data/lib/countries/cache/locales/tr.json +1 -1
  129. data/lib/countries/cache/locales/tt.json +1 -1
  130. data/lib/countries/cache/locales/ug.json +1 -1
  131. data/lib/countries/cache/locales/uk.json +1 -1
  132. data/lib/countries/cache/locales/ur.json +1 -1
  133. data/lib/countries/cache/locales/uz.json +1 -1
  134. data/lib/countries/cache/locales/ve.json +1 -1
  135. data/lib/countries/cache/locales/vi.json +1 -1
  136. data/lib/countries/cache/locales/wa.json +1 -1
  137. data/lib/countries/cache/locales/wo.json +1 -1
  138. data/lib/countries/cache/locales/xh.json +1 -1
  139. data/lib/countries/cache/locales/yo.json +1 -1
  140. data/lib/countries/cache/locales/zh-cn.json +1 -1
  141. data/lib/countries/cache/locales/zh-hk.json +1 -1
  142. data/lib/countries/cache/locales/zh-tw.json +1 -1
  143. data/lib/countries/cache/locales/zu.json +1 -1
  144. data/lib/countries/configuration.rb +2 -0
  145. data/lib/countries/country/class_methods.rb +20 -103
  146. data/lib/countries/country/currency_methods.rb +2 -0
  147. data/lib/countries/country/emoji.rb +2 -3
  148. data/lib/countries/country/finder_methods.rb +81 -0
  149. data/lib/countries/country.rb +32 -43
  150. data/lib/countries/data/countries/KN.yaml +0 -1
  151. data/lib/countries/data/subdivisions/AD.yaml +14 -7
  152. data/lib/countries/data/subdivisions/AE.yaml +14 -7
  153. data/lib/countries/data/subdivisions/AF.yaml +196 -201
  154. data/lib/countries/data/subdivisions/AG.yaml +16 -22
  155. data/lib/countries/data/subdivisions/AL.yaml +24 -12
  156. data/lib/countries/data/subdivisions/AM.yaml +22 -11
  157. data/lib/countries/data/subdivisions/AO.yaml +36 -18
  158. data/lib/countries/data/subdivisions/AR.yaml +48 -24
  159. data/lib/countries/data/subdivisions/AT.yaml +18 -9
  160. data/lib/countries/data/subdivisions/AU.yaml +16 -8
  161. data/lib/countries/data/subdivisions/AZ.yaml +434 -412
  162. data/lib/countries/data/subdivisions/BA.yaml +75 -223
  163. data/lib/countries/data/subdivisions/BB.yaml +22 -11
  164. data/lib/countries/data/subdivisions/BD.yaml +188 -116
  165. data/lib/countries/data/subdivisions/BE.yaml +174 -161
  166. data/lib/countries/data/subdivisions/BF.yaml +2918 -2860
  167. data/lib/countries/data/subdivisions/BG.yaml +56 -28
  168. data/lib/countries/data/subdivisions/BH.yaml +8 -21
  169. data/lib/countries/data/subdivisions/BI.yaml +176 -157
  170. data/lib/countries/data/subdivisions/BJ.yaml +24 -12
  171. data/lib/countries/data/subdivisions/BN.yaml +8 -4
  172. data/lib/countries/data/subdivisions/BO.yaml +18 -9
  173. data/lib/countries/data/subdivisions/BQ.yaml +6 -3
  174. data/lib/countries/data/subdivisions/BR.yaml +54 -27
  175. data/lib/countries/data/subdivisions/BS.yaml +575 -697
  176. data/lib/countries/data/subdivisions/BT.yaml +40 -20
  177. data/lib/countries/data/subdivisions/BW.yaml +337 -321
  178. data/lib/countries/data/subdivisions/BY.yaml +106 -116
  179. data/lib/countries/data/subdivisions/BZ.yaml +12 -6
  180. data/lib/countries/data/subdivisions/CA.yaml +26 -13
  181. data/lib/countries/data/subdivisions/CD.yaml +488 -525
  182. data/lib/countries/data/subdivisions/CF.yaml +34 -17
  183. data/lib/countries/data/subdivisions/CG.yaml +40 -28
  184. data/lib/countries/data/subdivisions/CH.yaml +52 -26
  185. data/lib/countries/data/subdivisions/CI.yaml +244 -516
  186. data/lib/countries/data/subdivisions/CL.yaml +81 -65
  187. data/lib/countries/data/subdivisions/CM.yaml +20 -10
  188. data/lib/countries/data/subdivisions/CN.yaml +2152 -2084
  189. data/lib/countries/data/subdivisions/CO.yaml +66 -33
  190. data/lib/countries/data/subdivisions/CR.yaml +14 -7
  191. data/lib/countries/data/subdivisions/CU.yaml +32 -16
  192. data/lib/countries/data/subdivisions/CV.yaml +427 -401
  193. data/lib/countries/data/subdivisions/CY.yaml +12 -6
  194. data/lib/countries/data/subdivisions/CZ.yaml +1116 -85
  195. data/lib/countries/data/subdivisions/DE.yaml +32 -16
  196. data/lib/countries/data/subdivisions/DJ.yaml +12 -6
  197. data/lib/countries/data/subdivisions/DK.yaml +25 -17
  198. data/lib/countries/data/subdivisions/DM.yaml +20 -10
  199. data/lib/countries/data/subdivisions/DO.yaml +84 -42
  200. data/lib/countries/data/subdivisions/DZ.yaml +96 -48
  201. data/lib/countries/data/subdivisions/EC.yaml +158 -134
  202. data/lib/countries/data/subdivisions/EE.yaml +501 -334
  203. data/lib/countries/data/subdivisions/EG.yaml +54 -27
  204. data/lib/countries/data/subdivisions/ER.yaml +12 -6
  205. data/lib/countries/data/subdivisions/ES.yaml +1459 -1390
  206. data/lib/countries/data/subdivisions/ET.yaml +22 -11
  207. data/lib/countries/data/subdivisions/FI.yaml +185 -1
  208. data/lib/countries/data/subdivisions/FJ.yaml +443 -424
  209. data/lib/countries/data/subdivisions/FM.yaml +8 -4
  210. data/lib/countries/data/subdivisions/FR.yaml +438 -275
  211. data/lib/countries/data/subdivisions/GA.yaml +18 -9
  212. data/lib/countries/data/subdivisions/GB.yaml +1185 -1708
  213. data/lib/countries/data/subdivisions/GD.yaml +14 -7
  214. data/lib/countries/data/subdivisions/GE.yaml +24 -12
  215. data/lib/countries/data/subdivisions/GH.yaml +114 -155
  216. data/lib/countries/data/subdivisions/GL.yaml +24 -79
  217. data/lib/countries/data/subdivisions/GM.yaml +12 -6
  218. data/lib/countries/data/subdivisions/GN.yaml +444 -403
  219. data/lib/countries/data/subdivisions/GQ.yaml +24 -13
  220. data/lib/countries/data/subdivisions/GR.yaml +114 -73
  221. data/lib/countries/data/subdivisions/GT.yaml +44 -22
  222. data/lib/countries/data/subdivisions/GW.yaml +69 -57
  223. data/lib/countries/data/subdivisions/GY.yaml +20 -10
  224. data/lib/countries/data/subdivisions/HN.yaml +36 -18
  225. data/lib/countries/data/subdivisions/HR.yaml +42 -21
  226. data/lib/countries/data/subdivisions/HT.yaml +73 -63
  227. data/lib/countries/data/subdivisions/HU.yaml +106 -63
  228. data/lib/countries/data/subdivisions/ID.yaml +229 -188
  229. data/lib/countries/data/subdivisions/IE.yaml +128 -97
  230. data/lib/countries/data/subdivisions/IL.yaml +12 -6
  231. data/lib/countries/data/subdivisions/IN.yaml +245 -396
  232. data/lib/countries/data/subdivisions/IQ.yaml +111 -91
  233. data/lib/countries/data/subdivisions/IR.yaml +1463 -1451
  234. data/lib/countries/data/subdivisions/IS.yaml +160 -25
  235. data/lib/countries/data/subdivisions/IT.yaml +8740 -8292
  236. data/lib/countries/data/subdivisions/JM.yaml +28 -14
  237. data/lib/countries/data/subdivisions/JO.yaml +24 -12
  238. data/lib/countries/data/subdivisions/JP.yaml +94 -47
  239. data/lib/countries/data/subdivisions/KE.yaml +95 -48
  240. data/lib/countries/data/subdivisions/KG.yaml +95 -86
  241. data/lib/countries/data/subdivisions/KH.yaml +64 -39
  242. data/lib/countries/data/subdivisions/KI.yaml +6 -3
  243. data/lib/countries/data/subdivisions/KM.yaml +6 -3
  244. data/lib/countries/data/subdivisions/KN.yaml +32 -16
  245. data/lib/countries/data/subdivisions/KP.yaml +24 -227
  246. data/lib/countries/data/subdivisions/KR.yaml +34 -17
  247. data/lib/countries/data/subdivisions/KW.yaml +12 -6
  248. data/lib/countries/data/subdivisions/KZ.yaml +47 -102
  249. data/lib/countries/data/subdivisions/LA.yaml +36 -34
  250. data/lib/countries/data/subdivisions/LB.yaml +71 -63
  251. data/lib/countries/data/subdivisions/LC.yaml +116 -106
  252. data/lib/countries/data/subdivisions/LI.yaml +22 -11
  253. data/lib/countries/data/subdivisions/LK.yaml +445 -411
  254. data/lib/countries/data/subdivisions/LR.yaml +146 -129
  255. data/lib/countries/data/subdivisions/LS.yaml +20 -10
  256. data/lib/countries/data/subdivisions/LT.yaml +1706 -1636
  257. data/lib/countries/data/subdivisions/LU.yaml +24 -12
  258. data/lib/countries/data/subdivisions/LV.yaml +1623 -1577
  259. data/lib/countries/data/subdivisions/LY.yaml +44 -22
  260. data/lib/countries/data/subdivisions/MA.yaml +810 -1589
  261. data/lib/countries/data/subdivisions/MC.yaml +261 -244
  262. data/lib/countries/data/subdivisions/MD.yaml +74 -79
  263. data/lib/countries/data/subdivisions/ME.yaml +217 -195
  264. data/lib/countries/data/subdivisions/MG.yaml +12 -6
  265. data/lib/countries/data/subdivisions/MH.yaml +167 -140
  266. data/lib/countries/data/subdivisions/MK.yaml +160 -80
  267. data/lib/countries/data/subdivisions/ML.yaml +48 -37
  268. data/lib/countries/data/subdivisions/MM.yaml +30 -15
  269. data/lib/countries/data/subdivisions/MN.yaml +44 -22
  270. data/lib/countries/data/subdivisions/MR.yaml +30 -34
  271. data/lib/countries/data/subdivisions/MT.yaml +136 -68
  272. data/lib/countries/data/subdivisions/MU.yaml +24 -262
  273. data/lib/countries/data/subdivisions/MV.yaml +161 -254
  274. data/lib/countries/data/subdivisions/MW.yaml +250 -219
  275. data/lib/countries/data/subdivisions/MX.yaml +67 -47
  276. data/lib/countries/data/subdivisions/MY.yaml +32 -16
  277. data/lib/countries/data/subdivisions/MZ.yaml +22 -11
  278. data/lib/countries/data/subdivisions/NA.yaml +58 -44
  279. data/lib/countries/data/subdivisions/NE.yaml +16 -8
  280. data/lib/countries/data/subdivisions/NG.yaml +74 -37
  281. data/lib/countries/data/subdivisions/NI.yaml +34 -17
  282. data/lib/countries/data/subdivisions/NL.yaml +303 -285
  283. data/lib/countries/data/subdivisions/NO.yaml +39 -17
  284. data/lib/countries/data/subdivisions/NP.yaml +302 -276
  285. data/lib/countries/data/subdivisions/NR.yaml +28 -14
  286. data/lib/countries/data/subdivisions/NZ.yaml +34 -17
  287. data/lib/countries/data/subdivisions/OM.yaml +260 -311
  288. data/lib/countries/data/subdivisions/PA.yaml +57 -44
  289. data/lib/countries/data/subdivisions/PE.yaml +107 -81
  290. data/lib/countries/data/subdivisions/PG.yaml +163 -158
  291. data/lib/countries/data/subdivisions/PH.yaml +5062 -4992
  292. data/lib/countries/data/subdivisions/PK.yaml +145 -235
  293. data/lib/countries/data/subdivisions/PL.yaml +51 -3
  294. data/lib/countries/data/subdivisions/PS.yaml +32 -16
  295. data/lib/countries/data/subdivisions/PT.yaml +53 -33
  296. data/lib/countries/data/subdivisions/PW.yaml +32 -16
  297. data/lib/countries/data/subdivisions/PY.yaml +36 -18
  298. data/lib/countries/data/subdivisions/QA.yaml +27 -78
  299. data/lib/countries/data/subdivisions/RO.yaml +84 -42
  300. data/lib/countries/data/subdivisions/RS.yaml +104 -72
  301. data/lib/countries/data/subdivisions/RU.yaml +166 -83
  302. data/lib/countries/data/subdivisions/RW.yaml +10 -5
  303. data/lib/countries/data/subdivisions/SA.yaml +26 -13
  304. data/lib/countries/data/subdivisions/SB.yaml +20 -10
  305. data/lib/countries/data/subdivisions/SC.yaml +54 -25
  306. data/lib/countries/data/subdivisions/SD.yaml +798 -780
  307. data/lib/countries/data/subdivisions/SE.yaml +42 -21
  308. data/lib/countries/data/subdivisions/SG.yaml +15 -10
  309. data/lib/countries/data/subdivisions/SH.yaml +21 -32
  310. data/lib/countries/data/subdivisions/SI.yaml +475 -263
  311. data/lib/countries/data/subdivisions/SK.yaml +16 -8
  312. data/lib/countries/data/subdivisions/SL.yaml +23 -18
  313. data/lib/countries/data/subdivisions/SM.yaml +18 -9
  314. data/lib/countries/data/subdivisions/SN.yaml +188 -174
  315. data/lib/countries/data/subdivisions/SO.yaml +36 -18
  316. data/lib/countries/data/subdivisions/SR.yaml +20 -10
  317. data/lib/countries/data/subdivisions/SS.yaml +20 -10
  318. data/lib/countries/data/subdivisions/ST.yaml +38 -52
  319. data/lib/countries/data/subdivisions/SV.yaml +28 -14
  320. data/lib/countries/data/subdivisions/SY.yaml +28 -14
  321. data/lib/countries/data/subdivisions/SZ.yaml +8 -4
  322. data/lib/countries/data/subdivisions/TD.yaml +312 -303
  323. data/lib/countries/data/subdivisions/TG.yaml +10 -5
  324. data/lib/countries/data/subdivisions/TH.yaml +211 -133
  325. data/lib/countries/data/subdivisions/TJ.yaml +161 -156
  326. data/lib/countries/data/subdivisions/TL.yaml +26 -13
  327. data/lib/countries/data/subdivisions/TM.yaml +12 -6
  328. data/lib/countries/data/subdivisions/TN.yaml +48 -24
  329. data/lib/countries/data/subdivisions/TO.yaml +10 -5
  330. data/lib/countries/data/subdivisions/TR.yaml +162 -81
  331. data/lib/countries/data/subdivisions/TT.yaml +128 -160
  332. data/lib/countries/data/subdivisions/TV.yaml +57 -63
  333. data/lib/countries/data/subdivisions/TW.yaml +143 -183
  334. data/lib/countries/data/subdivisions/TZ.yaml +62 -31
  335. data/lib/countries/data/subdivisions/UA.yaml +55 -28
  336. data/lib/countries/data/subdivisions/UG.yaml +4806 -4660
  337. data/lib/countries/data/subdivisions/UM.yaml +18 -9
  338. data/lib/countries/data/subdivisions/US.yaml +114 -57
  339. data/lib/countries/data/subdivisions/UY.yaml +99 -80
  340. data/lib/countries/data/subdivisions/UZ.yaml +28 -14
  341. data/lib/countries/data/subdivisions/VC.yaml +12 -6
  342. data/lib/countries/data/subdivisions/VE.yaml +50 -25
  343. data/lib/countries/data/subdivisions/VN.yaml +3576 -3513
  344. data/lib/countries/data/subdivisions/VU.yaml +12 -6
  345. data/lib/countries/data/subdivisions/WF.yaml +6 -3
  346. data/lib/countries/data/subdivisions/WS.yaml +22 -11
  347. data/lib/countries/data/subdivisions/YE.yaml +222 -200
  348. data/lib/countries/data/subdivisions/ZA.yaml +86 -100
  349. data/lib/countries/data/subdivisions/ZM.yaml +20 -10
  350. data/lib/countries/data/subdivisions/ZW.yaml +20 -10
  351. data/lib/countries/data/translations/countries-ab.yaml +254 -0
  352. data/lib/countries/data/translations/countries-af.yaml +254 -0
  353. data/lib/countries/data/translations/countries-ak.yaml +254 -0
  354. data/lib/countries/data/translations/countries-am.yaml +254 -0
  355. data/lib/countries/data/translations/countries-an.yaml +254 -0
  356. data/lib/countries/data/translations/countries-ar.yaml +254 -0
  357. data/lib/countries/data/translations/countries-as.yaml +254 -0
  358. data/lib/countries/data/translations/countries-ay.yaml +254 -0
  359. data/lib/countries/data/translations/countries-az.yaml +254 -0
  360. data/lib/countries/data/translations/countries-ba.yaml +254 -0
  361. data/lib/countries/data/translations/countries-be.yaml +254 -0
  362. data/lib/countries/data/translations/countries-bg.yaml +254 -0
  363. data/lib/countries/data/translations/countries-bi.yaml +254 -0
  364. data/lib/countries/data/translations/countries-bn.yaml +254 -0
  365. data/lib/countries/data/translations/countries-bn_IN.yaml +254 -0
  366. data/lib/countries/data/translations/countries-br.yaml +254 -0
  367. data/lib/countries/data/translations/countries-bs.yaml +254 -0
  368. data/lib/countries/data/translations/countries-ca.yaml +254 -0
  369. data/lib/countries/data/translations/countries-ce.yaml +254 -0
  370. data/lib/countries/data/translations/countries-ch.yaml +254 -0
  371. data/lib/countries/data/translations/countries-cs.yaml +254 -0
  372. data/lib/countries/data/translations/countries-cv.yaml +254 -0
  373. data/lib/countries/data/translations/countries-cy.yaml +254 -0
  374. data/lib/countries/data/translations/countries-da.yaml +254 -0
  375. data/lib/countries/data/translations/countries-de.yaml +254 -0
  376. data/lib/countries/data/translations/countries-dv.yaml +254 -0
  377. data/lib/countries/data/translations/countries-dz.yaml +254 -0
  378. data/lib/countries/data/translations/countries-ee.yaml +254 -0
  379. data/lib/countries/data/translations/countries-el.yaml +254 -0
  380. data/lib/countries/data/translations/countries-en.yaml +254 -0
  381. data/lib/countries/data/translations/countries-eo.yaml +254 -0
  382. data/lib/countries/data/translations/countries-es.yaml +254 -0
  383. data/lib/countries/data/translations/countries-et.yaml +254 -0
  384. data/lib/countries/data/translations/countries-eu.yaml +254 -0
  385. data/lib/countries/data/translations/countries-fa.yaml +254 -0
  386. data/lib/countries/data/translations/countries-ff.yaml +254 -0
  387. data/lib/countries/data/translations/countries-fi.yaml +254 -0
  388. data/lib/countries/data/translations/countries-fo.yaml +254 -0
  389. data/lib/countries/data/translations/countries-fr.yaml +254 -0
  390. data/lib/countries/data/translations/countries-fy.yaml +254 -0
  391. data/lib/countries/data/translations/countries-ga.yaml +254 -0
  392. data/lib/countries/data/translations/countries-gl.yaml +254 -0
  393. data/lib/countries/data/translations/countries-gn.yaml +254 -0
  394. data/lib/countries/data/translations/countries-gu.yaml +254 -0
  395. data/lib/countries/data/translations/countries-gv.yaml +254 -0
  396. data/lib/countries/data/translations/countries-ha.yaml +254 -0
  397. data/lib/countries/data/translations/countries-he.yaml +254 -0
  398. data/lib/countries/data/translations/countries-hi.yaml +254 -0
  399. data/lib/countries/data/translations/countries-hr.yaml +254 -0
  400. data/lib/countries/data/translations/countries-ht.yaml +254 -0
  401. data/lib/countries/data/translations/countries-hu.yaml +254 -0
  402. data/lib/countries/data/translations/countries-hy.yaml +254 -0
  403. data/lib/countries/data/translations/countries-ia.yaml +254 -0
  404. data/lib/countries/data/translations/countries-id.yaml +254 -0
  405. data/lib/countries/data/translations/countries-io.yaml +254 -0
  406. data/lib/countries/data/translations/countries-is.yaml +254 -0
  407. data/lib/countries/data/translations/countries-it.yaml +254 -0
  408. data/lib/countries/data/translations/countries-iu.yaml +254 -0
  409. data/lib/countries/data/translations/countries-ja.yaml +254 -0
  410. data/lib/countries/data/translations/countries-ka.yaml +254 -0
  411. data/lib/countries/data/translations/countries-ki.yaml +254 -0
  412. data/lib/countries/data/translations/countries-kk.yaml +254 -0
  413. data/lib/countries/data/translations/countries-kl.yaml +254 -0
  414. data/lib/countries/data/translations/countries-km.yaml +254 -0
  415. data/lib/countries/data/translations/countries-kn.yaml +254 -0
  416. data/lib/countries/data/translations/countries-ko.yaml +254 -0
  417. data/lib/countries/data/translations/countries-ku.yaml +254 -0
  418. data/lib/countries/data/translations/countries-kv.yaml +254 -0
  419. data/lib/countries/data/translations/countries-kw.yaml +254 -0
  420. data/lib/countries/data/translations/countries-ky.yaml +254 -0
  421. data/lib/countries/data/translations/countries-lo.yaml +254 -0
  422. data/lib/countries/data/translations/countries-lt.yaml +254 -0
  423. data/lib/countries/data/translations/countries-lv.yaml +254 -0
  424. data/lib/countries/data/translations/countries-mi.yaml +254 -0
  425. data/lib/countries/data/translations/countries-mk.yaml +254 -0
  426. data/lib/countries/data/translations/countries-ml.yaml +254 -0
  427. data/lib/countries/data/translations/countries-mn.yaml +254 -0
  428. data/lib/countries/data/translations/countries-mr.yaml +254 -0
  429. data/lib/countries/data/translations/countries-ms.yaml +254 -0
  430. data/lib/countries/data/translations/countries-mt.yaml +254 -0
  431. data/lib/countries/data/translations/countries-my.yaml +254 -0
  432. data/lib/countries/data/translations/countries-na.yaml +254 -0
  433. data/lib/countries/data/translations/countries-nb.yaml +254 -0
  434. data/lib/countries/data/translations/countries-ne.yaml +254 -0
  435. data/lib/countries/data/translations/countries-nl.yaml +254 -0
  436. data/lib/countries/data/translations/countries-nn.yaml +254 -0
  437. data/lib/countries/data/translations/countries-nv.yaml +254 -0
  438. data/lib/countries/data/translations/countries-oc.yaml +254 -0
  439. data/lib/countries/data/translations/countries-or.yaml +254 -0
  440. data/lib/countries/data/translations/countries-pa.yaml +254 -0
  441. data/lib/countries/data/translations/countries-pi.yaml +254 -0
  442. data/lib/countries/data/translations/countries-pl.yaml +254 -0
  443. data/lib/countries/data/translations/countries-ps.yaml +254 -0
  444. data/lib/countries/data/translations/countries-pt.yaml +254 -0
  445. data/lib/countries/data/translations/countries-pt_BR.yaml +254 -0
  446. data/lib/countries/data/translations/countries-ro.yaml +254 -0
  447. data/lib/countries/data/translations/countries-ru.yaml +254 -0
  448. data/lib/countries/data/translations/countries-rw.yaml +254 -0
  449. data/lib/countries/data/translations/countries-sc.yaml +254 -0
  450. data/lib/countries/data/translations/countries-sd.yaml +254 -0
  451. data/lib/countries/data/translations/countries-si.yaml +254 -0
  452. data/lib/countries/data/translations/countries-sk.yaml +254 -0
  453. data/lib/countries/data/translations/countries-sl.yaml +254 -0
  454. data/lib/countries/data/translations/countries-so.yaml +254 -0
  455. data/lib/countries/data/translations/countries-sq.yaml +254 -0
  456. data/lib/countries/data/translations/countries-sr.yaml +254 -0
  457. data/lib/countries/data/translations/countries-sv.yaml +254 -0
  458. data/lib/countries/data/translations/countries-sw.yaml +254 -0
  459. data/lib/countries/data/translations/countries-ta.yaml +254 -0
  460. data/lib/countries/data/translations/countries-te.yaml +254 -0
  461. data/lib/countries/data/translations/countries-tg.yaml +254 -0
  462. data/lib/countries/data/translations/countries-th.yaml +254 -0
  463. data/lib/countries/data/translations/countries-ti.yaml +254 -0
  464. data/lib/countries/data/translations/countries-tk.yaml +254 -0
  465. data/lib/countries/data/translations/countries-tl.yaml +254 -0
  466. data/lib/countries/data/translations/countries-tr.yaml +254 -0
  467. data/lib/countries/data/translations/countries-tt.yaml +254 -0
  468. data/lib/countries/data/translations/countries-ug.yaml +254 -0
  469. data/lib/countries/data/translations/countries-uk.yaml +254 -0
  470. data/lib/countries/data/translations/countries-ur.yaml +254 -0
  471. data/lib/countries/data/translations/countries-uz.yaml +254 -0
  472. data/lib/countries/data/translations/countries-ve.yaml +254 -0
  473. data/lib/countries/data/translations/countries-vi.yaml +254 -0
  474. data/lib/countries/data/translations/countries-wa.yaml +254 -0
  475. data/lib/countries/data/translations/countries-wo.yaml +254 -0
  476. data/lib/countries/data/translations/countries-xh.yaml +254 -0
  477. data/lib/countries/data/translations/countries-yo.yaml +254 -0
  478. data/lib/countries/data/translations/countries-zh_CN.yaml +254 -0
  479. data/lib/countries/data/translations/countries-zh_HK.yaml +254 -0
  480. data/lib/countries/data/translations/countries-zh_TW.yaml +254 -0
  481. data/lib/countries/data/translations/countries-zu.yaml +254 -0
  482. data/lib/countries/data.rb +45 -42
  483. data/lib/countries/global.rb +2 -0
  484. data/lib/countries/iso3166.rb +3 -1
  485. data/lib/countries/kwarg_struct.rb +2 -0
  486. data/lib/countries/mongoid.rb +2 -0
  487. data/lib/countries/sources/cldr/downloader.rb +8 -8
  488. data/lib/countries/sources/cldr/subdivision.rb +3 -0
  489. data/lib/countries/sources/cldr/subdivision_updater.rb +23 -17
  490. data/lib/countries/sources/local/cached_loader.rb +3 -0
  491. data/lib/countries/sources/local/subdivision.rb +5 -2
  492. data/lib/countries/sources.rb +2 -0
  493. data/lib/countries/structure.rb +1 -1
  494. data/lib/countries/subdivision.rb +21 -8
  495. data/lib/countries/tasks/geocoding.rake +15 -6
  496. data/lib/countries/tasks/postal_codes.rake +5 -3
  497. data/lib/countries/timezones.rb +5 -2
  498. data/lib/countries/translations.rb +2 -0
  499. data/lib/countries/version.rb +3 -1
  500. data/lib/countries.rb +2 -0
  501. data/spec/00_global_spec.rb +2 -0
  502. data/spec/configuration_spec.rb +11 -5
  503. data/spec/country_spec.rb +131 -38
  504. data/spec/data_spec.rb +85 -21
  505. data/spec/mongoid_spec.rb +2 -2
  506. data/spec/perf_spec.rb +16 -16
  507. data/spec/spec_helper.rb +2 -0
  508. data/spec/subdivision_spec.rb +6 -4
  509. data/spec/thread_safety_spec.rb +4 -3
  510. data/spec/timezone_spec.rb +2 -0
  511. metadata +146 -34
  512. data/lib/countries/cache/locales/zh.json +0 -1
  513. data/lib/countries/data/subdivisions/AI.yaml +0 -197
  514. data/lib/countries/data/subdivisions/BM.yaml +0 -155
  515. data/lib/countries/data/subdivisions/CK.yaml +0 -155
  516. data/lib/countries/data/subdivisions/EH.yaml +0 -80
  517. data/lib/countries/data/subdivisions/SJ.yaml +0 -29
  518. data/lib/countries/data/subdivisions/TK.yaml +0 -43
  519. data/lib/countries/data/translation_corrections.yaml +0 -51
  520. data/lib/countries/setup.rb +0 -18
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  BAL:
3
3
  name: Balkh
4
- code:
4
+ code: BAL
5
5
  unofficial_names:
6
6
  - Balkh
7
7
  geo:
@@ -69,9 +69,10 @@ BAL:
69
69
  pa: ਬਲਖ ਸੂਬਾ
70
70
  'no': Balkh
71
71
  comments:
72
+ type: province
72
73
  BAM:
73
74
  name: Bamian
74
- code:
75
+ code: BAM
75
76
  unofficial_names:
76
77
  - Bamian
77
78
  - Bamiyan
@@ -143,9 +144,10 @@ BAM:
143
144
  ml: ബാമിയാൻ പ്രവിശ്യ
144
145
  'no': Bamiyan
145
146
  comments:
147
+ type: province
146
148
  BDG:
147
149
  name: Badghis
148
- code:
150
+ code: BDG
149
151
  unofficial_names:
150
152
  - Badghis
151
153
  - Badgis
@@ -215,9 +217,10 @@ BDG:
215
217
  ccp: "\U0001111D\U00011116\U00011134\U0001110A\U00011128\U0001110C\U00011134"
216
218
  'no': Badghis
217
219
  comments:
220
+ type: province
218
221
  BDS:
219
222
  name: Badakhshan
220
- code:
223
+ code: BDS
221
224
  unofficial_names:
222
225
  - Badaẖšan
223
226
  geo:
@@ -288,9 +291,10 @@ BDS:
288
291
  pa: ਸੂਬਾ ਬਦਖ਼ਸ਼ਾਂ
289
292
  'no': Badakhshan
290
293
  comments:
294
+ type: province
291
295
  BGL:
292
296
  name: Baghlan
293
- code:
297
+ code: BGL
294
298
  unofficial_names:
295
299
  - Baghlan
296
300
  - Baghlān
@@ -358,9 +362,10 @@ BGL:
358
362
  ccp: "\U0001111D\U00011107\U00011134\U00011123\U0001111A\U00011134"
359
363
  'no': Baghlan
360
364
  comments:
365
+ type: province
361
366
  DAY:
362
367
  name: Daykondi
363
- code:
368
+ code: DAY
364
369
  unofficial_names:
365
370
  - Daikondi
366
371
  geo:
@@ -419,9 +424,10 @@ DAY:
419
424
  ccp: "\U00011113\U0001112C\U00011107\U0001112A\U0001111A\U00011134\U00011118\U00011128"
420
425
  'no': Daikondi
421
426
  comments:
427
+ type: province
422
428
  FRA:
423
429
  name: Farah
424
- code:
430
+ code: FRA
425
431
  unofficial_names:
426
432
  - Fahrah
427
433
  geo:
@@ -486,9 +492,10 @@ FRA:
486
492
  ccp: "\U0001111C\U00011122\U00011126\U00011134"
487
493
  'no': Farah
488
494
  comments:
495
+ type: province
489
496
  FYB:
490
497
  name: Faryab
491
- code:
498
+ code: FYB
492
499
  unofficial_names:
493
500
  - Fariab
494
501
  geo:
@@ -555,9 +562,10 @@ FYB:
555
562
  uz: Foryob (viloyat)
556
563
  'no': Faryab
557
564
  comments:
565
+ type: province
558
566
  GHA:
559
567
  name: Ghazni
560
- code:
568
+ code: GHA
561
569
  unofficial_names:
562
570
  - Gazni
563
571
  - Ghazni
@@ -626,9 +634,10 @@ GHA:
626
634
  pa: ਗਜ਼ਨੀ ਸੂਬਾ
627
635
  'no': Ghazni
628
636
  comments:
637
+ type: province
629
638
  GHO:
630
639
  name: Ghowr
631
- code:
640
+ code: GHO
632
641
  unofficial_names:
633
642
  - Ghawr
634
643
  - Ghor
@@ -697,9 +706,10 @@ GHO:
697
706
  pa: ਗ਼ੋਰ ਸੂਬਾ
698
707
  'no': Ghowr
699
708
  comments:
709
+ type: province
700
710
  HEL:
701
711
  name: Helmand
702
- code:
712
+ code: HEL
703
713
  unofficial_names:
704
714
  - Helmand
705
715
  - Hilmend
@@ -769,9 +779,10 @@ HEL:
769
779
  pa: ਹੇਲਮੰਦ ਸੂਬਾ
770
780
  'no': Helmand
771
781
  comments:
782
+ type: province
772
783
  HER:
773
784
  name: Herat
774
- code:
785
+ code: HER
775
786
  unofficial_names:
776
787
  - Herat
777
788
  geo:
@@ -836,9 +847,10 @@ HER:
836
847
  ccp: "\U00011126\U0001112C\U00011122\U00011116\U00011134"
837
848
  'no': Herat
838
849
  comments:
850
+ type: province
839
851
  JOW:
840
852
  name: Jowzjan
841
- code:
853
+ code: JOW
842
854
  unofficial_names:
843
855
  - Jawzjan
844
856
  - Jowzjan
@@ -909,9 +921,10 @@ JOW:
909
921
  uz: Joʻzjon
910
922
  'no': Jowzjan
911
923
  comments:
924
+ type: province
912
925
  KAB:
913
926
  name: Kabul [Kabol]
914
- code:
927
+ code: KAB
915
928
  unofficial_names:
916
929
  - Kabol
917
930
  - Kābol
@@ -980,9 +993,10 @@ KAB:
980
993
  tk: Kabul welaýaty
981
994
  'no': Kabul
982
995
  comments:
996
+ type: province
983
997
  KAN:
984
998
  name: Kandahar
985
- code:
999
+ code: KAN
986
1000
  unofficial_names:
987
1001
  - Kandahar
988
1002
  geo:
@@ -1049,9 +1063,10 @@ KAN:
1049
1063
  ccp: "\U00011107\U0001111A\U00011134\U00011118\U00011126\U00011122\U00011134"
1050
1064
  'no': Kandahar
1051
1065
  comments:
1066
+ type: province
1052
1067
  KAP:
1053
1068
  name: Kapisa
1054
- code:
1069
+ code: KAP
1055
1070
  unofficial_names:
1056
1071
  - Kapesa
1057
1072
  - Kapisa
@@ -1119,9 +1134,10 @@ KAP:
1119
1134
  pa: ਕਾਪੀਸਾ
1120
1135
  'no': Kapisa
1121
1136
  comments:
1137
+ type: province
1122
1138
  KDZ:
1123
1139
  name: Kondoz [Kunduz]
1124
- code:
1140
+ code: KDZ
1125
1141
  unofficial_names:
1126
1142
  - Kondoz
1127
1143
  - Kondūz
@@ -1191,9 +1207,10 @@ KDZ:
1191
1207
  ccp: "\U00011107\U0001112A\U0001111A\U00011134\U00011113\U0001112A\U0001110C\U00011134"
1192
1208
  'no': Kunduz
1193
1209
  comments:
1210
+ type: province
1194
1211
  KHO:
1195
1212
  name: Khowst
1196
- code:
1213
+ code: KHO
1197
1214
  unofficial_names:
1198
1215
  - H̱ōst
1199
1216
  - Khawst
@@ -1264,9 +1281,10 @@ KHO:
1264
1281
  pa: ਖੋਸਤ
1265
1282
  'no': Khost
1266
1283
  comments:
1284
+ type: province
1267
1285
  KNR:
1268
1286
  name: Konar [Kunar]
1269
- code:
1287
+ code: KNR
1270
1288
  unofficial_names:
1271
1289
  - Konar
1272
1290
  - Konarhā
@@ -1332,9 +1350,10 @@ KNR:
1332
1350
  pa: ਕੁਨੜ ਸੂਬਾ
1333
1351
  'no': Konar
1334
1352
  comments:
1353
+ type: province
1335
1354
  LAG:
1336
1355
  name: Laghman
1337
- code:
1356
+ code: LAG
1338
1357
  unofficial_names:
1339
1358
  - Laghman
1340
1359
  - Laghmān
@@ -1401,28 +1420,78 @@ LAG:
1401
1420
  pa: ਲਗਮਾਨ
1402
1421
  'no': Laghman
1403
1422
  comments:
1404
- LOW:
1405
- name: Lowgar
1406
- code:
1423
+ type: province
1424
+ LOG:
1425
+ name: لوګر ولايت
1426
+ code: LOG
1407
1427
  unofficial_names:
1408
- - Lawgar
1409
- - Logar
1410
- - Loghar
1411
- - Lowgar
1412
- - Lowghar
1413
1428
  geo:
1414
- latitude: 34.0145518
1415
- longitude: 69.1923916
1416
- min_latitude: 33.602526
1417
- min_longitude: 68.716335
1418
- max_latitude: 34.366983
1419
- max_longitude: 69.8876531
1429
+ latitude:
1430
+ longitude:
1431
+ min_latitude:
1432
+ min_longitude:
1433
+ max_latitude:
1434
+ max_longitude:
1420
1435
  translations:
1421
- en: Lowgar
1436
+ ar: ولاية لوكر
1437
+ az: Lövgər vilayəti
1438
+ be: Правінцыя Лагар
1439
+ bg: Логар
1440
+ bn: লগার
1441
+ ca: Província de Lowgar
1442
+ cs: Lógar
1443
+ da: Lowgar
1444
+ de: Lugar
1445
+ el: Λογκάρ
1446
+ en: Logar
1447
+ es: Provincia de Lawgar
1448
+ et: Lowgari provints
1449
+ eu: Logar probintzia
1450
+ fa: ولایت لوگر
1451
+ fi: Logarin maakunta
1452
+ fr: Lôgar
1453
+ gu: લોગર
1454
+ he: לוגר
1455
+ hi: लोगर प्रान्त
1456
+ id: Logar
1457
+ it: Lowgar
1458
+ ja: ローガル州
1459
+ ka: ლოგარის პროვინცია
1460
+ kn: ಲೋಗರ್
1461
+ ko: 로가르 주
1462
+ lt: Logaro provincija
1463
+ mn: Логар аймаг
1464
+ mr: लोंगर
1465
+ ms: Wilayah Logar
1466
+ nb: Lowgar
1467
+ nl: Logar
1468
+ pl: Logar
1469
+ ps: لوګر ولايت
1470
+ pt: Logar
1471
+ ro: Provincia Logar
1472
+ ru: Логар
1473
+ si: ලොගාර්
1474
+ sr: Провинција Логар
1475
+ sv: Lowgar
1476
+ ta: லோகர்
1477
+ te: లోగర్
1478
+ th: แคว้นโลเรโต
1479
+ tr: Lovgar Vilayeti
1480
+ uk: Логар
1481
+ ur: صوبہ لوگر
1482
+ vi: Logar
1483
+ lv: Lougara
1484
+ ceb: Wilāyat-e Lōgar
1485
+ sr_Latn: Provincija Logar
1486
+ zh: 洛加尔省
1487
+ ccp: "\U00011123\U00011127\U00011109\U00011122\U00011134"
1488
+ uz: Luvgar
1489
+ 'no': Lowgar
1422
1490
  comments:
1491
+ type: province
1423
1492
  NAN:
1424
1493
  name: Nangrahar [Nangarhar]
1425
- code:
1494
+ code: NAN
1426
1495
  unofficial_names:
1427
1496
  - Nangarhar
1428
1497
  - Ningarhar
@@ -1490,9 +1559,10 @@ NAN:
1490
1559
  pa: ਨੰਗਰਹਾਰ ਸੂਬਾ
1491
1560
  'no': Nangarhar
1492
1561
  comments:
1562
+ type: province
1493
1563
  NIM:
1494
1564
  name: Nimruz
1495
- code:
1565
+ code: NIM
1496
1566
  unofficial_names:
1497
1567
  - Chakhānsur
1498
1568
  - Neemroze
@@ -1562,9 +1632,10 @@ NIM:
1562
1632
  pa: ਨੀਮਰੋਜ਼ ਸੂਬਾ
1563
1633
  'no': Nimruz
1564
1634
  comments:
1635
+ type: province
1565
1636
  NUR:
1566
1637
  name: Nurestan
1567
- code:
1638
+ code: NUR
1568
1639
  unofficial_names:
1569
1640
  - Nooristan
1570
1641
  - Nouristan
@@ -1635,29 +1706,10 @@ NUR:
1635
1706
  uz: Nuriston
1636
1707
  'no': Nuristān
1637
1708
  comments:
1638
- ORU:
1639
- name: Oruzgan [Uruzgan]
1640
- code:
1641
- unofficial_names:
1642
- - Oruzgan
1643
- - Oruzghan
1644
- - Orūzghān
1645
- - Uruzgan
1646
- - Uruzghan
1647
- - Urūzghān
1648
- geo:
1649
- latitude: 32.93021
1650
- longitude: 66.63642899999999
1651
- min_latitude:
1652
- min_longitude:
1653
- max_latitude:
1654
- max_longitude:
1655
- translations:
1656
- en: Oruzgan [Uruzgan]
1657
- comments:
1709
+ type: province
1658
1710
  PAN:
1659
1711
  name: Panjshir
1660
- code:
1712
+ code: PAN
1661
1713
  unofficial_names:
1662
1714
  - Panjshir
1663
1715
  geo:
@@ -1713,9 +1765,10 @@ PAN:
1713
1765
  pa: ਪੰਜਸ਼ਿਰ
1714
1766
  'no': Panjshir
1715
1767
  comments:
1768
+ type: province
1716
1769
  PAR:
1717
1770
  name: Parwan
1718
- code:
1771
+ code: PAR
1719
1772
  unofficial_names:
1720
1773
  - Parvan
1721
1774
  - Parvān
@@ -1783,9 +1836,10 @@ PAR:
1783
1836
  pa: ਪਰਵਾਨ
1784
1837
  'no': Parvan
1785
1838
  comments:
1839
+ type: province
1786
1840
  PIA:
1787
1841
  name: Paktia
1788
- code:
1842
+ code: PIA
1789
1843
  unofficial_names:
1790
1844
  - Paktia
1791
1845
  - Paktiya
@@ -1852,9 +1906,10 @@ PIA:
1852
1906
  pa: ਪਕਤੀਆ
1853
1907
  'no': Paktia
1854
1908
  comments:
1909
+ type: province
1855
1910
  PKA:
1856
1911
  name: Paktika
1857
- code:
1912
+ code: PKA
1858
1913
  unofficial_names:
1859
1914
  - Paktika
1860
1915
  geo:
@@ -1919,9 +1974,10 @@ PKA:
1919
1974
  pa: ਪਕਤੀਕਾ
1920
1975
  'no': Paktika
1921
1976
  comments:
1977
+ type: province
1922
1978
  SAM:
1923
1979
  name: Samangan
1924
- code:
1980
+ code: SAM
1925
1981
  unofficial_names: Samangan
1926
1982
  geo:
1927
1983
  latitude: 35.9807296
@@ -1986,9 +2042,10 @@ SAM:
1986
2042
  pa: ਸਮੰਗਾਨ ਸੂਬਾ
1987
2043
  'no': Samangan
1988
2044
  comments:
2045
+ type: province
1989
2046
  SAR:
1990
2047
  name: Sar-e Pol
1991
- code:
2048
+ code: SAR
1992
2049
  unofficial_names:
1993
2050
  - Sar-e Pol
1994
2051
  - Sar-i Pol
@@ -2055,9 +2112,10 @@ SAR:
2055
2112
  pa: ਸਰੇ ਪੋਲ
2056
2113
  'no': Sar-e Pol
2057
2114
  comments:
2115
+ type: province
2058
2116
  TAK:
2059
2117
  name: Takhar
2060
- code:
2118
+ code: TAK
2061
2119
  unofficial_names:
2062
2120
  - Tahar
2063
2121
  - Takhar
@@ -2125,9 +2183,78 @@ TAK:
2125
2183
  pa: ਤਖਾਰ ਸੂਬਾ
2126
2184
  'no': Takhar
2127
2185
  comments:
2186
+ type: province
2187
+ URU:
2188
+ name: روزګان ولايت
2189
+ code: URU
2190
+ unofficial_names:
2191
+ geo:
2192
+ latitude:
2193
+ longitude:
2194
+ min_latitude:
2195
+ min_longitude:
2196
+ max_latitude:
2197
+ max_longitude:
2198
+ translations:
2199
+ ar: ولاية أروزكان
2200
+ az: Uruzgan
2201
+ be: Правінцыя Урузган
2202
+ bg: Орузган
2203
+ bn: ওরুজ্‌গন প্রদেশ
2204
+ ca: Província d’Oruzgan
2205
+ cs: Orúzgán
2206
+ da: Oruzgan
2207
+ de: Urusgan
2208
+ el: Ορουζγκάν
2209
+ en: Urozgan
2210
+ es: Provincia de Urūzgān
2211
+ et: Uruzgāni provints
2212
+ eu: Oruzgan probintzia
2213
+ fa: ولایت اروزگان
2214
+ fi: Uruzganin maakunta
2215
+ fr: Orozgân
2216
+ gu: ઉરોઝગન
2217
+ hi: ओरूज़्गान प्रान्त
2218
+ id: Provinsi Oruzgan
2219
+ it: Oruzgan
2220
+ ja: ウルーズガーン州
2221
+ ka: ურუზგანის პროვინცია
2222
+ kn: ಉರೊಜ್ಗನ್
2223
+ ko: 우루즈간 주
2224
+ lt: Urozgano provincija
2225
+ mn: Урузган аймаг
2226
+ mr: उरोजगण
2227
+ ms: Urozgan
2228
+ nb: Uruzgan
2229
+ nl: Uruzgan
2230
+ pl: Oruzgan
2231
+ ps: روزګان ولايت
2232
+ pt: Oruzgan
2233
+ ro: Provincia Urozgan
2234
+ ru: Урузган
2235
+ si: උරෝස්ගන්
2236
+ sr: Провинција Орузган
2237
+ sv: Oruzgan
2238
+ ta: உரோஸ்க்கான்
2239
+ te: యూరోజ్గాన్
2240
+ th: จังหวัดอูรานกัน
2241
+ tr: Uruzgan Vilayeti
2242
+ uk: Урузган
2243
+ ur: اروزگان
2244
+ vi: Oruzgan
2245
+ lv: Orūzgānas province
2246
+ ceb: Uruzgān
2247
+ sr_Latn: Provincija Oruzgan
2248
+ zh: 乌鲁兹甘省
2249
+ ccp: "\U00011105\U0001112A\U00011122\U00011127\U0001110C\U00011134\U00011109\U00011127\U0001111A\U00011134"
2250
+ pa: ਓਰੁਜਗਾਨ ਸੂਬਾ
2251
+ ml: ഉറോസ്ഗാൻ പ്രവിശ്യ
2252
+ 'no': Uruzgan
2253
+ comments:
2254
+ type: province
2128
2255
  WAR:
2129
2256
  name: Wardak [Wardag]
2130
- code:
2257
+ code: WAR
2131
2258
  unofficial_names:
2132
2259
  - Vardak
2133
2260
  - Wardagh
@@ -2194,9 +2321,10 @@ WAR:
2194
2321
  pa: ਵਾਰਦਾਕ
2195
2322
  'no': Vardak
2196
2323
  comments:
2324
+ type: province
2197
2325
  ZAB:
2198
2326
  name: Zabol [Zabul]
2199
- code:
2327
+ code: ZAB
2200
2328
  unofficial_names:
2201
2329
  - Zabol
2202
2330
  - Zabul
@@ -2263,137 +2391,4 @@ ZAB:
2263
2391
  pa: ਜ਼ਾਬੁਲ ਸੂਬਾ
2264
2392
  'no': Zabol
2265
2393
  comments:
2266
- LOG:
2267
- name: لوګر ولايت
2268
- code:
2269
- unofficial_names:
2270
- geo:
2271
- latitude:
2272
- longitude:
2273
- min_latitude:
2274
- min_longitude:
2275
- max_latitude:
2276
- max_longitude:
2277
- translations:
2278
- ar: ولاية لوكر
2279
- az: Lövgər vilayəti
2280
- be: Правінцыя Лагар
2281
- bg: Логар
2282
- bn: লগার
2283
- ca: Província de Lowgar
2284
- cs: Lógar
2285
- da: Lowgar
2286
- de: Lugar
2287
- el: Λογκάρ
2288
- en: Logar
2289
- es: Provincia de Lawgar
2290
- et: Lowgari provints
2291
- eu: Logar probintzia
2292
- fa: ولایت لوگر
2293
- fi: Logarin maakunta
2294
- fr: Lôgar
2295
- gu: લોગર
2296
- he: לוגר
2297
- hi: लोगर प्रान्त
2298
- id: Logar
2299
- it: Lowgar
2300
- ja: ローガル州
2301
- ka: ლოგარის პროვინცია
2302
- kn: ಲೋಗರ್
2303
- ko: 로가르 주
2304
- lt: Logaro provincija
2305
- mn: Логар аймаг
2306
- mr: लोंगर
2307
- ms: Wilayah Logar
2308
- nb: Lowgar
2309
- nl: Logar
2310
- pl: Logar
2311
- ps: لوګر ولايت
2312
- pt: Logar
2313
- ro: Provincia Logar
2314
- ru: Логар
2315
- si: ලොගාර්
2316
- sr: Провинција Логар
2317
- sv: Lowgar
2318
- ta: லோகர்
2319
- te: లోగర్
2320
- th: แคว้นโลเรโต
2321
- tr: Lovgar Vilayeti
2322
- uk: Логар
2323
- ur: صوبہ لوگر
2324
- vi: Logar
2325
- lv: Lougara
2326
- ceb: Wilāyat-e Lōgar
2327
- sr_Latn: Provincija Logar
2328
- zh: 洛加尔省
2329
- ccp: "\U00011123\U00011127\U00011109\U00011122\U00011134"
2330
- uz: Luvgar
2331
- 'no': Lowgar
2332
- comments:
2333
- URU:
2334
- name: روزګان ولايت
2335
- code:
2336
- unofficial_names:
2337
- geo:
2338
- latitude:
2339
- longitude:
2340
- min_latitude:
2341
- min_longitude:
2342
- max_latitude:
2343
- max_longitude:
2344
- translations:
2345
- ar: ولاية أروزكان
2346
- az: Uruzgan
2347
- be: Правінцыя Урузган
2348
- bg: Орузган
2349
- bn: ওরুজ্‌গন প্রদেশ
2350
- ca: Província d’Oruzgan
2351
- cs: Orúzgán
2352
- da: Oruzgan
2353
- de: Urusgan
2354
- el: Ορουζγκάν
2355
- en: Urozgan
2356
- es: Provincia de Urūzgān
2357
- et: Uruzgāni provints
2358
- eu: Oruzgan probintzia
2359
- fa: ولایت اروزگان
2360
- fi: Uruzganin maakunta
2361
- fr: Orozgân
2362
- gu: ઉરોઝગન
2363
- hi: ओरूज़्गान प्रान्त
2364
- id: Provinsi Oruzgan
2365
- it: Oruzgan
2366
- ja: ウルーズガーン州
2367
- ka: ურუზგანის პროვინცია
2368
- kn: ಉರೊಜ್ಗನ್
2369
- ko: 우루즈간 주
2370
- lt: Urozgano provincija
2371
- mn: Урузган аймаг
2372
- mr: उरोजगण
2373
- ms: Urozgan
2374
- nb: Uruzgan
2375
- nl: Uruzgan
2376
- pl: Oruzgan
2377
- ps: روزګان ولايت
2378
- pt: Oruzgan
2379
- ro: Provincia Urozgan
2380
- ru: Урузган
2381
- si: උරෝස්ගන්
2382
- sr: Провинција Орузган
2383
- sv: Oruzgan
2384
- ta: உரோஸ்க்கான்
2385
- te: యూరోజ్గాన్
2386
- th: จังหวัดอูรานกัน
2387
- tr: Uruzgan Vilayeti
2388
- uk: Урузган
2389
- ur: اروزگان
2390
- vi: Oruzgan
2391
- lv: Orūzgānas province
2392
- ceb: Uruzgān
2393
- sr_Latn: Provincija Oruzgan
2394
- zh: 乌鲁兹甘省
2395
- ccp: "\U00011105\U0001112A\U00011122\U00011127\U0001110C\U00011134\U00011109\U00011127\U0001111A\U00011134"
2396
- pa: ਓਰੁਜਗਾਨ ਸੂਬਾ
2397
- ml: ഉറോസ്ഗാൻ പ്രവിശ്യ
2398
- 'no': Uruzgan
2399
- comments:
2394
+ type: province