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
  CE:
3
3
  name: Central
4
- code:
4
+ code: CE
5
5
  unofficial_names: Central
6
6
  geo:
7
7
  latitude: -21.1672276
@@ -58,9 +58,196 @@ CE:
58
58
  mk: Централен округ
59
59
  'no': Central
60
60
  comments:
61
+ type: district
62
+ CH:
63
+ name: Chobe
64
+ code: CH
65
+ unofficial_names:
66
+ geo:
67
+ latitude:
68
+ longitude:
69
+ min_latitude:
70
+ min_longitude:
71
+ max_latitude:
72
+ max_longitude:
73
+ translations:
74
+ de: Chobe District
75
+ en: Chobe
76
+ es: Distrito Chobe
77
+ fr: Chobe
78
+ it: Distretto di Chobe
79
+ ja: チョベ地区
80
+ nb: Chobe
81
+ sv: Chobe
82
+ ur: چوبے ضلع
83
+ zh: 乔贝区
84
+ ccp: "\U00011107\U0001112E\U0001111D\U0001112C"
85
+ 'no': Chobe
86
+ comments:
87
+ type: district
88
+ FR:
89
+ name: Francistown
90
+ code: FR
91
+ unofficial_names:
92
+ geo:
93
+ latitude:
94
+ longitude:
95
+ min_latitude:
96
+ min_longitude:
97
+ max_latitude:
98
+ max_longitude:
99
+ translations:
100
+ af: Francistown
101
+ ar: فرانسيس
102
+ az: Frensistaun
103
+ be: Горад Франсістаўн
104
+ bg: Франсистаун
105
+ bn: ফ্রাঞ্চিসটাউন
106
+ da: Francistown
107
+ de: Francistown
108
+ el: Φράνσισταουν
109
+ en: Francistown
110
+ es: Francistown
111
+ et: Francistown
112
+ fa: فرانسیستوون، بوتسوانا
113
+ fi: Francistown
114
+ fr: Francistown
115
+ gu: ફ્રાન્સિસટાઉન
116
+ he: פרנסיסטאון
117
+ hi: फ्रांसिसटाउन
118
+ hr: Francistown
119
+ id: Francistown
120
+ it: Francistown
121
+ ja: フランシスタウン
122
+ ka: ფრანსისთაუნი
123
+ kn: ಫ್ರಾನ್ಸಿಸ್ಟೌನ್
124
+ ko: 프랜시스타운
125
+ lt: Frensistaunas
126
+ mr: फ्रॅन्सिसटाउन
127
+ ms: Francistown
128
+ nb: Francistown
129
+ nl: Francistown
130
+ pl: Francistown
131
+ pt: Francistown
132
+ ro: Francistown
133
+ ru: Франсистаун
134
+ si: ෆ්‍රැන්සිස්ටවුන්
135
+ sv: Francistown
136
+ ta: பிரான்சீஸ்நகரம்
137
+ te: ఫ్రాన్సిస్‌టౌన్
138
+ th: แฟรนซิสทาวน์
139
+ tr: Francistown
140
+ uk: Франсистаун
141
+ ur: فرانسس ٹاؤن
142
+ vi: Francistown
143
+ lv: Frensistauna
144
+ ceb: Francistown
145
+ zh: 弗朗西斯敦
146
+ ccp: "\U0001111C\U00011133\U00011122\U0001111A\U00011134\U00011125\U00011128\U0001110C\U00011134\U00011111\U00011105\U0001112A\U0001111A\U00011134"
147
+ cs: Francistown
148
+ ca: Francistown
149
+ mk: Франсистаун
150
+ 'no': Francistown
151
+ comments:
152
+ type: city
153
+ GA:
154
+ name: Gaborone
155
+ code: GA
156
+ unofficial_names:
157
+ geo:
158
+ latitude:
159
+ longitude:
160
+ min_latitude:
161
+ min_longitude:
162
+ max_latitude:
163
+ max_longitude:
164
+ translations:
165
+ af: Gaborone
166
+ am: ጋበሮኔ
167
+ ar: جابورون
168
+ az: Qaborone
169
+ be: Горад Габаронэ
170
+ bg: Габороне
171
+ bn: গ্যাবোরোন
172
+ ca: Gaborone
173
+ cs: Gaborone
174
+ da: Gaborone
175
+ de: Gaborone
176
+ el: Γκαμπορόνε
177
+ en: Gaborone
178
+ es: Gaborone
179
+ et: Gaborone
180
+ eu: Gaborone
181
+ fa: گابورون
182
+ fi: Gaborone
183
+ fr: Gaborone
184
+ gl: Gaborone
185
+ gu: ગૅબરોન
186
+ he: גאבורון
187
+ hi: गोबोर्नी
188
+ hr: Gaborone
189
+ hu: Gaborone
190
+ hy: Գաբորոնե
191
+ id: Gaborone
192
+ is: Gaboróne
193
+ it: Gaborone
194
+ ja: ハボローネ
195
+ ka: გაბორონე
196
+ kn: ಗೆಬರೋನ್
197
+ ko: 가보로네
198
+ lt: Gaboronas
199
+ lv: Gaborone
200
+ mn: Габороне
201
+ mr: गॅबारोनी
202
+ ms: Gaborone
203
+ nb: Gaborone
204
+ nl: Gaborone
205
+ pl: Gaborone
206
+ pt: Gaborone
207
+ ro: Gaborone
208
+ ru: Габороне
209
+ si: ගැබරෝන්
210
+ sk: Gaborone
211
+ sl: Gaborone
212
+ sr: Габороне
213
+ sv: Gaborone
214
+ sw: Gaborone
215
+ ta: காபரோனி
216
+ te: గాబరోనె
217
+ th: กาโบโรเน
218
+ tk: Gabaron
219
+ tr: Gaborone
220
+ uk: Габороне
221
+ ur: گبرون
222
+ vi: Gaborone
223
+ cy: Gaborone
224
+ ceb: Gaborone
225
+ sr_Latn: Gaborone
226
+ zh: 嘉柏隆里
227
+ yue_Hans: 嘉波隆里
228
+ jv: Gaborone
229
+ sq: Gaborone
230
+ ccp: "\U00011109\U00011133\U00011120\U0001111D\U00011127\U00011122\U00011127\U0001111A\U00011134"
231
+ ga: Gaborone
232
+ ky: Габороне
233
+ ha: Gaborone
234
+ so: Gaborone
235
+ pa: ਗਾਬੋਰੋਨੀ
236
+ ml: ഗാബറോൺ
237
+ yue: 嘉波隆里
238
+ yo: Gaborone
239
+ zu: IGaborone
240
+ uz: Gaborone
241
+ bs: Gaborone
242
+ mk: Габороне
243
+ ha_NE: Gaborone
244
+ 'no': Gaborone
245
+ yo_BJ: Gaborone
246
+ comments:
247
+ type: city
61
248
  GH:
62
249
  name: Ghanzi
63
- code:
250
+ code: GH
64
251
  unofficial_names:
65
252
  - Ghansi
66
253
  - Khanzi
@@ -119,9 +306,67 @@ GH:
119
306
  mk: Ганзи
120
307
  'no': Ghanzi
121
308
  comments:
309
+ type: district
310
+ JW:
311
+ name: Jwaneng
312
+ code: JW
313
+ unofficial_names:
314
+ geo:
315
+ latitude:
316
+ longitude:
317
+ min_latitude:
318
+ min_longitude:
319
+ max_latitude:
320
+ max_longitude:
321
+ translations:
322
+ af: Jwaneng
323
+ ar: غوانينغ
324
+ bn: জোওনেং
325
+ da: Jwaneng
326
+ de: Jwaneng
327
+ el: Τζουανένγκ
328
+ en: Jwaneng
329
+ es: Jwaneng
330
+ fa: یواننگ، بوتسوانا
331
+ fi: Jwaneng
332
+ fr: Jwaneng
333
+ gu: જ્વાનેંગ
334
+ hi: ज्वानेंग
335
+ id: Jwaneng
336
+ it: Jwaneng
337
+ ja: ジュワネン
338
+ kn: ಜ್ವಾಂಗ್ಂಗ್
339
+ ko: 주아넹
340
+ mr: जुवानेंग
341
+ ms: Jwaneng
342
+ nb: Jwaneng
343
+ nl: Jwaneng
344
+ pl: Jwaneng
345
+ pt: Jwaneng
346
+ ro: Jwaneng
347
+ ru: Джваненг
348
+ si: ජෙවන්නේන්ග්
349
+ sv: Jwaneng
350
+ ta: ஜவானிங்
351
+ te: జ్వానెంగ్
352
+ th: จวาเนง
353
+ tr: Jwaneng
354
+ ur: جوانینگ
355
+ vi: Jwaneng
356
+ lv: Džavanenga
357
+ ceb: Jwaneng
358
+ lt: Džvanengas
359
+ zh: 朱瓦能
360
+ ccp: "\U0001110E\U00011133\U0001111D\U00011127\U0001111A\U0001112C\U00011101"
361
+ uk: Джваненг
362
+ az: Cvanenq
363
+ ca: Jwaneng
364
+ 'no': Jwaneng
365
+ comments:
366
+ type: town
122
367
  KG:
123
368
  name: Kgalagadi
124
- code:
369
+ code: KG
125
370
  unofficial_names: Kgalagadi
126
371
  geo:
127
372
  latitude: -24.7550285
@@ -178,9 +423,10 @@ KG:
178
423
  mk: Кгалагади
179
424
  'no': Kgalagadi
180
425
  comments:
426
+ type: district
181
427
  KL:
182
428
  name: Kgatleng
183
- code:
429
+ code: KL
184
430
  unofficial_names: Kgatleng
185
431
  geo:
186
432
  latitude: -24.1970445
@@ -238,9 +484,10 @@ KL:
238
484
  mk: Кгатленг
239
485
  'no': Kgatleng
240
486
  comments:
487
+ type: district
241
488
  KW:
242
489
  name: Kweneng
243
- code:
490
+ code: KW
244
491
  unofficial_names: Kweneng
245
492
  geo:
246
493
  latitude: -23.8367249
@@ -297,21 +544,82 @@ KW:
297
544
  mk: Квененг
298
545
  'no': Kweneng
299
546
  comments:
300
- NE:
301
- name: North-East
302
- code:
303
- unofficial_names: North-East
547
+ type: district
548
+ LO:
549
+ name: Lobatse
550
+ code: LO
551
+ unofficial_names:
304
552
  geo:
305
- latitude: -20.9030555
306
- longitude: 27.4556388
307
- min_latitude: -21.571556
308
- min_longitude: 27.2119901
309
- max_latitude: -20.473381
310
- max_longitude: 28.013578
553
+ latitude:
554
+ longitude:
555
+ min_latitude:
556
+ min_longitude:
557
+ max_latitude:
558
+ max_longitude:
311
559
  translations:
312
- en: North East
313
- af: Noord-Oos distrik, Botswana
314
- ar: مقاطعة الشمال الشرقي
560
+ af: Lobatse
561
+ ar: لوباتس
562
+ bg: Лобаце
563
+ bn: লোবাৎসে
564
+ da: Lobatse
565
+ de: Lobatse
566
+ el: Λομπάτσε
567
+ en: Lobatse
568
+ es: Lobatse
569
+ et: Lobatse
570
+ fa: لوباتس، بوتسوانا
571
+ fi: Lobatse
572
+ fr: Lobatse
573
+ gu: લોબેટ્સ
574
+ hi: लोबात्से
575
+ hr: Lobatse
576
+ hu: Lobatse
577
+ id: Lobatse
578
+ it: Lobatse
579
+ ja: ロバツェ
580
+ kn: ಲೊಬಾಟ್ಸೆ
581
+ ko: 로바체
582
+ mr: लोबेटे
583
+ ms: Lobatse
584
+ nb: Lobatse
585
+ nl: Lobatse
586
+ pl: Lobatse
587
+ pt: Lobatse
588
+ ro: Lobatse
589
+ ru: Лобаце
590
+ si: ලොබට්සේ
591
+ sv: Lobatse
592
+ ta: லோபட்ஸ்
593
+ te: లోబాట్సే
594
+ th: เมืองโลบัตเซ
595
+ tr: Lobatse
596
+ ur: لوباٹسے
597
+ vi: Lobatse
598
+ lv: Lobatse
599
+ ceb: Lobatse
600
+ lt: Lobatsė
601
+ zh: 洛巴策
602
+ ccp: "\U00011122\U00011127\U0001111D\U00011116\U00011134\U00011125\U0001112C"
603
+ uk: Лобаце
604
+ ca: Lobatse
605
+ 'no': Lobatse
606
+ comments:
607
+ type: town
608
+ NE:
609
+ name: North-East
610
+ code: NE
611
+ unofficial_names: North-East
612
+ geo:
613
+ latitude: -20.9030555
614
+ longitude: 27.4556388
615
+ min_latitude: -21.571556
616
+ min_longitude: 27.2119901
617
+ max_latitude: -20.473381
618
+ max_longitude: 28.013578
619
+ translations:
620
+ en: North East
621
+ af: Noord-Oos distrik, Botswana
622
+ ar: مقاطعة الشمال الشرقي
315
623
  be: Паўночна-усходняя акруга, Батсвана
316
624
  bn: নর্থ-ইস্ট জেলা
317
625
  da: North-East District
@@ -356,9 +664,10 @@ NE:
356
664
  mk: Североисточен округ
357
665
  'no': North-East
358
666
  comments:
667
+ type: district
359
668
  NW:
360
669
  name: North-West
361
- code:
670
+ code: NW
362
671
  unofficial_names: North-West
363
672
  geo:
364
673
  latitude: -19.1905321
@@ -416,9 +725,10 @@ NW:
416
725
  mk: Северозападен округ
417
726
  'no': North-West
418
727
  comments:
728
+ type: district
419
729
  SE:
420
730
  name: South-East
421
- code:
731
+ code: SE
422
732
  unofficial_names: South-East
423
733
  geo:
424
734
  latitude: -24.9366094
@@ -476,9 +786,10 @@ SE:
476
786
  mk: Југоисточен округ
477
787
  'no': South-East
478
788
  comments:
789
+ type: district
479
790
  SO:
480
791
  name: Southern
481
- code:
792
+ code: SO
482
793
  unofficial_names: Southern
483
794
  geo:
484
795
  latitude: -24.823384
@@ -536,282 +847,10 @@ SO:
536
847
  mk: Јужен округ
537
848
  'no': Southern
538
849
  comments:
539
- FR:
540
- name: Francistown
541
- code:
542
- unofficial_names:
543
- geo:
544
- latitude:
545
- longitude:
546
- min_latitude:
547
- min_longitude:
548
- max_latitude:
549
- max_longitude:
550
- translations:
551
- af: Francistown
552
- ar: فرانسيس
553
- az: Frensistaun
554
- be: Горад Франсістаўн
555
- bg: Франсистаун
556
- bn: ফ্রাঞ্চিসটাউন
557
- da: Francistown
558
- de: Francistown
559
- el: Φράνσισταουν
560
- en: Francistown
561
- es: Francistown
562
- et: Francistown
563
- fa: فرانسیستوون، بوتسوانا
564
- fi: Francistown
565
- fr: Francistown
566
- gu: ફ્રાન્સિસટાઉન
567
- he: פרנסיסטאון
568
- hi: फ्रांसिसटाउन
569
- hr: Francistown
570
- id: Francistown
571
- it: Francistown
572
- ja: フランシスタウン
573
- ka: ფრანსისთაუნი
574
- kn: ಫ್ರಾನ್ಸಿಸ್ಟೌನ್
575
- ko: 프랜시스타운
576
- lt: Frensistaunas
577
- mr: फ्रॅन्सिसटाउन
578
- ms: Francistown
579
- nb: Francistown
580
- nl: Francistown
581
- pl: Francistown
582
- pt: Francistown
583
- ro: Francistown
584
- ru: Франсистаун
585
- si: ෆ්‍රැන්සිස්ටවුන්
586
- sv: Francistown
587
- ta: பிரான்சீஸ்நகரம்
588
- te: ఫ్రాన్సిస్‌టౌన్
589
- th: แฟรนซิสทาวน์
590
- tr: Francistown
591
- uk: Франсистаун
592
- ur: فرانسس ٹاؤن
593
- vi: Francistown
594
- lv: Frensistauna
595
- ceb: Francistown
596
- zh: 弗朗西斯敦
597
- ccp: "\U0001111C\U00011133\U00011122\U0001111A\U00011134\U00011125\U00011128\U0001110C\U00011134\U00011111\U00011105\U0001112A\U0001111A\U00011134"
598
- cs: Francistown
599
- ca: Francistown
600
- mk: Франсистаун
601
- 'no': Francistown
602
- comments:
603
- GA:
604
- name: Gaborone
605
- code:
606
- unofficial_names:
607
- geo:
608
- latitude:
609
- longitude:
610
- min_latitude:
611
- min_longitude:
612
- max_latitude:
613
- max_longitude:
614
- translations:
615
- af: Gaborone
616
- am: ጋበሮኔ
617
- ar: جابورون
618
- az: Qaborone
619
- be: Горад Габаронэ
620
- bg: Габороне
621
- bn: গ্যাবোরোন
622
- ca: Gaborone
623
- cs: Gaborone
624
- da: Gaborone
625
- de: Gaborone
626
- el: Γκαμπορόνε
627
- en: Gaborone
628
- es: Gaborone
629
- et: Gaborone
630
- eu: Gaborone
631
- fa: گابورون
632
- fi: Gaborone
633
- fr: Gaborone
634
- gl: Gaborone
635
- gu: ગૅબરોન
636
- he: גאבורון
637
- hi: गोबोर्नी
638
- hr: Gaborone
639
- hu: Gaborone
640
- hy: Գաբորոնե
641
- id: Gaborone
642
- is: Gaboróne
643
- it: Gaborone
644
- ja: ハボローネ
645
- ka: გაბორონე
646
- kn: ಗೆಬರೋನ್
647
- ko: 가보로네
648
- lt: Gaboronas
649
- lv: Gaborone
650
- mn: Габороне
651
- mr: गॅबारोनी
652
- ms: Gaborone
653
- nb: Gaborone
654
- nl: Gaborone
655
- pl: Gaborone
656
- pt: Gaborone
657
- ro: Gaborone
658
- ru: Габороне
659
- si: ගැබරෝන්
660
- sk: Gaborone
661
- sl: Gaborone
662
- sr: Габороне
663
- sv: Gaborone
664
- sw: Gaborone
665
- ta: காபரோனி
666
- te: గాబరోనె
667
- th: กาโบโรเน
668
- tk: Gabaron
669
- tr: Gaborone
670
- uk: Габороне
671
- ur: گبرون
672
- vi: Gaborone
673
- cy: Gaborone
674
- ceb: Gaborone
675
- sr_Latn: Gaborone
676
- zh: 嘉柏隆里
677
- yue_Hans: 嘉波隆里
678
- jv: Gaborone
679
- sq: Gaborone
680
- ccp: "\U00011109\U00011133\U00011120\U0001111D\U00011127\U00011122\U00011127\U0001111A\U00011134"
681
- ga: Gaborone
682
- ky: Габороне
683
- ha: Gaborone
684
- so: Gaborone
685
- pa: ਗਾਬੋਰੋਨੀ
686
- ml: ഗാബറോൺ
687
- yue: 嘉波隆里
688
- yo: Gaborone
689
- zu: IGaborone
690
- uz: Gaborone
691
- bs: Gaborone
692
- mk: Габороне
693
- ha_NE: Gaborone
694
- 'no': Gaborone
695
- yo_BJ: Gaborone
696
- comments:
697
- JW:
698
- name: Jwaneng
699
- code:
700
- unofficial_names:
701
- geo:
702
- latitude:
703
- longitude:
704
- min_latitude:
705
- min_longitude:
706
- max_latitude:
707
- max_longitude:
708
- translations:
709
- af: Jwaneng
710
- ar: غوانينغ
711
- bn: জোওনেং
712
- da: Jwaneng
713
- de: Jwaneng
714
- el: Τζουανένγκ
715
- en: Jwaneng
716
- es: Jwaneng
717
- fa: یواننگ، بوتسوانا
718
- fi: Jwaneng
719
- fr: Jwaneng
720
- gu: જ્વાનેંગ
721
- hi: ज्वानेंग
722
- id: Jwaneng
723
- it: Jwaneng
724
- ja: ジュワネン
725
- kn: ಜ್ವಾಂಗ್ಂಗ್
726
- ko: 주아넹
727
- mr: जुवानेंग
728
- ms: Jwaneng
729
- nb: Jwaneng
730
- nl: Jwaneng
731
- pl: Jwaneng
732
- pt: Jwaneng
733
- ro: Jwaneng
734
- ru: Джваненг
735
- si: ජෙවන්නේන්ග්
736
- sv: Jwaneng
737
- ta: ஜவானிங்
738
- te: జ్వానెంగ్
739
- th: จวาเนง
740
- tr: Jwaneng
741
- ur: جوانینگ
742
- vi: Jwaneng
743
- lv: Džavanenga
744
- ceb: Jwaneng
745
- lt: Džvanengas
746
- zh: 朱瓦能
747
- ccp: "\U0001110E\U00011133\U0001111D\U00011127\U0001111A\U0001112C\U00011101"
748
- uk: Джваненг
749
- az: Cvanenq
750
- ca: Jwaneng
751
- 'no': Jwaneng
752
- comments:
753
- LO:
754
- name: Lobatse
755
- code:
756
- unofficial_names:
757
- geo:
758
- latitude:
759
- longitude:
760
- min_latitude:
761
- min_longitude:
762
- max_latitude:
763
- max_longitude:
764
- translations:
765
- af: Lobatse
766
- ar: لوباتس
767
- bg: Лобаце
768
- bn: লোবাৎসে
769
- da: Lobatse
770
- de: Lobatse
771
- el: Λομπάτσε
772
- en: Lobatse
773
- es: Lobatse
774
- et: Lobatse
775
- fa: لوباتس، بوتسوانا
776
- fi: Lobatse
777
- fr: Lobatse
778
- gu: લોબેટ્સ
779
- hi: लोबात्से
780
- hr: Lobatse
781
- hu: Lobatse
782
- id: Lobatse
783
- it: Lobatse
784
- ja: ロバツェ
785
- kn: ಲೊಬಾಟ್ಸೆ
786
- ko: 로바체
787
- mr: लोबेटे
788
- ms: Lobatse
789
- nb: Lobatse
790
- nl: Lobatse
791
- pl: Lobatse
792
- pt: Lobatse
793
- ro: Lobatse
794
- ru: Лобаце
795
- si: ලොබට්සේ
796
- sv: Lobatse
797
- ta: லோபட்ஸ்
798
- te: లోబాట్సే
799
- th: เมืองโลบัตเซ
800
- tr: Lobatse
801
- ur: لوباٹسے
802
- vi: Lobatse
803
- lv: Lobatse
804
- ceb: Lobatse
805
- lt: Lobatsė
806
- zh: 洛巴策
807
- ccp: "\U00011122\U00011127\U0001111D\U00011116\U00011134\U00011125\U0001112C"
808
- uk: Лобаце
809
- ca: Lobatse
810
- 'no': Lobatse
811
- comments:
850
+ type: district
812
851
  SP:
813
852
  name: Selibe Phikwe
814
- code:
853
+ code: SP
815
854
  unofficial_names:
816
855
  geo:
817
856
  latitude:
@@ -865,9 +904,10 @@ SP:
865
904
  ccp: "\U00011125\U0001112C\U00011123\U00011128\U0001111D\U0001112C \U0001111C\U00011128\U00011107\U0001112E\U00011120\U0001112C"
866
905
  'no': Selebi-Phikwe
867
906
  comments:
907
+ type: town
868
908
  ST:
869
909
  name: Sowa Town
870
- code:
910
+ code: ST
871
911
  unofficial_names:
872
912
  geo:
873
913
  latitude:
@@ -917,28 +957,4 @@ ST:
917
957
  ca: Sowa
918
958
  'no': Sowa
919
959
  comments:
920
- CH:
921
- name: Chobe
922
- code:
923
- unofficial_names:
924
- geo:
925
- latitude:
926
- longitude:
927
- min_latitude:
928
- min_longitude:
929
- max_latitude:
930
- max_longitude:
931
- translations:
932
- de: Chobe District
933
- en: Chobe
934
- es: Distrito Chobe
935
- fr: Chobe
936
- it: Distretto di Chobe
937
- ja: チョベ地区
938
- nb: Chobe
939
- sv: Chobe
940
- ur: چوبے ضلع
941
- zh: 乔贝区
942
- ccp: "\U00011107\U0001112E\U0001111D\U0001112C"
943
- 'no': Chobe
944
- comments:
960
+ type: town