carmen 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore CHANGED
@@ -2,3 +2,4 @@ doc
2
2
  pkg
3
3
  tags
4
4
  tmp
5
+ .DS_Store
data/README.rdoc CHANGED
@@ -2,10 +2,28 @@
2
2
 
3
3
  This library will work as a drop in replacement for the official Rails country_select and its various forks. The idea is to provide a single library for all geographic naming concerns, and unify them under a consistent API.
4
4
 
5
- States are supported for the following countries: Australia, Brazil, Canada, Cuba, Germany, Italy, Mexico, Ukraine, and United States.
5
+ States are supported for the following countries: Australia, Brazil, Canada, Cuba, Denmark, Germany, Italy, Mexico, Norway, Spain, Ukraine, and United States.
6
6
 
7
- == State list retrieval
7
+ == Installation
8
+
9
+ gem install carmen
10
+
11
+ If you're in Rails 2.3 or earlier, place this in your environment.rb:
12
+
13
+ config.gem 'carmen'
14
+
15
+ If you're in Rails 3, put this in your Gemfile:
16
+
17
+ gem "carmen"
8
18
 
19
+
20
+ == Get a list of all countries
21
+
22
+ Carmen.countries => […, ['Germany', 'DE'], …, ['United States', 'US'], …]
23
+ Carmen.countries(:locale => 'de') => […, ['Deutschland', 'DE'], …, ['Vereinigte Staaten von Amerika', 'US'], …]
24
+
25
+ == State list retrieval
26
+
9
27
  Carmen::states('US') => [['Alabama', 'AL'], ['Arkansas', 'AR'], ... ]
10
28
  Carmen::states => [['Alabama', 'AL'], ['Arkansas', 'AR'], ... ] # uses default country
11
29
  Carmen::state_names('US') => ['Alabama', 'Arkansas', ... ]
@@ -19,17 +37,61 @@ States are supported for the following countries: Australia, Brazil, Canada, Cub
19
37
  Carmen::state_code('Manitoba', 'CA') => 'MB'
20
38
  Carmen::state_name('AZ') => 'Arizona'
21
39
 
22
- == The Data
23
40
 
24
- The raw lists are stored in constants
41
+ == Default Country
25
42
 
26
- Carmen::COUNTRIES => [['Afghanistan', 'AF'], ['Aland Islands', 'AX'], ]
43
+ Methods that take a country code argument will use the default country if none is provided. The default default country is 'US'. You can change it to any country code:
27
44
 
28
- Carmen::STATES => [['US', [['Alabama', 'AL'], ['Arkansas', 'AR'], ... ],
29
- ['CA', [['Alberta', 'AB'], ['British Columbia', 'BC'], ... ]]
45
+ Carmen.default_country = 'CA'
30
46
 
31
- == Default Country
47
+ == Localization
32
48
 
33
- Methods that take a country code argument will use the default country if none is provided. The default default country is 'US'. You can change it to any country code:
49
+ You can switch between different localizations of the countries list, by setting the locale value (default is :en):
50
+
51
+ Carmen.default_locale = :de
52
+
53
+ Methods that return country names also take an optional options hash as the last argument, which can be use to override the default locale for a single call:
54
+
55
+ Carmen::country_name('US') => 'United States'
56
+ Carmen::country_name('US', :locale => :de) => 'Vereinigte Staaten von Amerika'
57
+
58
+ Currently included localizations are: English (:en), German (:de)
59
+
60
+
61
+ == Todo
62
+
63
+ * Many countries, such as Spain, have additional levels beneath 'state' that we would ideally support. Thanks to Alberto Molpeceres for bringing this to my attention.
64
+ * Split the Rails-specific view helpers out into a separate gem (carmen-rails)
65
+
66
+ == Changelog
67
+ * 0.2.0 Merge in Maximilian Schulz's locale fork, refactor internals to better support locales, and update documentation.
68
+ Remove Carmen::STATES and Carmen::COUNTRIES constants in favor of module instance variables and proper accessors.
69
+ Add a test_helper and remove dependency on RubyGems.
70
+ * 0.1.3 DEPRECATE Carmen::COUNTRIES in favor of Carmen.countries
71
+
72
+
73
+ == Development notes
74
+
75
+ The plugin does not require rubygems anywhere in the test or libraries, so if you are having trouble with load errors running the tests, prepend your command with RUBYOPT=rubygems. {More info}[http://tomayko.com/writings/require-rubygems-antipattern].
76
+
77
+
78
+ == Credits
79
+
80
+ These fine characters have contributed state lists, patches, or reported bugs:
81
+
82
+ Jose Angel Cortinas (jacortinas)
83
+ Domizio Demichelis (ddnexus)
84
+ Thiago Jackiw (railsfreaks)
85
+ Russ Johnson (russjohnson)
86
+ Henrik Hodne (dvyjones)
87
+ Yuval Kordov (uberllama)
88
+ Alberto Molpeceres (molpe)
89
+ Dimas Priyanto (dimaspriyanto)
90
+ Wojtek Ogrodowczyk (sharnik)
91
+ Tobias Schmidt (grobie)
92
+ Maximilian Schulz (namxam)
93
+ Mani Tadayon (bowsersenior)
94
+ Andriy Tyurnikov (andriytyurnikov)
95
+ lonestarsoftware
34
96
 
35
- Carmen.default_country = 'CA'
97
+ If I missed your name in this list, please let me know and I will add it. I tried to find everyone that has sent in patches or found bugs, but I may have missed a few folks.
data/Rakefile CHANGED
@@ -11,11 +11,12 @@ begin
11
11
  gem.email = "jim@autonomousmachine.com"
12
12
  gem.homepage = "http://github.com/jim/carmen"
13
13
  gem.authors = ["Jim Benton"]
14
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
14
+ gem.add_development_dependency "mocha"
15
+ gem.add_development_dependency "rails"
15
16
  end
16
17
  Jeweler::GemcutterTasks.new
17
18
  rescue LoadError
18
- puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
19
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
19
20
  end
20
21
 
21
22
  require 'rake/testtask'
@@ -34,7 +35,7 @@ begin
34
35
  end
35
36
  rescue LoadError
36
37
  task :rcov do
37
- abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
38
+ abort "RCov is not available. In order to run rcov, you must: gem install spicycode-rcov"
38
39
  end
39
40
  end
40
41
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.2.0
data/carmen.gemspec CHANGED
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{carmen}
8
- s.version = "0.1.1"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jim Benton"]
12
- s.date = %q{2010-01-09}
12
+ s.date = %q{2010-11-05}
13
13
  s.description = %q{A collection of geographis country and state names for Ruby. Also includes replacements for Rails' country_select and state_select plugins}
14
14
  s.email = %q{jim@autonomousmachine.com}
15
15
  s.extra_rdoc_files = [
@@ -22,40 +22,53 @@ Gem::Specification.new do |s|
22
22
  "Rakefile",
23
23
  "VERSION",
24
24
  "carmen.gemspec",
25
- "data/countries.yml",
25
+ "data/countries/de.yml",
26
+ "data/countries/en.yml",
26
27
  "data/states/au.yml",
27
28
  "data/states/br.yml",
28
29
  "data/states/ca.yml",
29
30
  "data/states/cu.yml",
30
31
  "data/states/de.yml",
31
32
  "data/states/dk.yml",
33
+ "data/states/es.yml",
34
+ "data/states/hr.yml",
32
35
  "data/states/it.yml",
33
36
  "data/states/mx.yml",
37
+ "data/states/no.yml",
34
38
  "data/states/ua.yml",
35
39
  "data/states/us.yml",
36
40
  "lib/carmen.rb",
37
41
  "lib/carmen/action_view_helpers.rb",
38
42
  "rails/init.rb",
39
43
  "test/carmen_test.rb",
40
- "test/carmen_view_helper_test.rb"
44
+ "test/carmen_view_helper_test.rb",
45
+ "test/test_helper.rb"
41
46
  ]
42
47
  s.homepage = %q{http://github.com/jim/carmen}
43
48
  s.rdoc_options = ["--charset=UTF-8"]
44
49
  s.require_paths = ["lib"]
45
- s.rubygems_version = %q{1.3.5}
50
+ s.rubygems_version = %q{1.3.7}
46
51
  s.summary = %q{A collection of geographis country and state names for Ruby}
47
52
  s.test_files = [
48
53
  "test/carmen_test.rb",
49
- "test/carmen_view_helper_test.rb"
54
+ "test/carmen_view_helper_test.rb",
55
+ "test/test_helper.rb"
50
56
  ]
51
57
 
52
58
  if s.respond_to? :specification_version then
53
59
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
54
60
  s.specification_version = 3
55
61
 
56
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
62
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
63
+ s.add_development_dependency(%q<mocha>, [">= 0"])
64
+ s.add_development_dependency(%q<rails>, [">= 0"])
57
65
  else
66
+ s.add_dependency(%q<mocha>, [">= 0"])
67
+ s.add_dependency(%q<rails>, [">= 0"])
58
68
  end
59
69
  else
70
+ s.add_dependency(%q<mocha>, [">= 0"])
71
+ s.add_dependency(%q<rails>, [">= 0"])
60
72
  end
61
73
  end
74
+
@@ -0,0 +1,525 @@
1
+ ---
2
+ - - "Ascension (verwaltet von St. Helena)"
3
+ - AC
4
+ - - Andorra
5
+ - AD
6
+ - - Vereinigte Arabische Emirate
7
+ - AE
8
+ - - Afghanistan
9
+ - AF
10
+ - - Antigua und Barbuda
11
+ - AG
12
+ - - Anguilla
13
+ - AI
14
+ - - Albanien
15
+ - AL
16
+ - - Armenien
17
+ - AM
18
+ - - "Niederländische Antillen"
19
+ - AN
20
+ - - Angola
21
+ - AO
22
+ - - Antarktis
23
+ - AQ
24
+ - - Argentinien
25
+ - AR
26
+ - - Amerikanisch-Samoa
27
+ - AS
28
+ - - Österreich
29
+ - AT
30
+ - - Australien
31
+ - AU
32
+ - - Aruba
33
+ - AW
34
+ - - "Åland"
35
+ - AX
36
+ - - Aserbaidschan
37
+ - AZ
38
+ - - Bosnien und Herzegowina
39
+ - BA
40
+ - - Barbados
41
+ - BB
42
+ - - Bangladesch
43
+ - BD
44
+ - - Belgien
45
+ - BE
46
+ - - Burkina Faso
47
+ - BF
48
+ - - Bulgarien
49
+ - BG
50
+ - - Bahrain
51
+ - BH
52
+ - - Burundi
53
+ - BI
54
+ - - Benin
55
+ - BJ
56
+ - - "Saint-Barthélemy"
57
+ - BL
58
+ - - Bermuda
59
+ - BM
60
+ - - Brunei Darussalam
61
+ - BN
62
+ - - Bolivien
63
+ - BO
64
+ - - Brasilien
65
+ - BR
66
+ - - Bahamas
67
+ - BS
68
+ - - Bhutan
69
+ - BT
70
+ - - Burma (jetzt Myanmar)
71
+ - BU
72
+ - - Bouvetinsel
73
+ - BV
74
+ - - Botswana
75
+ - BW
76
+ - - "Belarus (Weißrussland)"
77
+ - BY
78
+ - - Belize
79
+ - BZ
80
+ - - Kanada
81
+ - CA
82
+ - - Kokosinseln
83
+ - CC
84
+ - - Kongo, Demokratische Republik (ehem. Zaire)
85
+ - CD
86
+ - - "Europäische Gemeinschaft"
87
+ - CE
88
+ - - Zentralafrikanische Republik
89
+ - CF
90
+ - - Republik Kongo
91
+ - CG
92
+ - - Schweiz (Confoederatio Helvetica)
93
+ - CH
94
+ - - "Côte d'Ivoire (Elfenbeinküste)"
95
+ - CI
96
+ - - Cookinseln
97
+ - CK
98
+ - - Chile
99
+ - CL
100
+ - - Kamerun
101
+ - CM
102
+ - - China, Volksrepublik
103
+ - CN
104
+ - - Kolumbien
105
+ - CO
106
+ - - "Clipperton"
107
+ - CP
108
+ - - Costa Rica
109
+ - CR
110
+ - - Serbien und Montenegro (ehemalig)
111
+ - CS
112
+ - - Tschechoslowakei (ehemalig)
113
+ - CS
114
+ - - Kuba
115
+ - CU
116
+ - - Kap Verde
117
+ - CV
118
+ - - Weihnachtsinsel
119
+ - CX
120
+ - - Zypern
121
+ - CY
122
+ - - Tschechische Republik
123
+ - CZ
124
+ - - Deutschland
125
+ - DE
126
+ - - "Diego Garcia"
127
+ - DG
128
+ - - Dschibuti
129
+ - DJ
130
+ - - "Dänemark"
131
+ - DK
132
+ - - Dominica
133
+ - DM
134
+ - - Dominikanische Republik
135
+ - DO
136
+ - - Algerien
137
+ - DZ
138
+ - - Ceuta, Melilla
139
+ - EA
140
+ - - Ecuador
141
+ - EC
142
+ - - Estland
143
+ - EE
144
+ - - "Ägypten"
145
+ - EG
146
+ - - Westsahara
147
+ - EH
148
+ - - Eritrea
149
+ - ER
150
+ - - Spanien
151
+ - ES
152
+ - - "Äthiopien"
153
+ - ET
154
+ - - "Europäische Union"
155
+ - EU
156
+ - - Finnland
157
+ - FI (SF)
158
+ - - Fidschi
159
+ - FJ
160
+ - - Falklandinseln
161
+ - FK
162
+ - - Mikronesien
163
+ - FM
164
+ - - "Färöer"
165
+ - FO
166
+ - - Frankreich
167
+ - FR
168
+ - - "Frankreich (ohne Übersee-Départements)"
169
+ - FX
170
+ - - Gabun
171
+ - GA
172
+ - - "Vereinigtes Königreich Großritannien und Nordirland"
173
+ - GB
174
+ - - Grenada
175
+ - GD
176
+ - - Georgien
177
+ - GE
178
+ - - "Französisch-Guayana"
179
+ - GF
180
+ - - Guernsey (Kanalinsel)
181
+ - GG
182
+ - - Ghana
183
+ - GH
184
+ - - Gibraltar
185
+ - GI
186
+ - - "Grönland"
187
+ - GL
188
+ - - Gambia
189
+ - GM
190
+ - - Guinea
191
+ - GN
192
+ - - Guadeloupe
193
+ - GP
194
+ - - "Äquatorialguinea"
195
+ - GQ
196
+ - - Griechenland
197
+ - GR
198
+ - - "Südgeorgien und die Südlichen Sandwichinseln"
199
+ - GS
200
+ - - Guatemala
201
+ - GT
202
+ - - Guam
203
+ - GU
204
+ - - Guinea-Bissau
205
+ - GW
206
+ - - Guyana
207
+ - GY
208
+ - - Hongkong
209
+ - HK
210
+ - - Heard und McDonaldinseln
211
+ - HM
212
+ - - Honduras
213
+ - HN
214
+ - - Kroatien
215
+ - HR
216
+ - - Haiti
217
+ - HT
218
+ - - Ungarn
219
+ - HU
220
+ - - Kanarische Inseln
221
+ - IC
222
+ - - Indonesien
223
+ - ID
224
+ - - Irland
225
+ - IE
226
+ - - Israel
227
+ - IL
228
+ - - Insel Man
229
+ - IM
230
+ - - Indien
231
+ - IN
232
+ - - Britisches Territorium im Indischen Ozean
233
+ - IO
234
+ - - Irak
235
+ - IQ
236
+ - - Iran, Islamische Republik
237
+ - IR
238
+ - - Island
239
+ - IS
240
+ - - Italien
241
+ - IT
242
+ - - Jersey (Kanalinsel)
243
+ - JE
244
+ - - Jamaika
245
+ - JM
246
+ - - Jordanien
247
+ - JO
248
+ - - Japan
249
+ - JP
250
+ - - Kenia
251
+ - KE
252
+ - - Kirgisistan
253
+ - KG
254
+ - - Kambodscha
255
+ - KH
256
+ - - Kiribati
257
+ - KI
258
+ - - Komoren
259
+ - KM
260
+ - - St. Kitts und Nevis
261
+ - KN
262
+ - - Korea, Demokratische Volksrepublik (Nordkorea)
263
+ - KP
264
+ - - "Korea, Republik (Südkorea)"
265
+ - KR
266
+ - - Kuwait
267
+ - KW
268
+ - - Kaimaninseln
269
+ - KY
270
+ - - Kasachstan
271
+ - KZ
272
+ - - Laos, Demokratische Volksrepublik
273
+ - LA
274
+ - - Libanon
275
+ - LB
276
+ - - St. Lucia
277
+ - LC
278
+ - - Liechtenstein
279
+ - LI
280
+ - - Sri Lanka
281
+ - LK
282
+ - - Liberia
283
+ - LR
284
+ - - Lesotho
285
+ - LS
286
+ - - Litauen
287
+ - LT
288
+ - - Luxemburg
289
+ - LU
290
+ - - Lettland
291
+ - LV
292
+ - - Libysch-Arabische Dschamahirija (Libyen)
293
+ - LY
294
+ - - Marokko
295
+ - MA
296
+ - - Monaco
297
+ - MC
298
+ - - Moldawien (Republik Moldau)
299
+ - MD
300
+ - - Montenegro
301
+ - ME
302
+ - - Saint-Martin (franz. Teil)
303
+ - MF
304
+ - - Madagaskar
305
+ - MG
306
+ - - Marshallinseln
307
+ - MH
308
+ - - Mazedonien, ehem. jugoslawische Republik
309
+ - MK
310
+ - - Mali
311
+ - ML
312
+ - - Myanmar (Burma)
313
+ - MM
314
+ - - Mongolei
315
+ - MN
316
+ - - Macao
317
+ - MO
318
+ - - "Nördliche Marianen"
319
+ - MP
320
+ - - Martinique
321
+ - MQ
322
+ - - Mauretanien
323
+ - MR
324
+ - - Montserrat
325
+ - MS
326
+ - - Malta
327
+ - MT
328
+ - - Mauritius
329
+ - MU
330
+ - - Malediven
331
+ - MV
332
+ - - Malawi
333
+ - MW
334
+ - - Mexiko
335
+ - MX
336
+ - - Malaysia
337
+ - MY
338
+ - - Mosambik
339
+ - MZ
340
+ - - Namibia
341
+ - NA
342
+ - - Neukaledonien
343
+ - NC
344
+ - - Niger
345
+ - NE
346
+ - - Norfolkinsel
347
+ - NF
348
+ - - Nigeria
349
+ - NG
350
+ - - Nicaragua
351
+ - NI
352
+ - - Niederlande
353
+ - NL
354
+ - - Norwegen
355
+ - NO
356
+ - - Nepal
357
+ - NP
358
+ - - Nauru
359
+ - NR
360
+ - - Neutrale Zone (Saudi-Arabien und Irak bis 1993)
361
+ - NT
362
+ - - Niue
363
+ - NU
364
+ - - Neuseeland
365
+ - NZ
366
+ - - Oman
367
+ - OM
368
+ - - Panama
369
+ - PA
370
+ - - Peru
371
+ - PE
372
+ - - "Französisch-Polynesien"
373
+ - PF
374
+ - - Papua-Neuguinea
375
+ - PG
376
+ - - Philippinen
377
+ - PH
378
+ - - Pakistan
379
+ - PK
380
+ - - Polen
381
+ - PL
382
+ - - Saint-Pierre und Miquelon
383
+ - PM
384
+ - - Pitcairninseln
385
+ - PN
386
+ - - Puerto Rico
387
+ - PR
388
+ - - "Palästinensische Autonomiegebiete"
389
+ - PS
390
+ - - Portugal
391
+ - PT
392
+ - - Palau
393
+ - PW
394
+ - - Paraguay
395
+ - PY
396
+ - - Katar
397
+ - QA
398
+ - - "Réunion"
399
+ - RE
400
+ - - "Rumänien"
401
+ - RO
402
+ - - Serbien
403
+ - RS
404
+ - - "Russische Föderation"
405
+ - RU
406
+ - - Ruanda
407
+ - RW
408
+ - - Saudi-Arabien
409
+ - SA
410
+ - - Salomonen
411
+ - SB
412
+ - - Seychellen
413
+ - SC
414
+ - - Sudan
415
+ - SD
416
+ - - Schweden
417
+ - SE
418
+ - - Singapur
419
+ - SG
420
+ - - St. Helena
421
+ - SH
422
+ - - Slowenien
423
+ - SI
424
+ - - Svalbard und Jan Mayen
425
+ - SJ
426
+ - - Slowakei
427
+ - SK
428
+ - - Sierra Leone
429
+ - SL
430
+ - - San Marino
431
+ - SM
432
+ - - Senegal
433
+ - SN
434
+ - - Somalia
435
+ - SO
436
+ - - Suriname
437
+ - SR
438
+ - - "São Tomé und Príncipe"
439
+ - ST
440
+ - - "UdSSR (jetzt: Russische Föderation)"
441
+ - SU
442
+ - - El Salvador
443
+ - SV
444
+ - - Syrien, Arabische Republik
445
+ - SY
446
+ - - Swasiland
447
+ - SZ
448
+ - - "Tristan da Cunha (verwaltet von St. Helena)"
449
+ - TA
450
+ - - Turks- und Caicosinseln
451
+ - TC
452
+ - - Tschad
453
+ - TD
454
+ - - "Französische Süd- und Antarktisgebiete"
455
+ - TF
456
+ - - Togo
457
+ - TG
458
+ - - Thailand
459
+ - TH
460
+ - - Tadschikistan
461
+ - TJ
462
+ - - Tokelau
463
+ - TK
464
+ - - Osttimor (Timor-Leste)
465
+ - TL
466
+ - - Turkmenistan
467
+ - TM
468
+ - - Tunesien
469
+ - TN
470
+ - - Tonga
471
+ - TO
472
+ - - "Türkei"
473
+ - TR
474
+ - - Trinidad und Tobago
475
+ - TT
476
+ - - Tuvalu
477
+ - TV
478
+ - - Republik China (Taiwan)
479
+ - TW
480
+ - - Tansania, Vereinigte Republik
481
+ - TZ
482
+ - - Ukraine
483
+ - UA
484
+ - - Uganda
485
+ - UG
486
+ - - United States Minor Outlying Islands
487
+ - UM
488
+ - - Vereinigte Staaten von Amerika
489
+ - US
490
+ - - Uruguay
491
+ - UY
492
+ - - Usbekistan
493
+ - UZ
494
+ - - Vatikanstadt
495
+ - VA
496
+ - - St. Vincent und die Grenadinen
497
+ - VC
498
+ - - Venezuela
499
+ - VE
500
+ - - Britische Jungferninseln
501
+ - VG
502
+ - - Amerikanische Jungferninseln
503
+ - VI
504
+ - - Vietnam
505
+ - VN
506
+ - - Vanuatu
507
+ - VU
508
+ - - Wallis und Futuna
509
+ - WF
510
+ - - Samoa
511
+ - WS
512
+ - - Jemen
513
+ - YE
514
+ - - Mayotte
515
+ - YT
516
+ - - Jugoslawien (ehemalig)
517
+ - YU
518
+ - - "Südafrika"
519
+ - ZA
520
+ - - Sambia
521
+ - ZM
522
+ - - Zaire (jetzt Demokratische Republik Kongo)
523
+ - ZR
524
+ - - Simbabwe
525
+ - ZW