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
|
'0':
|
3
3
|
name: Reykjavík
|
4
|
-
code:
|
4
|
+
code: '0'
|
5
5
|
unofficial_names: Reykjavík
|
6
6
|
geo:
|
7
7
|
latitude: 64.133333
|
@@ -14,9 +14,10 @@
|
|
14
14
|
en: Reykjavík
|
15
15
|
ccp: "\U00011122\U00011128\U00011120\U0001110E\U0001111E\U00011128\U00011107\U00011134"
|
16
16
|
comments:
|
17
|
+
type: region
|
17
18
|
'1':
|
18
19
|
name: Höfuðborgarsvæði utan Reykjavíkur
|
19
|
-
code:
|
20
|
+
code: '1'
|
20
21
|
unofficial_names: Höfuðborgarsvæði utan Reykjavíkur
|
21
22
|
geo:
|
22
23
|
latitude: 64.1475182
|
@@ -83,9 +84,10 @@
|
|
83
84
|
mk: Престолнински регион
|
84
85
|
'no': Höfuðborgarsvæðið
|
85
86
|
comments:
|
87
|
+
type: region
|
86
88
|
'2':
|
87
89
|
name: Suðurnes
|
88
|
-
code:
|
90
|
+
code: '2'
|
89
91
|
unofficial_names: Suðurnes
|
90
92
|
geo:
|
91
93
|
latitude: 63.91548030000001
|
@@ -151,9 +153,10 @@
|
|
151
153
|
mk: Јужен Полуостров
|
152
154
|
'no': Suðurnes
|
153
155
|
comments:
|
156
|
+
type: region
|
154
157
|
'3':
|
155
158
|
name: Vesturland
|
156
|
-
code:
|
159
|
+
code: '3'
|
157
160
|
unofficial_names: Vesturland
|
158
161
|
geo:
|
159
162
|
latitude: 64.770434
|
@@ -219,9 +222,10 @@
|
|
219
222
|
bg: Вестюрланд
|
220
223
|
'no': Vesturland
|
221
224
|
comments:
|
225
|
+
type: region
|
222
226
|
'4':
|
223
227
|
name: Vestfirðir
|
224
|
-
code:
|
228
|
+
code: '4'
|
225
229
|
unofficial_names: Vestfirðir
|
226
230
|
geo:
|
227
231
|
latitude: 65.91961500000001
|
@@ -288,9 +292,10 @@
|
|
288
292
|
mk: Западни Фјордови
|
289
293
|
'no': Vestfirðir
|
290
294
|
comments:
|
295
|
+
type: region
|
291
296
|
'5':
|
292
297
|
name: Norðurland vestra
|
293
|
-
code:
|
298
|
+
code: '5'
|
294
299
|
unofficial_names: Norðurland vestra
|
295
300
|
geo:
|
296
301
|
latitude: 65.19625049999999
|
@@ -354,9 +359,10 @@
|
|
354
359
|
mk: Северозападен регион
|
355
360
|
'no': Norðurland vestra
|
356
361
|
comments:
|
362
|
+
type: region
|
357
363
|
'6':
|
358
364
|
name: Norðurland eystra
|
359
|
-
code:
|
365
|
+
code: '6'
|
360
366
|
unofficial_names: Norðurland eystra
|
361
367
|
geo:
|
362
368
|
latitude: 65.4713712
|
@@ -422,9 +428,10 @@
|
|
422
428
|
mk: Североисточен регион
|
423
429
|
'no': Norðurland eystra
|
424
430
|
comments:
|
431
|
+
type: region
|
425
432
|
'7':
|
426
433
|
name: Austurland
|
427
|
-
code:
|
434
|
+
code: '7'
|
428
435
|
unofficial_names: Austurland
|
429
436
|
geo:
|
430
437
|
latitude: 64.8329974
|
@@ -490,9 +497,10 @@
|
|
490
497
|
mk: Источен регион
|
491
498
|
'no': Austurland
|
492
499
|
comments:
|
500
|
+
type: region
|
493
501
|
'8':
|
494
502
|
name: Suðurland
|
495
|
-
code:
|
503
|
+
code: '8'
|
496
504
|
unofficial_names: Suðurland
|
497
505
|
geo:
|
498
506
|
latitude: 64.2661426
|
@@ -559,291 +567,418 @@
|
|
559
567
|
mk: Јужен регион
|
560
568
|
'no': Suðurland
|
561
569
|
comments:
|
570
|
+
type: region
|
562
571
|
AKH:
|
563
572
|
translations:
|
564
573
|
en: Akrahreppur
|
565
574
|
name: Akrahreppur
|
575
|
+
code: AKH
|
576
|
+
type: municipality
|
566
577
|
AKN:
|
567
578
|
translations:
|
568
579
|
en: Akraneskaupstaður
|
569
580
|
name: Akraneskaupstaður
|
581
|
+
code: AKN
|
582
|
+
type: municipality
|
570
583
|
AKU:
|
571
584
|
translations:
|
572
585
|
en: Akureyrarbær
|
573
586
|
name: Akureyrarbær
|
587
|
+
code: AKU
|
588
|
+
type: municipality
|
574
589
|
ARN:
|
575
590
|
translations:
|
576
591
|
en: Árneshreppur
|
577
592
|
name: Árneshreppur
|
593
|
+
code: ARN
|
594
|
+
type: municipality
|
578
595
|
ASA:
|
579
596
|
translations:
|
580
597
|
en: Ásahreppur
|
581
598
|
name: Ásahreppur
|
582
|
-
|
583
|
-
|
584
|
-
en: Borgarfjarðarhreppur
|
585
|
-
name: Borgarfjarðarhreppur
|
599
|
+
code: ASA
|
600
|
+
type: municipality
|
586
601
|
BLA:
|
587
602
|
translations:
|
588
603
|
en: Bláskógabyggð
|
589
604
|
name: Bláskógabyggð
|
605
|
+
code: BLA
|
606
|
+
type: municipality
|
590
607
|
BLO:
|
591
608
|
translations:
|
592
609
|
en: Blönduósbær
|
593
610
|
name: Blönduósbær
|
611
|
+
code: BLO
|
612
|
+
type: municipality
|
594
613
|
BOG:
|
595
614
|
translations:
|
596
615
|
en: Borgarbyggð
|
597
616
|
name: Borgarbyggð
|
617
|
+
code: BOG
|
618
|
+
type: municipality
|
598
619
|
BOL:
|
599
620
|
translations:
|
600
621
|
en: Bolungarvíkurkaupstaður
|
601
622
|
name: Bolungarvíkurkaupstaður
|
623
|
+
code: BOL
|
624
|
+
type: municipality
|
602
625
|
DAB:
|
603
626
|
translations:
|
604
627
|
en: Dalabyggð
|
605
628
|
name: Dalabyggð
|
629
|
+
code: DAB
|
630
|
+
type: municipality
|
606
631
|
DAV:
|
607
632
|
translations:
|
608
633
|
en: Dalvíkurbyggð
|
609
634
|
name: Dalvíkurbyggð
|
610
|
-
|
611
|
-
|
612
|
-
en: Djúpavogshreppur
|
613
|
-
name: Djúpavogshreppur
|
635
|
+
code: DAV
|
636
|
+
type: municipality
|
614
637
|
EOM:
|
615
638
|
translations:
|
616
639
|
en: Eyja- og Miklaholtshreppur
|
617
640
|
name: Eyja- og Miklaholtshreppur
|
641
|
+
code: EOM
|
642
|
+
type: municipality
|
618
643
|
EYF:
|
619
644
|
translations:
|
620
645
|
en: Eyjafjarðarsveit
|
621
646
|
name: Eyjafjarðarsveit
|
647
|
+
code: EYF
|
648
|
+
type: municipality
|
622
649
|
FJD:
|
623
650
|
translations:
|
624
651
|
en: Fjarðabyggð
|
625
652
|
name: Fjarðabyggð
|
653
|
+
code: FJD
|
654
|
+
type: municipality
|
626
655
|
FJL:
|
627
656
|
translations:
|
628
657
|
en: Fjallabyggð
|
629
658
|
name: Fjallabyggð
|
659
|
+
code: FJL
|
660
|
+
type: municipality
|
630
661
|
FLA:
|
631
662
|
translations:
|
632
663
|
en: Flóahreppur
|
633
664
|
name: Flóahreppur
|
634
|
-
|
635
|
-
|
636
|
-
en: Fljótsdalshérað
|
637
|
-
name: Fljótsdalshérað
|
665
|
+
code: FLA
|
666
|
+
type: municipality
|
638
667
|
FLR:
|
639
668
|
translations:
|
640
669
|
en: Fljótsdalshreppur
|
641
670
|
name: Fljótsdalshreppur
|
671
|
+
code: FLR
|
672
|
+
type: municipality
|
642
673
|
GAR:
|
643
674
|
translations:
|
644
675
|
en: Garðabær
|
645
676
|
name: Garðabær
|
677
|
+
code: GAR
|
678
|
+
type: municipality
|
646
679
|
GOG:
|
647
680
|
translations:
|
648
681
|
en: Grímsnes- og Grafningshreppur
|
649
682
|
name: Grímsnes- og Grafningshreppur
|
683
|
+
code: GOG
|
684
|
+
type: municipality
|
650
685
|
GRN:
|
651
686
|
translations:
|
652
687
|
en: Grindavíkurbær
|
653
688
|
name: Grindavíkurbær
|
689
|
+
code: GRN
|
690
|
+
type: municipality
|
654
691
|
GRU:
|
655
692
|
translations:
|
656
693
|
en: Grundarfjarðarbær
|
657
694
|
name: Grundarfjarðarbær
|
695
|
+
code: GRU
|
696
|
+
type: municipality
|
658
697
|
GRY:
|
659
698
|
translations:
|
660
699
|
en: Grýtubakkahreppur
|
661
700
|
name: Grýtubakkahreppur
|
701
|
+
code: GRY
|
702
|
+
type: municipality
|
662
703
|
HAF:
|
663
704
|
translations:
|
664
705
|
en: Hafnarfjarðarkaupstaður
|
665
706
|
name: Hafnarfjarðarkaupstaður
|
707
|
+
code: HAF
|
708
|
+
type: municipality
|
666
709
|
HEL:
|
667
710
|
translations:
|
668
711
|
en: Helgafellssveit
|
669
712
|
name: Helgafellssveit
|
713
|
+
code: HEL
|
714
|
+
type: municipality
|
670
715
|
HRG:
|
671
716
|
translations:
|
672
717
|
en: Hörgársveit
|
673
718
|
name: Hörgársveit
|
719
|
+
code: HRG
|
720
|
+
type: municipality
|
674
721
|
HRU:
|
675
722
|
translations:
|
676
723
|
en: Hrunamannahreppur
|
677
724
|
name: Hrunamannahreppur
|
725
|
+
code: HRU
|
726
|
+
type: municipality
|
678
727
|
HUT:
|
679
728
|
translations:
|
680
729
|
en: Húnavatnshreppur
|
681
730
|
name: Húnavatnshreppur
|
731
|
+
code: HUT
|
732
|
+
type: municipality
|
682
733
|
HUV:
|
683
734
|
translations:
|
684
735
|
en: Húnaþing vestra
|
685
736
|
name: Húnaþing vestra
|
737
|
+
code: HUV
|
738
|
+
type: municipality
|
686
739
|
HVA:
|
687
740
|
translations:
|
688
741
|
en: Hvalfjarðarsveit
|
689
742
|
name: Hvalfjarðarsveit
|
743
|
+
code: HVA
|
744
|
+
type: municipality
|
690
745
|
HVE:
|
691
746
|
translations:
|
692
747
|
en: Hveragerðisbær
|
693
748
|
name: Hveragerðisbær
|
749
|
+
code: HVE
|
750
|
+
type: municipality
|
694
751
|
ISA:
|
695
752
|
translations:
|
696
753
|
en: Ísafjarðarbær
|
697
754
|
name: Ísafjarðarbær
|
755
|
+
code: ISA
|
756
|
+
type: municipality
|
698
757
|
KAL:
|
699
758
|
translations:
|
700
759
|
en: Kaldrananeshreppur
|
701
760
|
name: Kaldrananeshreppur
|
761
|
+
code: KAL
|
762
|
+
type: municipality
|
702
763
|
KJO:
|
703
764
|
translations:
|
704
765
|
en: Kjósarhreppur
|
705
766
|
name: Kjósarhreppur
|
767
|
+
code: KJO
|
768
|
+
type: municipality
|
706
769
|
KOP:
|
707
770
|
translations:
|
708
771
|
en: Kópavogsbær
|
709
772
|
name: Kópavogsbær
|
773
|
+
code: KOP
|
774
|
+
type: municipality
|
710
775
|
LAN:
|
711
776
|
translations:
|
712
777
|
en: Langanesbyggð
|
713
778
|
name: Langanesbyggð
|
779
|
+
code: LAN
|
780
|
+
type: municipality
|
714
781
|
MOS:
|
715
782
|
translations:
|
716
783
|
en: Mosfellsbær
|
717
784
|
name: Mosfellsbær
|
785
|
+
code: MOS
|
786
|
+
type: municipality
|
787
|
+
MUL:
|
788
|
+
translations:
|
789
|
+
en: Múlaþing
|
790
|
+
name: Múlaþing
|
791
|
+
code: MUL
|
792
|
+
type: municipality
|
718
793
|
MYR:
|
719
794
|
translations:
|
720
795
|
en: Mýrdalshreppur
|
721
796
|
name: Mýrdalshreppur
|
797
|
+
code: MYR
|
798
|
+
type: municipality
|
722
799
|
NOR:
|
723
800
|
translations:
|
724
801
|
en: Norðurþing
|
725
802
|
name: Norðurþing
|
803
|
+
code: NOR
|
804
|
+
type: municipality
|
726
805
|
RGE:
|
727
806
|
translations:
|
728
807
|
en: Rangárþing eystra
|
729
808
|
name: Rangárþing eystra
|
809
|
+
code: RGE
|
810
|
+
type: municipality
|
730
811
|
RGY:
|
731
812
|
translations:
|
732
813
|
en: Rangárþing ytra
|
733
814
|
name: Rangárþing ytra
|
815
|
+
code: RGY
|
816
|
+
type: municipality
|
734
817
|
RHH:
|
735
818
|
translations:
|
736
819
|
en: Reykhólahreppur
|
737
820
|
name: Reykhólahreppur
|
821
|
+
code: RHH
|
822
|
+
type: municipality
|
738
823
|
RKN:
|
739
824
|
translations:
|
740
825
|
en: Reykjanesbær
|
741
826
|
name: Reykjanesbær
|
827
|
+
code: RKN
|
828
|
+
type: municipality
|
742
829
|
RKV:
|
743
830
|
translations:
|
744
831
|
en: Reykjavíkurborg
|
745
832
|
name: Reykjavíkurborg
|
833
|
+
code: RKV
|
834
|
+
type: municipality
|
746
835
|
SBH:
|
747
836
|
translations:
|
748
837
|
en: Svalbarðshreppur
|
749
838
|
name: Svalbarðshreppur
|
839
|
+
code: SBH
|
840
|
+
type: municipality
|
750
841
|
SBT:
|
751
842
|
translations:
|
752
843
|
en: Svalbarðsstrandarhreppur
|
753
844
|
name: Svalbarðsstrandarhreppur
|
845
|
+
code: SBT
|
846
|
+
type: municipality
|
754
847
|
SDN:
|
755
848
|
translations:
|
756
849
|
en: Suðurnesjabær
|
757
850
|
name: Suðurnesjabær
|
851
|
+
code: SDN
|
852
|
+
type: municipality
|
758
853
|
SDV:
|
759
854
|
translations:
|
760
855
|
en: Súðavíkurhreppur
|
761
856
|
name: Súðavíkurhreppur
|
857
|
+
code: SDV
|
858
|
+
type: municipality
|
762
859
|
SEL:
|
763
860
|
translations:
|
764
861
|
en: Seltjarnarnesbær
|
765
862
|
name: Seltjarnarnesbær
|
766
|
-
|
767
|
-
|
768
|
-
en: Seyðisfjarðarkaupstaður
|
769
|
-
name: Seyðisfjarðarkaupstaður
|
863
|
+
code: SEL
|
864
|
+
type: municipality
|
770
865
|
SFA:
|
771
866
|
translations:
|
772
867
|
en: Sveitarfélagið Árborg
|
773
868
|
name: Sveitarfélagið Árborg
|
869
|
+
code: SFA
|
870
|
+
type: municipality
|
774
871
|
SHF:
|
775
872
|
translations:
|
776
873
|
en: Sveitarfélagið Hornafjörður
|
777
874
|
name: Sveitarfélagið Hornafjörður
|
875
|
+
code: SHF
|
876
|
+
type: municipality
|
778
877
|
SKF:
|
779
878
|
translations:
|
780
879
|
en: Skaftárhreppur
|
781
880
|
name: Skaftárhreppur
|
881
|
+
code: SKF
|
882
|
+
type: municipality
|
782
883
|
SKG:
|
783
884
|
translations:
|
784
885
|
en: Skagabyggð
|
785
886
|
name: Skagabyggð
|
887
|
+
code: SKG
|
888
|
+
type: municipality
|
786
889
|
SKO:
|
787
890
|
translations:
|
788
891
|
en: Skorradalshreppur
|
789
892
|
name: Skorradalshreppur
|
893
|
+
code: SKO
|
894
|
+
type: municipality
|
790
895
|
SKU:
|
791
896
|
translations:
|
792
897
|
en: Skútustaðahreppur
|
793
898
|
name: Skútustaðahreppur
|
899
|
+
code: SKU
|
900
|
+
type: municipality
|
794
901
|
SNF:
|
795
902
|
translations:
|
796
903
|
en: Snæfellsbær
|
797
904
|
name: Snæfellsbær
|
905
|
+
code: SNF
|
906
|
+
type: municipality
|
798
907
|
SOG:
|
799
908
|
translations:
|
800
909
|
en: Skeiða- og Gnúpverjahreppur
|
801
910
|
name: Skeiða- og Gnúpverjahreppur
|
911
|
+
code: SOG
|
912
|
+
type: municipality
|
802
913
|
SOL:
|
803
914
|
translations:
|
804
915
|
en: Sveitarfélagið Ölfus
|
805
916
|
name: Sveitarfélagið Ölfus
|
917
|
+
code: SOL
|
918
|
+
type: municipality
|
806
919
|
SSF:
|
807
920
|
translations:
|
808
921
|
en: Sveitarfélagið Skagafjörður
|
809
922
|
name: Sveitarfélagið Skagafjörður
|
923
|
+
code: SSF
|
924
|
+
type: municipality
|
810
925
|
SSS:
|
811
926
|
translations:
|
812
927
|
en: Sveitarfélagið Skagaströnd
|
813
928
|
name: Sveitarfélagið Skagaströnd
|
929
|
+
code: SSS
|
930
|
+
type: municipality
|
814
931
|
STR:
|
815
932
|
translations:
|
816
933
|
en: Strandabyggð
|
817
934
|
name: Strandabyggð
|
935
|
+
code: STR
|
936
|
+
type: municipality
|
818
937
|
STY:
|
819
938
|
translations:
|
820
939
|
en: Stykkishólmsbær
|
821
940
|
name: Stykkishólmsbær
|
941
|
+
code: STY
|
942
|
+
type: municipality
|
822
943
|
SVG:
|
823
944
|
translations:
|
824
945
|
en: Sveitarfélagið Vogar
|
825
946
|
name: Sveitarfélagið Vogar
|
947
|
+
code: SVG
|
948
|
+
type: municipality
|
826
949
|
TAL:
|
827
950
|
translations:
|
828
951
|
en: Tálknafjarðarhreppur
|
829
952
|
name: Tálknafjarðarhreppur
|
953
|
+
code: TAL
|
954
|
+
type: municipality
|
830
955
|
THG:
|
831
956
|
translations:
|
832
957
|
en: Þingeyjarsveit
|
833
958
|
name: Þingeyjarsveit
|
959
|
+
code: THG
|
960
|
+
type: municipality
|
834
961
|
TJO:
|
835
962
|
translations:
|
836
963
|
en: Tjörneshreppur
|
837
964
|
name: Tjörneshreppur
|
965
|
+
code: TJO
|
966
|
+
type: municipality
|
838
967
|
VEM:
|
839
968
|
translations:
|
840
969
|
en: Vestmannaeyjabær
|
841
970
|
name: Vestmannaeyjabær
|
971
|
+
code: VEM
|
972
|
+
type: municipality
|
842
973
|
VER:
|
843
974
|
translations:
|
844
975
|
en: Vesturbyggð
|
845
976
|
name: Vesturbyggð
|
977
|
+
code: VER
|
978
|
+
type: municipality
|
846
979
|
VOP:
|
847
980
|
translations:
|
848
981
|
en: Vopnafjarðarhreppur
|
849
982
|
name: Vopnafjarðarhreppur
|
983
|
+
code: VOP
|
984
|
+
type: municipality
|