countries 4.2.3 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/codeql-analysis.yml +70 -0
- data/.github/workflows/tests.yml +3 -7
- data/.rubocop.yml +40 -1
- data/.rubocop_todo.yml +8 -41
- data/CHANGELOG.md +35 -2
- data/Gemfile +5 -3
- data/README.markdown +56 -62
- data/Rakefile +21 -45
- data/UPGRADE.md +39 -0
- data/bin/console +1 -0
- data/countries.gemspec +7 -6
- data/lib/countries/cache/countries.json +1 -1
- data/lib/countries/cache/locales/ab.json +1 -1
- data/lib/countries/cache/locales/af.json +1 -1
- data/lib/countries/cache/locales/ak.json +1 -1
- data/lib/countries/cache/locales/am.json +1 -1
- data/lib/countries/cache/locales/an.json +1 -1
- data/lib/countries/cache/locales/ar.json +1 -1
- data/lib/countries/cache/locales/as.json +1 -1
- data/lib/countries/cache/locales/ay.json +1 -1
- data/lib/countries/cache/locales/az.json +1 -1
- data/lib/countries/cache/locales/ba.json +1 -1
- data/lib/countries/cache/locales/be.json +1 -1
- data/lib/countries/cache/locales/bg.json +1 -1
- data/lib/countries/cache/locales/bi.json +1 -1
- data/lib/countries/cache/locales/bn-in.json +1 -1
- data/lib/countries/cache/locales/bn.json +1 -1
- data/lib/countries/cache/locales/br.json +1 -1
- data/lib/countries/cache/locales/bs.json +1 -1
- data/lib/countries/cache/locales/ca.json +1 -1
- data/lib/countries/cache/locales/ce.json +1 -1
- data/lib/countries/cache/locales/ch.json +1 -1
- data/lib/countries/cache/locales/cs.json +1 -1
- data/lib/countries/cache/locales/cv.json +1 -1
- data/lib/countries/cache/locales/cy.json +1 -1
- data/lib/countries/cache/locales/da.json +1 -1
- data/lib/countries/cache/locales/de.json +1 -1
- data/lib/countries/cache/locales/dv.json +1 -1
- data/lib/countries/cache/locales/dz.json +1 -1
- data/lib/countries/cache/locales/ee.json +1 -1
- data/lib/countries/cache/locales/el.json +1 -1
- data/lib/countries/cache/locales/en.json +1 -1
- data/lib/countries/cache/locales/eo.json +1 -1
- data/lib/countries/cache/locales/es.json +1 -1
- data/lib/countries/cache/locales/et.json +1 -1
- data/lib/countries/cache/locales/eu.json +1 -1
- data/lib/countries/cache/locales/fa.json +1 -1
- data/lib/countries/cache/locales/ff.json +1 -1
- data/lib/countries/cache/locales/fi.json +1 -1
- data/lib/countries/cache/locales/fo.json +1 -1
- data/lib/countries/cache/locales/fr.json +1 -1
- data/lib/countries/cache/locales/fy.json +1 -1
- data/lib/countries/cache/locales/ga.json +1 -1
- data/lib/countries/cache/locales/gl.json +1 -1
- data/lib/countries/cache/locales/gn.json +1 -1
- data/lib/countries/cache/locales/gu.json +1 -1
- data/lib/countries/cache/locales/gv.json +1 -1
- data/lib/countries/cache/locales/ha.json +1 -1
- data/lib/countries/cache/locales/he.json +1 -1
- data/lib/countries/cache/locales/hi.json +1 -1
- data/lib/countries/cache/locales/hr.json +1 -1
- data/lib/countries/cache/locales/ht.json +1 -1
- data/lib/countries/cache/locales/hu.json +1 -1
- data/lib/countries/cache/locales/hy.json +1 -1
- data/lib/countries/cache/locales/ia.json +1 -1
- data/lib/countries/cache/locales/id.json +1 -1
- data/lib/countries/cache/locales/io.json +1 -1
- data/lib/countries/cache/locales/is.json +1 -1
- data/lib/countries/cache/locales/it.json +1 -1
- data/lib/countries/cache/locales/iu.json +1 -1
- data/lib/countries/cache/locales/ja.json +1 -1
- data/lib/countries/cache/locales/ka.json +1 -1
- data/lib/countries/cache/locales/ki.json +1 -1
- data/lib/countries/cache/locales/kk.json +1 -1
- data/lib/countries/cache/locales/kl.json +1 -1
- data/lib/countries/cache/locales/km.json +1 -1
- data/lib/countries/cache/locales/kn.json +1 -1
- data/lib/countries/cache/locales/ko.json +1 -1
- data/lib/countries/cache/locales/kv.json +1 -1
- data/lib/countries/cache/locales/kw.json +1 -1
- data/lib/countries/cache/locales/ky.json +1 -1
- data/lib/countries/cache/locales/lo.json +1 -1
- data/lib/countries/cache/locales/lt.json +1 -1
- data/lib/countries/cache/locales/lv.json +1 -1
- data/lib/countries/cache/locales/mi.json +1 -1
- data/lib/countries/cache/locales/mk.json +1 -1
- data/lib/countries/cache/locales/ml.json +1 -1
- data/lib/countries/cache/locales/mn.json +1 -1
- data/lib/countries/cache/locales/mr.json +1 -1
- data/lib/countries/cache/locales/ms.json +1 -1
- data/lib/countries/cache/locales/mt.json +1 -1
- data/lib/countries/cache/locales/my.json +1 -1
- data/lib/countries/cache/locales/na.json +1 -1
- data/lib/countries/cache/locales/nb.json +1 -1
- data/lib/countries/cache/locales/ne.json +1 -1
- data/lib/countries/cache/locales/nl.json +1 -1
- data/lib/countries/cache/locales/nn.json +1 -1
- data/lib/countries/cache/locales/nv.json +1 -1
- data/lib/countries/cache/locales/oc.json +1 -1
- data/lib/countries/cache/locales/or.json +1 -1
- data/lib/countries/cache/locales/pa.json +1 -1
- data/lib/countries/cache/locales/pi.json +1 -1
- data/lib/countries/cache/locales/pl.json +1 -1
- data/lib/countries/cache/locales/ps.json +1 -1
- data/lib/countries/cache/locales/pt-br.json +1 -1
- data/lib/countries/cache/locales/pt.json +1 -1
- data/lib/countries/cache/locales/ro.json +1 -1
- data/lib/countries/cache/locales/ru.json +1 -1
- data/lib/countries/cache/locales/rw.json +1 -1
- data/lib/countries/cache/locales/sc.json +1 -1
- data/lib/countries/cache/locales/sd.json +1 -1
- data/lib/countries/cache/locales/si.json +1 -1
- data/lib/countries/cache/locales/sk.json +1 -1
- data/lib/countries/cache/locales/sl.json +1 -1
- data/lib/countries/cache/locales/so.json +1 -1
- data/lib/countries/cache/locales/sq.json +1 -1
- data/lib/countries/cache/locales/sr.json +1 -1
- data/lib/countries/cache/locales/sv.json +1 -1
- data/lib/countries/cache/locales/sw.json +1 -1
- data/lib/countries/cache/locales/ta.json +1 -1
- data/lib/countries/cache/locales/te.json +1 -1
- data/lib/countries/cache/locales/tg.json +1 -1
- data/lib/countries/cache/locales/th.json +1 -1
- data/lib/countries/cache/locales/ti.json +1 -1
- data/lib/countries/cache/locales/tk.json +1 -1
- data/lib/countries/cache/locales/tl.json +1 -1
- data/lib/countries/cache/locales/tr.json +1 -1
- data/lib/countries/cache/locales/tt.json +1 -1
- data/lib/countries/cache/locales/ug.json +1 -1
- data/lib/countries/cache/locales/uk.json +1 -1
- data/lib/countries/cache/locales/ur.json +1 -1
- data/lib/countries/cache/locales/uz.json +1 -1
- data/lib/countries/cache/locales/ve.json +1 -1
- data/lib/countries/cache/locales/vi.json +1 -1
- data/lib/countries/cache/locales/wa.json +1 -1
- data/lib/countries/cache/locales/wo.json +1 -1
- data/lib/countries/cache/locales/xh.json +1 -1
- data/lib/countries/cache/locales/yo.json +1 -1
- data/lib/countries/cache/locales/zh-cn.json +1 -1
- data/lib/countries/cache/locales/zh-hk.json +1 -1
- data/lib/countries/cache/locales/zh-tw.json +1 -1
- data/lib/countries/cache/locales/zu.json +1 -1
- data/lib/countries/configuration.rb +2 -0
- data/lib/countries/country/class_methods.rb +20 -103
- data/lib/countries/country/currency_methods.rb +2 -0
- data/lib/countries/country/emoji.rb +2 -3
- data/lib/countries/country/finder_methods.rb +81 -0
- data/lib/countries/country.rb +32 -43
- data/lib/countries/data/countries/KN.yaml +0 -1
- data/lib/countries/data/subdivisions/AD.yaml +14 -7
- data/lib/countries/data/subdivisions/AE.yaml +14 -7
- data/lib/countries/data/subdivisions/AF.yaml +196 -201
- data/lib/countries/data/subdivisions/AG.yaml +16 -22
- data/lib/countries/data/subdivisions/AL.yaml +24 -12
- data/lib/countries/data/subdivisions/AM.yaml +22 -11
- data/lib/countries/data/subdivisions/AO.yaml +36 -18
- data/lib/countries/data/subdivisions/AR.yaml +48 -24
- data/lib/countries/data/subdivisions/AT.yaml +18 -9
- data/lib/countries/data/subdivisions/AU.yaml +16 -8
- data/lib/countries/data/subdivisions/AZ.yaml +434 -412
- data/lib/countries/data/subdivisions/BA.yaml +75 -223
- data/lib/countries/data/subdivisions/BB.yaml +22 -11
- data/lib/countries/data/subdivisions/BD.yaml +188 -116
- data/lib/countries/data/subdivisions/BE.yaml +174 -161
- data/lib/countries/data/subdivisions/BF.yaml +2918 -2860
- data/lib/countries/data/subdivisions/BG.yaml +56 -28
- data/lib/countries/data/subdivisions/BH.yaml +8 -21
- data/lib/countries/data/subdivisions/BI.yaml +176 -157
- data/lib/countries/data/subdivisions/BJ.yaml +24 -12
- data/lib/countries/data/subdivisions/BN.yaml +8 -4
- data/lib/countries/data/subdivisions/BO.yaml +18 -9
- data/lib/countries/data/subdivisions/BQ.yaml +6 -3
- data/lib/countries/data/subdivisions/BR.yaml +54 -27
- data/lib/countries/data/subdivisions/BS.yaml +575 -697
- data/lib/countries/data/subdivisions/BT.yaml +40 -20
- data/lib/countries/data/subdivisions/BW.yaml +337 -321
- data/lib/countries/data/subdivisions/BY.yaml +106 -116
- data/lib/countries/data/subdivisions/BZ.yaml +12 -6
- data/lib/countries/data/subdivisions/CA.yaml +26 -13
- data/lib/countries/data/subdivisions/CD.yaml +488 -525
- data/lib/countries/data/subdivisions/CF.yaml +34 -17
- data/lib/countries/data/subdivisions/CG.yaml +40 -28
- data/lib/countries/data/subdivisions/CH.yaml +52 -26
- data/lib/countries/data/subdivisions/CI.yaml +244 -516
- data/lib/countries/data/subdivisions/CL.yaml +81 -65
- data/lib/countries/data/subdivisions/CM.yaml +20 -10
- data/lib/countries/data/subdivisions/CN.yaml +2152 -2084
- data/lib/countries/data/subdivisions/CO.yaml +66 -33
- data/lib/countries/data/subdivisions/CR.yaml +14 -7
- data/lib/countries/data/subdivisions/CU.yaml +32 -16
- data/lib/countries/data/subdivisions/CV.yaml +427 -401
- data/lib/countries/data/subdivisions/CY.yaml +12 -6
- data/lib/countries/data/subdivisions/CZ.yaml +1116 -85
- data/lib/countries/data/subdivisions/DE.yaml +32 -16
- data/lib/countries/data/subdivisions/DJ.yaml +12 -6
- data/lib/countries/data/subdivisions/DK.yaml +25 -17
- data/lib/countries/data/subdivisions/DM.yaml +20 -10
- data/lib/countries/data/subdivisions/DO.yaml +84 -42
- data/lib/countries/data/subdivisions/DZ.yaml +96 -48
- data/lib/countries/data/subdivisions/EC.yaml +158 -134
- data/lib/countries/data/subdivisions/EE.yaml +501 -334
- data/lib/countries/data/subdivisions/EG.yaml +54 -27
- data/lib/countries/data/subdivisions/ER.yaml +12 -6
- data/lib/countries/data/subdivisions/ES.yaml +1459 -1390
- data/lib/countries/data/subdivisions/ET.yaml +22 -11
- data/lib/countries/data/subdivisions/FI.yaml +185 -1
- data/lib/countries/data/subdivisions/FJ.yaml +443 -424
- data/lib/countries/data/subdivisions/FM.yaml +8 -4
- data/lib/countries/data/subdivisions/FR.yaml +438 -275
- data/lib/countries/data/subdivisions/GA.yaml +18 -9
- data/lib/countries/data/subdivisions/GB.yaml +1185 -1708
- data/lib/countries/data/subdivisions/GD.yaml +14 -7
- data/lib/countries/data/subdivisions/GE.yaml +24 -12
- data/lib/countries/data/subdivisions/GH.yaml +114 -155
- data/lib/countries/data/subdivisions/GL.yaml +24 -79
- data/lib/countries/data/subdivisions/GM.yaml +12 -6
- data/lib/countries/data/subdivisions/GN.yaml +444 -403
- data/lib/countries/data/subdivisions/GQ.yaml +24 -13
- data/lib/countries/data/subdivisions/GR.yaml +114 -73
- data/lib/countries/data/subdivisions/GT.yaml +44 -22
- data/lib/countries/data/subdivisions/GW.yaml +69 -57
- data/lib/countries/data/subdivisions/GY.yaml +20 -10
- data/lib/countries/data/subdivisions/HN.yaml +36 -18
- data/lib/countries/data/subdivisions/HR.yaml +42 -21
- data/lib/countries/data/subdivisions/HT.yaml +73 -63
- data/lib/countries/data/subdivisions/HU.yaml +106 -63
- data/lib/countries/data/subdivisions/ID.yaml +229 -188
- data/lib/countries/data/subdivisions/IE.yaml +128 -97
- data/lib/countries/data/subdivisions/IL.yaml +12 -6
- data/lib/countries/data/subdivisions/IN.yaml +245 -396
- data/lib/countries/data/subdivisions/IQ.yaml +111 -91
- data/lib/countries/data/subdivisions/IR.yaml +1463 -1451
- data/lib/countries/data/subdivisions/IS.yaml +160 -25
- data/lib/countries/data/subdivisions/IT.yaml +8740 -8292
- data/lib/countries/data/subdivisions/JM.yaml +28 -14
- data/lib/countries/data/subdivisions/JO.yaml +24 -12
- data/lib/countries/data/subdivisions/JP.yaml +94 -47
- data/lib/countries/data/subdivisions/KE.yaml +95 -48
- data/lib/countries/data/subdivisions/KG.yaml +95 -86
- data/lib/countries/data/subdivisions/KH.yaml +64 -39
- data/lib/countries/data/subdivisions/KI.yaml +6 -3
- data/lib/countries/data/subdivisions/KM.yaml +6 -3
- data/lib/countries/data/subdivisions/KN.yaml +32 -16
- data/lib/countries/data/subdivisions/KP.yaml +24 -227
- data/lib/countries/data/subdivisions/KR.yaml +34 -17
- data/lib/countries/data/subdivisions/KW.yaml +12 -6
- data/lib/countries/data/subdivisions/KZ.yaml +47 -102
- data/lib/countries/data/subdivisions/LA.yaml +36 -34
- data/lib/countries/data/subdivisions/LB.yaml +71 -63
- data/lib/countries/data/subdivisions/LC.yaml +116 -106
- data/lib/countries/data/subdivisions/LI.yaml +22 -11
- data/lib/countries/data/subdivisions/LK.yaml +445 -411
- data/lib/countries/data/subdivisions/LR.yaml +146 -129
- data/lib/countries/data/subdivisions/LS.yaml +20 -10
- data/lib/countries/data/subdivisions/LT.yaml +1706 -1636
- data/lib/countries/data/subdivisions/LU.yaml +24 -12
- data/lib/countries/data/subdivisions/LV.yaml +1623 -1577
- data/lib/countries/data/subdivisions/LY.yaml +44 -22
- data/lib/countries/data/subdivisions/MA.yaml +810 -1589
- data/lib/countries/data/subdivisions/MC.yaml +261 -244
- data/lib/countries/data/subdivisions/MD.yaml +74 -79
- data/lib/countries/data/subdivisions/ME.yaml +217 -195
- data/lib/countries/data/subdivisions/MG.yaml +12 -6
- data/lib/countries/data/subdivisions/MH.yaml +167 -140
- data/lib/countries/data/subdivisions/MK.yaml +160 -80
- data/lib/countries/data/subdivisions/ML.yaml +48 -37
- data/lib/countries/data/subdivisions/MM.yaml +30 -15
- data/lib/countries/data/subdivisions/MN.yaml +44 -22
- data/lib/countries/data/subdivisions/MR.yaml +30 -34
- data/lib/countries/data/subdivisions/MT.yaml +136 -68
- data/lib/countries/data/subdivisions/MU.yaml +24 -262
- data/lib/countries/data/subdivisions/MV.yaml +161 -254
- data/lib/countries/data/subdivisions/MW.yaml +250 -219
- data/lib/countries/data/subdivisions/MX.yaml +67 -47
- data/lib/countries/data/subdivisions/MY.yaml +32 -16
- data/lib/countries/data/subdivisions/MZ.yaml +22 -11
- data/lib/countries/data/subdivisions/NA.yaml +58 -44
- data/lib/countries/data/subdivisions/NE.yaml +16 -8
- data/lib/countries/data/subdivisions/NG.yaml +74 -37
- data/lib/countries/data/subdivisions/NI.yaml +34 -17
- data/lib/countries/data/subdivisions/NL.yaml +303 -285
- data/lib/countries/data/subdivisions/NO.yaml +39 -17
- data/lib/countries/data/subdivisions/NP.yaml +302 -276
- data/lib/countries/data/subdivisions/NR.yaml +28 -14
- data/lib/countries/data/subdivisions/NZ.yaml +34 -17
- data/lib/countries/data/subdivisions/OM.yaml +260 -311
- data/lib/countries/data/subdivisions/PA.yaml +57 -44
- data/lib/countries/data/subdivisions/PE.yaml +107 -81
- data/lib/countries/data/subdivisions/PG.yaml +163 -158
- data/lib/countries/data/subdivisions/PH.yaml +5062 -4992
- data/lib/countries/data/subdivisions/PK.yaml +145 -235
- data/lib/countries/data/subdivisions/PL.yaml +51 -3
- data/lib/countries/data/subdivisions/PS.yaml +32 -16
- data/lib/countries/data/subdivisions/PT.yaml +53 -33
- data/lib/countries/data/subdivisions/PW.yaml +32 -16
- data/lib/countries/data/subdivisions/PY.yaml +36 -18
- data/lib/countries/data/subdivisions/QA.yaml +27 -78
- data/lib/countries/data/subdivisions/RO.yaml +84 -42
- data/lib/countries/data/subdivisions/RS.yaml +104 -72
- data/lib/countries/data/subdivisions/RU.yaml +166 -83
- data/lib/countries/data/subdivisions/RW.yaml +10 -5
- data/lib/countries/data/subdivisions/SA.yaml +26 -13
- data/lib/countries/data/subdivisions/SB.yaml +20 -10
- data/lib/countries/data/subdivisions/SC.yaml +54 -25
- data/lib/countries/data/subdivisions/SD.yaml +798 -780
- data/lib/countries/data/subdivisions/SE.yaml +42 -21
- data/lib/countries/data/subdivisions/SG.yaml +15 -10
- data/lib/countries/data/subdivisions/SH.yaml +21 -32
- data/lib/countries/data/subdivisions/SI.yaml +475 -263
- data/lib/countries/data/subdivisions/SK.yaml +16 -8
- data/lib/countries/data/subdivisions/SL.yaml +23 -18
- data/lib/countries/data/subdivisions/SM.yaml +18 -9
- data/lib/countries/data/subdivisions/SN.yaml +188 -174
- data/lib/countries/data/subdivisions/SO.yaml +36 -18
- data/lib/countries/data/subdivisions/SR.yaml +20 -10
- data/lib/countries/data/subdivisions/SS.yaml +20 -10
- data/lib/countries/data/subdivisions/ST.yaml +38 -52
- data/lib/countries/data/subdivisions/SV.yaml +28 -14
- data/lib/countries/data/subdivisions/SY.yaml +28 -14
- data/lib/countries/data/subdivisions/SZ.yaml +8 -4
- data/lib/countries/data/subdivisions/TD.yaml +312 -303
- data/lib/countries/data/subdivisions/TG.yaml +10 -5
- data/lib/countries/data/subdivisions/TH.yaml +211 -133
- data/lib/countries/data/subdivisions/TJ.yaml +161 -156
- data/lib/countries/data/subdivisions/TL.yaml +26 -13
- data/lib/countries/data/subdivisions/TM.yaml +12 -6
- data/lib/countries/data/subdivisions/TN.yaml +48 -24
- data/lib/countries/data/subdivisions/TO.yaml +10 -5
- data/lib/countries/data/subdivisions/TR.yaml +162 -81
- data/lib/countries/data/subdivisions/TT.yaml +128 -160
- data/lib/countries/data/subdivisions/TV.yaml +57 -63
- data/lib/countries/data/subdivisions/TW.yaml +143 -183
- data/lib/countries/data/subdivisions/TZ.yaml +62 -31
- data/lib/countries/data/subdivisions/UA.yaml +55 -28
- data/lib/countries/data/subdivisions/UG.yaml +4806 -4660
- data/lib/countries/data/subdivisions/UM.yaml +18 -9
- data/lib/countries/data/subdivisions/US.yaml +114 -57
- data/lib/countries/data/subdivisions/UY.yaml +99 -80
- data/lib/countries/data/subdivisions/UZ.yaml +28 -14
- data/lib/countries/data/subdivisions/VC.yaml +12 -6
- data/lib/countries/data/subdivisions/VE.yaml +50 -25
- data/lib/countries/data/subdivisions/VN.yaml +3576 -3513
- data/lib/countries/data/subdivisions/VU.yaml +12 -6
- data/lib/countries/data/subdivisions/WF.yaml +6 -3
- data/lib/countries/data/subdivisions/WS.yaml +22 -11
- data/lib/countries/data/subdivisions/YE.yaml +222 -200
- data/lib/countries/data/subdivisions/ZA.yaml +86 -100
- data/lib/countries/data/subdivisions/ZM.yaml +20 -10
- data/lib/countries/data/subdivisions/ZW.yaml +20 -10
- data/lib/countries/data/translations/countries-ab.yaml +254 -0
- data/lib/countries/data/translations/countries-af.yaml +254 -0
- data/lib/countries/data/translations/countries-ak.yaml +254 -0
- data/lib/countries/data/translations/countries-am.yaml +254 -0
- data/lib/countries/data/translations/countries-an.yaml +254 -0
- data/lib/countries/data/translations/countries-ar.yaml +254 -0
- data/lib/countries/data/translations/countries-as.yaml +254 -0
- data/lib/countries/data/translations/countries-ay.yaml +254 -0
- data/lib/countries/data/translations/countries-az.yaml +254 -0
- data/lib/countries/data/translations/countries-ba.yaml +254 -0
- data/lib/countries/data/translations/countries-be.yaml +254 -0
- data/lib/countries/data/translations/countries-bg.yaml +254 -0
- data/lib/countries/data/translations/countries-bi.yaml +254 -0
- data/lib/countries/data/translations/countries-bn.yaml +254 -0
- data/lib/countries/data/translations/countries-bn_IN.yaml +254 -0
- data/lib/countries/data/translations/countries-br.yaml +254 -0
- data/lib/countries/data/translations/countries-bs.yaml +254 -0
- data/lib/countries/data/translations/countries-ca.yaml +254 -0
- data/lib/countries/data/translations/countries-ce.yaml +254 -0
- data/lib/countries/data/translations/countries-ch.yaml +254 -0
- data/lib/countries/data/translations/countries-cs.yaml +254 -0
- data/lib/countries/data/translations/countries-cv.yaml +254 -0
- data/lib/countries/data/translations/countries-cy.yaml +254 -0
- data/lib/countries/data/translations/countries-da.yaml +254 -0
- data/lib/countries/data/translations/countries-de.yaml +254 -0
- data/lib/countries/data/translations/countries-dv.yaml +254 -0
- data/lib/countries/data/translations/countries-dz.yaml +254 -0
- data/lib/countries/data/translations/countries-ee.yaml +254 -0
- data/lib/countries/data/translations/countries-el.yaml +254 -0
- data/lib/countries/data/translations/countries-en.yaml +254 -0
- data/lib/countries/data/translations/countries-eo.yaml +254 -0
- data/lib/countries/data/translations/countries-es.yaml +254 -0
- data/lib/countries/data/translations/countries-et.yaml +254 -0
- data/lib/countries/data/translations/countries-eu.yaml +254 -0
- data/lib/countries/data/translations/countries-fa.yaml +254 -0
- data/lib/countries/data/translations/countries-ff.yaml +254 -0
- data/lib/countries/data/translations/countries-fi.yaml +254 -0
- data/lib/countries/data/translations/countries-fo.yaml +254 -0
- data/lib/countries/data/translations/countries-fr.yaml +254 -0
- data/lib/countries/data/translations/countries-fy.yaml +254 -0
- data/lib/countries/data/translations/countries-ga.yaml +254 -0
- data/lib/countries/data/translations/countries-gl.yaml +254 -0
- data/lib/countries/data/translations/countries-gn.yaml +254 -0
- data/lib/countries/data/translations/countries-gu.yaml +254 -0
- data/lib/countries/data/translations/countries-gv.yaml +254 -0
- data/lib/countries/data/translations/countries-ha.yaml +254 -0
- data/lib/countries/data/translations/countries-he.yaml +254 -0
- data/lib/countries/data/translations/countries-hi.yaml +254 -0
- data/lib/countries/data/translations/countries-hr.yaml +254 -0
- data/lib/countries/data/translations/countries-ht.yaml +254 -0
- data/lib/countries/data/translations/countries-hu.yaml +254 -0
- data/lib/countries/data/translations/countries-hy.yaml +254 -0
- data/lib/countries/data/translations/countries-ia.yaml +254 -0
- data/lib/countries/data/translations/countries-id.yaml +254 -0
- data/lib/countries/data/translations/countries-io.yaml +254 -0
- data/lib/countries/data/translations/countries-is.yaml +254 -0
- data/lib/countries/data/translations/countries-it.yaml +254 -0
- data/lib/countries/data/translations/countries-iu.yaml +254 -0
- data/lib/countries/data/translations/countries-ja.yaml +254 -0
- data/lib/countries/data/translations/countries-ka.yaml +254 -0
- data/lib/countries/data/translations/countries-ki.yaml +254 -0
- data/lib/countries/data/translations/countries-kk.yaml +254 -0
- data/lib/countries/data/translations/countries-kl.yaml +254 -0
- data/lib/countries/data/translations/countries-km.yaml +254 -0
- data/lib/countries/data/translations/countries-kn.yaml +254 -0
- data/lib/countries/data/translations/countries-ko.yaml +254 -0
- data/lib/countries/data/translations/countries-ku.yaml +254 -0
- data/lib/countries/data/translations/countries-kv.yaml +254 -0
- data/lib/countries/data/translations/countries-kw.yaml +254 -0
- data/lib/countries/data/translations/countries-ky.yaml +254 -0
- data/lib/countries/data/translations/countries-lo.yaml +254 -0
- data/lib/countries/data/translations/countries-lt.yaml +254 -0
- data/lib/countries/data/translations/countries-lv.yaml +254 -0
- data/lib/countries/data/translations/countries-mi.yaml +254 -0
- data/lib/countries/data/translations/countries-mk.yaml +254 -0
- data/lib/countries/data/translations/countries-ml.yaml +254 -0
- data/lib/countries/data/translations/countries-mn.yaml +254 -0
- data/lib/countries/data/translations/countries-mr.yaml +254 -0
- data/lib/countries/data/translations/countries-ms.yaml +254 -0
- data/lib/countries/data/translations/countries-mt.yaml +254 -0
- data/lib/countries/data/translations/countries-my.yaml +254 -0
- data/lib/countries/data/translations/countries-na.yaml +254 -0
- data/lib/countries/data/translations/countries-nb.yaml +254 -0
- data/lib/countries/data/translations/countries-ne.yaml +254 -0
- data/lib/countries/data/translations/countries-nl.yaml +254 -0
- data/lib/countries/data/translations/countries-nn.yaml +254 -0
- data/lib/countries/data/translations/countries-nv.yaml +254 -0
- data/lib/countries/data/translations/countries-oc.yaml +254 -0
- data/lib/countries/data/translations/countries-or.yaml +254 -0
- data/lib/countries/data/translations/countries-pa.yaml +254 -0
- data/lib/countries/data/translations/countries-pi.yaml +254 -0
- data/lib/countries/data/translations/countries-pl.yaml +254 -0
- data/lib/countries/data/translations/countries-ps.yaml +254 -0
- data/lib/countries/data/translations/countries-pt.yaml +254 -0
- data/lib/countries/data/translations/countries-pt_BR.yaml +254 -0
- data/lib/countries/data/translations/countries-ro.yaml +254 -0
- data/lib/countries/data/translations/countries-ru.yaml +254 -0
- data/lib/countries/data/translations/countries-rw.yaml +254 -0
- data/lib/countries/data/translations/countries-sc.yaml +254 -0
- data/lib/countries/data/translations/countries-sd.yaml +254 -0
- data/lib/countries/data/translations/countries-si.yaml +254 -0
- data/lib/countries/data/translations/countries-sk.yaml +254 -0
- data/lib/countries/data/translations/countries-sl.yaml +254 -0
- data/lib/countries/data/translations/countries-so.yaml +254 -0
- data/lib/countries/data/translations/countries-sq.yaml +254 -0
- data/lib/countries/data/translations/countries-sr.yaml +254 -0
- data/lib/countries/data/translations/countries-sv.yaml +254 -0
- data/lib/countries/data/translations/countries-sw.yaml +254 -0
- data/lib/countries/data/translations/countries-ta.yaml +254 -0
- data/lib/countries/data/translations/countries-te.yaml +254 -0
- data/lib/countries/data/translations/countries-tg.yaml +254 -0
- data/lib/countries/data/translations/countries-th.yaml +254 -0
- data/lib/countries/data/translations/countries-ti.yaml +254 -0
- data/lib/countries/data/translations/countries-tk.yaml +254 -0
- data/lib/countries/data/translations/countries-tl.yaml +254 -0
- data/lib/countries/data/translations/countries-tr.yaml +254 -0
- data/lib/countries/data/translations/countries-tt.yaml +254 -0
- data/lib/countries/data/translations/countries-ug.yaml +254 -0
- data/lib/countries/data/translations/countries-uk.yaml +254 -0
- data/lib/countries/data/translations/countries-ur.yaml +254 -0
- data/lib/countries/data/translations/countries-uz.yaml +254 -0
- data/lib/countries/data/translations/countries-ve.yaml +254 -0
- data/lib/countries/data/translations/countries-vi.yaml +254 -0
- data/lib/countries/data/translations/countries-wa.yaml +254 -0
- data/lib/countries/data/translations/countries-wo.yaml +254 -0
- data/lib/countries/data/translations/countries-xh.yaml +254 -0
- data/lib/countries/data/translations/countries-yo.yaml +254 -0
- data/lib/countries/data/translations/countries-zh_CN.yaml +254 -0
- data/lib/countries/data/translations/countries-zh_HK.yaml +254 -0
- data/lib/countries/data/translations/countries-zh_TW.yaml +254 -0
- data/lib/countries/data/translations/countries-zu.yaml +254 -0
- data/lib/countries/data.rb +45 -42
- data/lib/countries/global.rb +2 -0
- data/lib/countries/iso3166.rb +3 -1
- data/lib/countries/kwarg_struct.rb +2 -0
- data/lib/countries/mongoid.rb +2 -0
- data/lib/countries/sources/cldr/downloader.rb +8 -8
- data/lib/countries/sources/cldr/subdivision.rb +3 -0
- data/lib/countries/sources/cldr/subdivision_updater.rb +23 -17
- data/lib/countries/sources/local/cached_loader.rb +3 -0
- data/lib/countries/sources/local/subdivision.rb +5 -2
- data/lib/countries/sources.rb +2 -0
- data/lib/countries/structure.rb +1 -1
- data/lib/countries/subdivision.rb +21 -8
- data/lib/countries/tasks/geocoding.rake +15 -6
- data/lib/countries/tasks/postal_codes.rake +5 -3
- data/lib/countries/timezones.rb +5 -2
- data/lib/countries/translations.rb +2 -0
- data/lib/countries/version.rb +3 -1
- data/lib/countries.rb +2 -0
- data/spec/00_global_spec.rb +2 -0
- data/spec/configuration_spec.rb +11 -5
- data/spec/country_spec.rb +131 -38
- data/spec/data_spec.rb +85 -21
- data/spec/mongoid_spec.rb +2 -2
- data/spec/perf_spec.rb +16 -16
- data/spec/spec_helper.rb +2 -0
- data/spec/subdivision_spec.rb +6 -4
- data/spec/thread_safety_spec.rb +4 -3
- data/spec/timezone_spec.rb +2 -0
- metadata +146 -34
- data/lib/countries/cache/locales/zh.json +0 -1
- data/lib/countries/data/subdivisions/AI.yaml +0 -197
- data/lib/countries/data/subdivisions/BM.yaml +0 -155
- data/lib/countries/data/subdivisions/CK.yaml +0 -155
- data/lib/countries/data/subdivisions/EH.yaml +0 -80
- data/lib/countries/data/subdivisions/SJ.yaml +0 -29
- data/lib/countries/data/subdivisions/TK.yaml +0 -43
- data/lib/countries/data/translation_corrections.yaml +0 -51
- data/lib/countries/setup.rb +0 -18
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
BR:
|
3
3
|
name: Brokopondo
|
4
|
-
code:
|
4
|
+
code: BR
|
5
5
|
unofficial_names: Brokopondo
|
6
6
|
geo:
|
7
7
|
latitude: 4.7710247
|
@@ -54,9 +54,10 @@ BR:
|
|
54
54
|
ccp: "\U0001111D\U00011133\U00011122\U0001112E\U00011107\U00011128\U0001111B\U0001112E\U0001111A\U00011134\U00011113\U0001112E"
|
55
55
|
'no': Brokopondo
|
56
56
|
comments:
|
57
|
+
type: district
|
57
58
|
CM:
|
58
59
|
name: Commewijne
|
59
|
-
code:
|
60
|
+
code: CM
|
60
61
|
unofficial_names: Commewijne
|
61
62
|
geo:
|
62
63
|
latitude: 5.740211
|
@@ -109,9 +110,10 @@ CM:
|
|
109
110
|
ccp: "\U00011107\U00011127\U0001111F\U0001112C\U00011105\U0001112A\U00011103\U00011128\U0001110C\U00011134\U0001111A\U0001112C"
|
110
111
|
'no': Commewijne
|
111
112
|
comments:
|
113
|
+
type: district
|
112
114
|
CR:
|
113
115
|
name: Coronie
|
114
|
-
code:
|
116
|
+
code: CR
|
115
117
|
unofficial_names: Coronie
|
116
118
|
geo:
|
117
119
|
latitude: 5.6943271
|
@@ -163,9 +165,10 @@ CR:
|
|
163
165
|
ccp: "\U00011107\U00011127\U0001112E\U00011122\U0001112E\U0001111A\U0001112D"
|
164
166
|
'no': Coronie
|
165
167
|
comments:
|
168
|
+
type: district
|
166
169
|
MA:
|
167
170
|
name: Marowijne
|
168
|
-
code:
|
171
|
+
code: MA
|
169
172
|
unofficial_names: Marowijne
|
170
173
|
geo:
|
171
174
|
latitude: 5.6268128
|
@@ -217,9 +220,10 @@ MA:
|
|
217
220
|
ccp: "\U0001111F\U0001112C\U00011122\U0001112E\U00011103\U00011128\U0001110C\U00011134\U0001111A\U0001112C"
|
218
221
|
'no': Marowijne
|
219
222
|
comments:
|
223
|
+
type: district
|
220
224
|
NI:
|
221
225
|
name: Nickerie
|
222
|
-
code:
|
226
|
+
code: NI
|
223
227
|
unofficial_names: Nickerie
|
224
228
|
geo:
|
225
229
|
latitude: 5.5855469
|
@@ -271,9 +275,10 @@ NI:
|
|
271
275
|
ccp: "\U0001111A\U00011128\U00011107\U0001112C\U00011122\U0001112D"
|
272
276
|
'no': Nickerie
|
273
277
|
comments:
|
278
|
+
type: district
|
274
279
|
PM:
|
275
280
|
name: Paramaribo
|
276
|
-
code:
|
281
|
+
code: PM
|
277
282
|
unofficial_names: Paramaribo
|
278
283
|
geo:
|
279
284
|
latitude: 5.8520355
|
@@ -313,9 +318,10 @@ PM:
|
|
313
318
|
ccp: "\U0001111B\U00011133\U00011120\U00011122\U0001111F\U00011122\U00011128\U0001111D\U0001112E"
|
314
319
|
'no': Paramaribo
|
315
320
|
comments:
|
321
|
+
type: district
|
316
322
|
PR:
|
317
323
|
name: Para
|
318
|
-
code:
|
324
|
+
code: PR
|
319
325
|
unofficial_names: Para
|
320
326
|
geo:
|
321
327
|
latitude: 5.481731799999999
|
@@ -367,9 +373,10 @@ PR:
|
|
367
373
|
ccp: "\U0001111B\U00011133\U00011120\U00011122"
|
368
374
|
'no': Para
|
369
375
|
comments:
|
376
|
+
type: district
|
370
377
|
SA:
|
371
378
|
name: Saramacca
|
372
|
-
code:
|
379
|
+
code: SA
|
373
380
|
unofficial_names: Saramacca
|
374
381
|
geo:
|
375
382
|
latitude: 5.7240813
|
@@ -421,9 +428,10 @@ SA:
|
|
421
428
|
ccp: "\U00011125\U00011122\U0001111F\U00011107\U00011133\U00011126"
|
422
429
|
'no': Saramacca
|
423
430
|
comments:
|
431
|
+
type: district
|
424
432
|
SI:
|
425
433
|
name: Sipaliwini
|
426
|
-
code:
|
434
|
+
code: SI
|
427
435
|
unofficial_names: Sipaliwini
|
428
436
|
geo:
|
429
437
|
latitude: 2.0331027
|
@@ -474,9 +482,10 @@ SI:
|
|
474
482
|
ccp: "\U00011125\U00011128\U0001111B\U00011123\U00011128\U00011105\U0001112A\U00011103\U00011128\U0001111A\U00011128"
|
475
483
|
'no': Sipaliwini
|
476
484
|
comments:
|
485
|
+
type: district
|
477
486
|
WA:
|
478
487
|
name: Wanica
|
479
|
-
code:
|
488
|
+
code: WA
|
480
489
|
unofficial_names: Wanica
|
481
490
|
geo:
|
482
491
|
latitude: 5.7323762
|
@@ -531,3 +540,4 @@ WA:
|
|
531
540
|
ca: Wanica
|
532
541
|
'no': Wanica
|
533
542
|
comments:
|
543
|
+
type: district
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
BN:
|
3
3
|
name: شمال بحر الغزال
|
4
|
-
code:
|
4
|
+
code: BN
|
5
5
|
unofficial_names:
|
6
6
|
geo:
|
7
7
|
latitude:
|
@@ -61,9 +61,10 @@ BN:
|
|
61
61
|
mk: Северен Бахр ел-Газал
|
62
62
|
'no': Northern Bahr el Ghazal
|
63
63
|
comments:
|
64
|
+
type: state
|
64
65
|
BW:
|
65
66
|
name: غرب بحر الغزال
|
66
|
-
code:
|
67
|
+
code: BW
|
67
68
|
unofficial_names:
|
68
69
|
geo:
|
69
70
|
latitude:
|
@@ -124,9 +125,10 @@ BW:
|
|
124
125
|
mk: Западен Бахр ел-Газал
|
125
126
|
'no': Western Bahr el Ghazal
|
126
127
|
comments:
|
128
|
+
type: state
|
127
129
|
EC:
|
128
130
|
name: وسط الاستوائية
|
129
|
-
code:
|
131
|
+
code: EC
|
130
132
|
unofficial_names:
|
131
133
|
geo:
|
132
134
|
latitude:
|
@@ -189,9 +191,10 @@ EC:
|
|
189
191
|
mk: Централна Екваторија
|
190
192
|
'no': Central Equatoria
|
191
193
|
comments:
|
194
|
+
type: state
|
192
195
|
EE:
|
193
196
|
name: شرق الاستوائية
|
194
|
-
code:
|
197
|
+
code: EE
|
195
198
|
unofficial_names:
|
196
199
|
geo:
|
197
200
|
latitude:
|
@@ -251,9 +254,10 @@ EE:
|
|
251
254
|
mk: Источна Екваторија
|
252
255
|
'no': Øst-Ekvatoria
|
253
256
|
comments:
|
257
|
+
type: state
|
254
258
|
EW:
|
255
259
|
name: غرب الاستوائية
|
256
|
-
code:
|
260
|
+
code: EW
|
257
261
|
unofficial_names:
|
258
262
|
geo:
|
259
263
|
latitude:
|
@@ -312,9 +316,10 @@ EW:
|
|
312
316
|
mk: Западна Екваторија
|
313
317
|
'no': Western Equatoria
|
314
318
|
comments:
|
319
|
+
type: state
|
315
320
|
JG:
|
316
321
|
name: جونقلي
|
317
|
-
code:
|
322
|
+
code: JG
|
318
323
|
unofficial_names:
|
319
324
|
geo:
|
320
325
|
latitude:
|
@@ -374,9 +379,10 @@ JG:
|
|
374
379
|
mk: Џонглеј
|
375
380
|
'no': Jonglei
|
376
381
|
comments:
|
382
|
+
type: state
|
377
383
|
LK:
|
378
384
|
name: البحيرات
|
379
|
-
code:
|
385
|
+
code: LK
|
380
386
|
unofficial_names:
|
381
387
|
geo:
|
382
388
|
latitude:
|
@@ -436,9 +442,10 @@ LK:
|
|
436
442
|
mk: Езера
|
437
443
|
'no': Lakes
|
438
444
|
comments:
|
445
|
+
type: state
|
439
446
|
NU:
|
440
447
|
name: أعالي النيل
|
441
|
-
code:
|
448
|
+
code: NU
|
442
449
|
unofficial_names:
|
443
450
|
geo:
|
444
451
|
latitude:
|
@@ -499,9 +506,10 @@ NU:
|
|
499
506
|
mk: Горен Нил
|
500
507
|
'no': Upper Nile
|
501
508
|
comments:
|
509
|
+
type: state
|
502
510
|
UY:
|
503
511
|
name: الوحدة
|
504
|
-
code:
|
512
|
+
code: UY
|
505
513
|
unofficial_names:
|
506
514
|
geo:
|
507
515
|
latitude:
|
@@ -560,9 +568,10 @@ UY:
|
|
560
568
|
mk: Единство
|
561
569
|
'no': Unity
|
562
570
|
comments:
|
571
|
+
type: state
|
563
572
|
WR:
|
564
573
|
name: واراب
|
565
|
-
code:
|
574
|
+
code: WR
|
566
575
|
unofficial_names:
|
567
576
|
geo:
|
568
577
|
latitude:
|
@@ -622,3 +631,4 @@ WR:
|
|
622
631
|
mk: Варап
|
623
632
|
'no': Warrap
|
624
633
|
comments:
|
634
|
+
type: state
|
@@ -1,7 +1,43 @@
|
|
1
1
|
---
|
2
|
+
'01':
|
3
|
+
translations:
|
4
|
+
en: Água Grande
|
5
|
+
name: Água Grande
|
6
|
+
code: '01'
|
7
|
+
type: district
|
8
|
+
'02':
|
9
|
+
translations:
|
10
|
+
en: Cantagalo
|
11
|
+
name: Cantagalo
|
12
|
+
code: '02'
|
13
|
+
type: district
|
14
|
+
'03':
|
15
|
+
translations:
|
16
|
+
en: Caué
|
17
|
+
name: Caué
|
18
|
+
code: '03'
|
19
|
+
type: district
|
20
|
+
'04':
|
21
|
+
translations:
|
22
|
+
en: Lembá
|
23
|
+
name: Lembá
|
24
|
+
code: '04'
|
25
|
+
type: district
|
26
|
+
'05':
|
27
|
+
translations:
|
28
|
+
en: Lobata
|
29
|
+
name: Lobata
|
30
|
+
code: '05'
|
31
|
+
type: district
|
32
|
+
'06':
|
33
|
+
translations:
|
34
|
+
en: Mé-Zóchi
|
35
|
+
name: Mé-Zóchi
|
36
|
+
code: '06'
|
37
|
+
type: district
|
2
38
|
P:
|
3
39
|
name: Príncipe
|
4
|
-
code:
|
40
|
+
code: P
|
5
41
|
unofficial_names: Príncipe
|
6
42
|
geo:
|
7
43
|
latitude: 1.6139381
|
@@ -25,54 +61,4 @@ P:
|
|
25
61
|
mk: Принсипе
|
26
62
|
'no': Príncipe
|
27
63
|
comments:
|
28
|
-
|
29
|
-
name: São Tomé
|
30
|
-
code:
|
31
|
-
unofficial_names: São Tomé
|
32
|
-
geo:
|
33
|
-
latitude: 0.3301924
|
34
|
-
longitude: 6.733343
|
35
|
-
min_latitude: 0.2995513
|
36
|
-
min_longitude: 6.7015236
|
37
|
-
max_latitude: 0.3843648000000001
|
38
|
-
max_longitude: 6.7529951
|
39
|
-
translations:
|
40
|
-
en: São Tomé
|
41
|
-
ca: Província de São Tomé
|
42
|
-
fr: province de Sao Tomé
|
43
|
-
it: Provincia di São Tomé
|
44
|
-
ja: サントメ州
|
45
|
-
nb: São Tomé
|
46
|
-
ru: провинция Сан-Томе
|
47
|
-
ceb: São Tomé (lalawigan)
|
48
|
-
ar: محافظة ساو تومي
|
49
|
-
ur: ساؤ ٹومے صوبہ
|
50
|
-
ccp: "\U00011125\U00011103\U0001112E \U00011111\U0001112E\U0001111F\U00011134"
|
51
|
-
ka: სან-ტომეს პროვინცია
|
52
|
-
mk: Сао Томе
|
53
|
-
'no': São Tomé
|
54
|
-
comments:
|
55
|
-
'01':
|
56
|
-
translations:
|
57
|
-
en: Água Grande
|
58
|
-
name: Água Grande
|
59
|
-
'02':
|
60
|
-
translations:
|
61
|
-
en: Cantagalo
|
62
|
-
name: Cantagalo
|
63
|
-
'03':
|
64
|
-
translations:
|
65
|
-
en: Caué
|
66
|
-
name: Caué
|
67
|
-
'04':
|
68
|
-
translations:
|
69
|
-
en: Lembá
|
70
|
-
name: Lembá
|
71
|
-
'05':
|
72
|
-
translations:
|
73
|
-
en: Lobata
|
74
|
-
name: Lobata
|
75
|
-
'06':
|
76
|
-
translations:
|
77
|
-
en: Mé-Zóchi
|
78
|
-
name: Mé-Zóchi
|
64
|
+
type: autonomous_region
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
AH:
|
3
3
|
name: Ahuachapán
|
4
|
-
code:
|
4
|
+
code: AH
|
5
5
|
unofficial_names: Ahuachapán
|
6
6
|
geo:
|
7
7
|
latitude: 13.9259486
|
@@ -58,9 +58,10 @@ AH:
|
|
58
58
|
uk: Регіон Ауачапан
|
59
59
|
'no': Ahuachapán
|
60
60
|
comments:
|
61
|
+
type: departments
|
61
62
|
CA:
|
62
63
|
name: Cabañas
|
63
|
-
code:
|
64
|
+
code: CA
|
64
65
|
unofficial_names: Cabañas
|
65
66
|
geo:
|
66
67
|
latitude: 13.8648288
|
@@ -115,9 +116,10 @@ CA:
|
|
115
116
|
uk: Регіон Кабаньяс
|
116
117
|
'no': Cabañas
|
117
118
|
comments:
|
119
|
+
type: departments
|
118
120
|
CH:
|
119
121
|
name: Chalatenango
|
120
|
-
code:
|
122
|
+
code: CH
|
121
123
|
unofficial_names: Chalatenango
|
122
124
|
geo:
|
123
125
|
latitude: 14.033333
|
@@ -156,9 +158,10 @@ CH:
|
|
156
158
|
eu: Chalatenango departamendua
|
157
159
|
uk: Чалатенанго
|
158
160
|
comments:
|
161
|
+
type: departments
|
159
162
|
CU:
|
160
163
|
name: Cuscatlán
|
161
|
-
code:
|
164
|
+
code: CU
|
162
165
|
unofficial_names: Cuscatlán
|
163
166
|
geo:
|
164
167
|
latitude: 13.8661957
|
@@ -213,9 +216,10 @@ CU:
|
|
213
216
|
uk: Регіон Кускатлан
|
214
217
|
'no': Cuscatlan
|
215
218
|
comments:
|
219
|
+
type: departments
|
216
220
|
LI:
|
217
221
|
name: La Libertad
|
218
|
-
code:
|
222
|
+
code: LI
|
219
223
|
unofficial_names: La Libertad
|
220
224
|
geo:
|
221
225
|
latitude: 13.6817661
|
@@ -273,9 +277,10 @@ LI:
|
|
273
277
|
uk: Муніципалітет Ла-Лібертад
|
274
278
|
'no': La Libertad department
|
275
279
|
comments:
|
280
|
+
type: departments
|
276
281
|
MO:
|
277
282
|
name: Morazán
|
278
|
-
code:
|
283
|
+
code: MO
|
279
284
|
unofficial_names: Morazán
|
280
285
|
geo:
|
281
286
|
latitude: 13.7682
|
@@ -330,9 +335,10 @@ MO:
|
|
330
335
|
eu: Morazán departamendua
|
331
336
|
'no': Morazan department
|
332
337
|
comments:
|
338
|
+
type: departments
|
333
339
|
PA:
|
334
340
|
name: La Paz
|
335
|
-
code:
|
341
|
+
code: PA
|
336
342
|
unofficial_names: La Paz
|
337
343
|
geo:
|
338
344
|
latitude: 13.495364
|
@@ -388,9 +394,10 @@ PA:
|
|
388
394
|
uk: Департамент Ла-Пас
|
389
395
|
'no': La Paz department
|
390
396
|
comments:
|
397
|
+
type: departments
|
391
398
|
SA:
|
392
399
|
name: Santa Ana
|
393
|
-
code:
|
400
|
+
code: SA
|
394
401
|
unofficial_names: Santa Ana
|
395
402
|
geo:
|
396
403
|
latitude: 13.9778279
|
@@ -445,9 +452,10 @@ SA:
|
|
445
452
|
uk: Регіон Санта-Ана
|
446
453
|
'no': Santa Ana department
|
447
454
|
comments:
|
455
|
+
type: departments
|
448
456
|
SM:
|
449
457
|
name: San Miguel
|
450
|
-
code:
|
458
|
+
code: SM
|
451
459
|
unofficial_names: San Miguel
|
452
460
|
geo:
|
453
461
|
latitude: 13.4451041
|
@@ -503,9 +511,10 @@ SM:
|
|
503
511
|
uk: Регіон Сан-Мігель
|
504
512
|
'no': San Miguel department
|
505
513
|
comments:
|
514
|
+
type: departments
|
506
515
|
SO:
|
507
516
|
name: Sonsonate
|
508
|
-
code:
|
517
|
+
code: SO
|
509
518
|
unofficial_names: Sonsonate
|
510
519
|
geo:
|
511
520
|
latitude: 13.682358
|
@@ -561,9 +570,10 @@ SO:
|
|
561
570
|
cs: Sonsonate²
|
562
571
|
'no': Sonsonate department
|
563
572
|
comments:
|
573
|
+
type: departments
|
564
574
|
SS:
|
565
575
|
name: San Salvador
|
566
|
-
code:
|
576
|
+
code: SS
|
567
577
|
unofficial_names: San Salvador
|
568
578
|
geo:
|
569
579
|
latitude: 13.6929403
|
@@ -621,9 +631,10 @@ SS:
|
|
621
631
|
eu: San Salvador departamendua
|
622
632
|
'no': San Salvador
|
623
633
|
comments:
|
634
|
+
type: departments
|
624
635
|
SV:
|
625
636
|
name: San Vicente
|
626
|
-
code:
|
637
|
+
code: SV
|
627
638
|
unofficial_names: San Vicente
|
628
639
|
geo:
|
629
640
|
latitude: 13.5868561
|
@@ -678,9 +689,10 @@ SV:
|
|
678
689
|
uk: Регіон Сан-Вісенте
|
679
690
|
'no': San Vincente department
|
680
691
|
comments:
|
692
|
+
type: departments
|
681
693
|
UN:
|
682
694
|
name: La Unión
|
683
|
-
code:
|
695
|
+
code: UN
|
684
696
|
unofficial_names: La Unión
|
685
697
|
geo:
|
686
698
|
latitude: 13.336944
|
@@ -717,9 +729,10 @@ UN:
|
|
717
729
|
eu: La Unión departamendua
|
718
730
|
uk: Ла-Уніон
|
719
731
|
comments:
|
732
|
+
type: departments
|
720
733
|
US:
|
721
734
|
name: Usulután
|
722
|
-
code:
|
735
|
+
code: US
|
723
736
|
unofficial_names: Usulután
|
724
737
|
geo:
|
725
738
|
latitude: 13.35
|
@@ -774,3 +787,4 @@ US:
|
|
774
787
|
uk: Регіон Усулутан
|
775
788
|
'no': Usulutan department
|
776
789
|
comments:
|
790
|
+
type: departments
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
DI:
|
3
3
|
name: Dimashq
|
4
|
-
code:
|
4
|
+
code: DI
|
5
5
|
unofficial_names:
|
6
6
|
- Dimashq
|
7
7
|
- Madīnat Dimašq
|
@@ -47,9 +47,10 @@ DI:
|
|
47
47
|
de: Gouvernement Damaskus
|
48
48
|
'no': Damaskus
|
49
49
|
comments:
|
50
|
+
type: province
|
50
51
|
DR:
|
51
52
|
name: Dar'ā
|
52
|
-
code:
|
53
|
+
code: DR
|
53
54
|
unofficial_names:
|
54
55
|
- Dara
|
55
56
|
- Darā
|
@@ -101,9 +102,10 @@ DR:
|
|
101
102
|
zh: 德拉省
|
102
103
|
ccp: "\U00011113\U00011122\U00011133\U00011103"
|
103
104
|
comments:
|
105
|
+
type: province
|
104
106
|
DY:
|
105
107
|
name: Dayr az Zawr
|
106
|
-
code:
|
108
|
+
code: DY
|
107
109
|
unofficial_names:
|
108
110
|
- Deir El-Zor
|
109
111
|
- Deir-ez-Zor
|
@@ -167,9 +169,10 @@ DY:
|
|
167
169
|
ccp: "\U00011113\U00011120\U0001112C\U00011122\U00011134 \U00011103\U0001112C\U0001110C\U00011134-\U0001110E\U0001112E\U00011122\U00011134"
|
168
170
|
'no': Dayr az-Zawr
|
169
171
|
comments:
|
172
|
+
type: province
|
170
173
|
HA:
|
171
174
|
name: Al Ḩasakah
|
172
|
-
code:
|
175
|
+
code: HA
|
173
176
|
unofficial_names:
|
174
177
|
- El Haseke
|
175
178
|
- Hassetche
|
@@ -235,9 +238,10 @@ HA:
|
|
235
238
|
ccp: "\U00011103\U00011123\U00011134-\U0001111D\U00011125\U00011107\U00011134\U00011126\U00011134"
|
236
239
|
'no': Al-Hasakah
|
237
240
|
comments:
|
241
|
+
type: province
|
238
242
|
HI:
|
239
243
|
name: Ḩimş
|
240
|
-
code:
|
244
|
+
code: HI
|
241
245
|
unofficial_names:
|
242
246
|
- Hims
|
243
247
|
- Homs
|
@@ -303,9 +307,10 @@ HI:
|
|
303
307
|
ccp: "\U00011126\U00011127\U0001111F\U00011134\U0001110C\U00011134"
|
304
308
|
'no': Homs
|
305
309
|
comments:
|
310
|
+
type: province
|
306
311
|
HL:
|
307
312
|
name: Ḩalab
|
308
|
-
code:
|
313
|
+
code: HL
|
309
314
|
unofficial_names:
|
310
315
|
- Halab
|
311
316
|
- Haleb
|
@@ -362,9 +367,10 @@ HL:
|
|
362
367
|
be: Халеб
|
363
368
|
'no': Aleppo
|
364
369
|
comments:
|
370
|
+
type: province
|
365
371
|
HM:
|
366
372
|
name: Ḩamāh
|
367
|
-
code:
|
373
|
+
code: HM
|
368
374
|
unofficial_names:
|
369
375
|
- Hama
|
370
376
|
- Hamah
|
@@ -429,9 +435,10 @@ HM:
|
|
429
435
|
ccp: "\U00011126\U0001111F"
|
430
436
|
'no': Guvernementet Hama
|
431
437
|
comments:
|
438
|
+
type: province
|
432
439
|
ID:
|
433
440
|
name: Idlib
|
434
|
-
code:
|
441
|
+
code: ID
|
435
442
|
unofficial_names: Idlib
|
436
443
|
geo:
|
437
444
|
latitude: 35.933333
|
@@ -493,9 +500,10 @@ ID:
|
|
493
500
|
ccp: "\U00011103\U00011128\U00011116\U00011134\U00011123\U00011128\U0001111B\U00011134"
|
494
501
|
'no': Idlib
|
495
502
|
comments:
|
503
|
+
type: province
|
496
504
|
LA:
|
497
505
|
name: Al Ladhiqiyah
|
498
|
-
code:
|
506
|
+
code: LA
|
499
507
|
unofficial_names:
|
500
508
|
- Latakia
|
501
509
|
- Lattakia
|
@@ -551,9 +559,10 @@ LA:
|
|
551
559
|
ccp: "\U00011123\U00011111\U00011107\U00011128\U00011120"
|
552
560
|
'no': Latakia
|
553
561
|
comments:
|
562
|
+
type: province
|
554
563
|
QU:
|
555
564
|
name: Al Qunaytirah
|
556
|
-
code:
|
565
|
+
code: QU
|
557
566
|
unofficial_names:
|
558
567
|
- Quneitra
|
559
568
|
- al-Qunaytirah
|
@@ -615,9 +624,10 @@ QU:
|
|
615
624
|
ca: governació de Quneitra
|
616
625
|
'no': Al-Qunaytirah
|
617
626
|
comments:
|
627
|
+
type: province
|
618
628
|
RA:
|
619
629
|
name: Ar Raqqah
|
620
|
-
code:
|
630
|
+
code: RA
|
621
631
|
unofficial_names:
|
622
632
|
- Raqqah
|
623
633
|
- al-Rakka
|
@@ -670,9 +680,10 @@ RA:
|
|
670
680
|
mk: Рака
|
671
681
|
'no': Ar-Raqqah
|
672
682
|
comments:
|
683
|
+
type: province
|
673
684
|
RD:
|
674
685
|
name: Rif Dimashq
|
675
|
-
code:
|
686
|
+
code: RD
|
676
687
|
unofficial_names:
|
677
688
|
- Dimashq
|
678
689
|
- Dimašq
|
@@ -738,9 +749,10 @@ RD:
|
|
738
749
|
ccp: "\U00011122\U00011128\U0001111B\U00011134 \U00011113\U00011128\U0001111F\U0001110C\U00011134\U00011107\U00011134"
|
739
750
|
'no': Rif Dimashq
|
740
751
|
comments:
|
752
|
+
type: province
|
741
753
|
SU:
|
742
754
|
name: As Suwayda'
|
743
|
-
code:
|
755
|
+
code: SU
|
744
756
|
unofficial_names:
|
745
757
|
- as-Suwayda
|
746
758
|
geo:
|
@@ -802,9 +814,10 @@ SU:
|
|
802
814
|
ccp: "\U00011103\U0001110C\U00011134-\U00011125\U0001112A\U00011120\U0001112C\U00011113"
|
803
815
|
'no': as-Suwayda
|
804
816
|
comments:
|
817
|
+
type: province
|
805
818
|
TA:
|
806
819
|
name: Tartus
|
807
|
-
code:
|
820
|
+
code: TA
|
808
821
|
unofficial_names:
|
809
822
|
- Tartoûs
|
810
823
|
- Tartus
|
@@ -868,3 +881,4 @@ TA:
|
|
868
881
|
ccp: "\U00011111\U00011122\U00011134\U00011111\U0001110C\U00011134"
|
869
882
|
'no': Tartus
|
870
883
|
comments:
|
884
|
+
type: province
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
HH:
|
3
3
|
name: Hhohho
|
4
|
-
code:
|
4
|
+
code: HH
|
5
5
|
unofficial_names: Hhohho
|
6
6
|
geo:
|
7
7
|
latitude: -26.1365662
|
@@ -57,9 +57,10 @@ HH:
|
|
57
57
|
he: מחוז האהוהאהו
|
58
58
|
'no': Hhohho
|
59
59
|
comments:
|
60
|
+
type: region
|
60
61
|
LU:
|
61
62
|
name: Lubombo
|
62
|
-
code:
|
63
|
+
code: LU
|
63
64
|
unofficial_names:
|
64
65
|
- Lebombo
|
65
66
|
geo:
|
@@ -114,9 +115,10 @@ LU:
|
|
114
115
|
ca: Lubombo
|
115
116
|
'no': Lubombo
|
116
117
|
comments:
|
118
|
+
type: region
|
117
119
|
MA:
|
118
120
|
name: Manzini
|
119
|
-
code:
|
121
|
+
code: MA
|
120
122
|
unofficial_names: Manzini
|
121
123
|
geo:
|
122
124
|
latitude: -26.644588
|
@@ -169,9 +171,10 @@ MA:
|
|
169
171
|
he: מחוז מנזיני
|
170
172
|
'no': Manzini
|
171
173
|
comments:
|
174
|
+
type: region
|
172
175
|
SH:
|
173
176
|
name: Shiselweni
|
174
|
-
code:
|
177
|
+
code: SH
|
175
178
|
unofficial_names: Shiselweni
|
176
179
|
geo:
|
177
180
|
latitude: -26.9827577
|
@@ -225,3 +228,4 @@ SH:
|
|
225
228
|
he: מחוז שיסלוואני
|
226
229
|
'no': Shiselweni
|
227
230
|
comments:
|
231
|
+
type: region
|