i18n-country-translations 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +11 -3
- data/lib/i18n_country_translations/version.rb +1 -1
- data/lib/tasks/i18n-country-translations_tasks.rake +73 -4
- data/rails/locale/de.yml +271 -0
- data/rails/locale/fr.yml +271 -0
- data/rails/locale/pt.yml +270 -0
- data/rails/locale/zh.yml +270 -0
- metadata +26 -11
data/README.rdoc
CHANGED
@@ -4,6 +4,11 @@ I18n Country Translations - The purpose of this gem is to simply provide country
|
|
4
4
|
|
5
5
|
If you're doing anything with country names and translations, there's no need to reinvent the wheel and add your own translations. Just use this gem's country translations and skip the hassle of having to add and manage each country translation for each locale.
|
6
6
|
|
7
|
+
== Supported Locales
|
8
|
+
There are translations for all of the following locales: de, en, es, fr, js, pt, zh
|
9
|
+
|
10
|
+
Of those, we have only confirmed the translations for the following locales: en, es, jp
|
11
|
+
|
7
12
|
== Installation
|
8
13
|
|
9
14
|
Add to your Gemfile:
|
@@ -20,12 +25,15 @@ or
|
|
20
25
|
|
21
26
|
== Contributing
|
22
27
|
|
23
|
-
You can easily start adding country translations to the locales with help
|
24
|
-
|
25
|
-
|
28
|
+
You can easily start adding country translations to the locales with help of the following rake task:
|
29
|
+
|
30
|
+
IMPORT_LOCALE=en rake import:country_translation
|
31
|
+
|
32
|
+
It will generate a new yml file that contains the country translations for the locale specified. Please note that some of the country translations may still be missing.
|
26
33
|
|
27
34
|
You can also use these standard translations to help if you don't want to use the script above: http://unicode.org/repos/cldr-tmp/trunk/diff/summary/root.html
|
28
35
|
|
36
|
+
If you find an error in a translation, please let us know.
|
29
37
|
|
30
38
|
== Contributors
|
31
39
|
Brian McQuay - http://www.onomojo.com
|
@@ -1,4 +1,73 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
#
|
1
|
+
require 'rubygems'
|
2
|
+
require 'open-uri'
|
3
|
+
|
4
|
+
# Rake task for importing country names from Unicode.org's CLDR repository
|
5
|
+
# (http://www.unicode.org/cldr/data/charts/summary/root.html).
|
6
|
+
#
|
7
|
+
# It parses a HTML file from Unicode.org for given locale and saves the
|
8
|
+
# Rails' I18n hash in the plugin +locale+ directory
|
9
|
+
#
|
10
|
+
|
11
|
+
namespace :import do
|
12
|
+
|
13
|
+
desc "Import country codes and names for various languages from the Unicode.org CLDR archive. Depends on Hpricot gem."
|
14
|
+
task :country_translation do
|
15
|
+
begin
|
16
|
+
require 'hpricot'
|
17
|
+
rescue LoadError
|
18
|
+
puts "Error: Hpricot library required to use this task (import:country_select)"
|
19
|
+
exit
|
20
|
+
end
|
21
|
+
|
22
|
+
# Setup variables
|
23
|
+
locale = ENV['IMPORT_LOCALE']
|
24
|
+
unless locale
|
25
|
+
puts "\n[!] Usage: IMPORT_LOCALE=de rake import:country_translation\n\n"
|
26
|
+
exit 0
|
27
|
+
end
|
28
|
+
|
29
|
+
# ----- Get the CLDR HTML --------------------------------------------------
|
30
|
+
begin
|
31
|
+
doc = Hpricot( open("http://www.unicode.org/cldr/data/charts/summary/#{locale}.html") )
|
32
|
+
rescue => e
|
33
|
+
puts "[!] Invalid locale name '#{locale}'! Not found in CLDR (#{e})"
|
34
|
+
exit 0
|
35
|
+
end
|
36
|
+
|
37
|
+
|
38
|
+
# ----- Parse the HTML with Hpricot ----------------------------------------
|
39
|
+
countries = []
|
40
|
+
doc.search("//tr").each do |row|
|
41
|
+
if row.search("td[@class='n']") &&
|
42
|
+
row.search("td[@class='n']").inner_html =~ /^namesterritory$/ &&
|
43
|
+
row.search("td[@class='g']").inner_html =~ /^[A-Z]{2}/
|
44
|
+
code = row.search("td[@class='g']").inner_text
|
45
|
+
code = code[-code.size, 2]
|
46
|
+
name = row.search("td[@class='v']").inner_text
|
47
|
+
countries << { :code => code.to_sym, :name => name.to_s }
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
|
52
|
+
# ----- Prepare the output format ------------------------------------------
|
53
|
+
output =<<HEAD
|
54
|
+
#{locale}:
|
55
|
+
countries:
|
56
|
+
HEAD
|
57
|
+
countries.each do |country|
|
58
|
+
output << " #{country[:code]}: \"#{country[:name]}\"\n"
|
59
|
+
end
|
60
|
+
output <<<<TAIL
|
61
|
+
TAIL
|
62
|
+
|
63
|
+
|
64
|
+
# ----- Write the parsed values into file ---------------------------------
|
65
|
+
puts "\n... writing the output"
|
66
|
+
filename = File.join(File.dirname(__FILE__), '..', '..', 'rails', 'locale', "#{locale}.yml")
|
67
|
+
filename += '.NEW' if File.exists?(filename) # Append 'NEW' if file exists
|
68
|
+
File.open(filename, 'w+') { |f| f << output }
|
69
|
+
puts "\n---\nWritten values for the '#{locale}' into file: #{filename}\n"
|
70
|
+
# ------------------------------------------------------------------------------
|
71
|
+
end
|
72
|
+
|
73
|
+
end
|
data/rails/locale/de.yml
ADDED
@@ -0,0 +1,271 @@
|
|
1
|
+
de:
|
2
|
+
countries:
|
3
|
+
AC: "Ascension"
|
4
|
+
AD: "Andorra"
|
5
|
+
AE: "Vereinigte Arabische Emirate"
|
6
|
+
AF: "Afghanistan"
|
7
|
+
AG: "Antigua und Barbuda"
|
8
|
+
AI: "Anguilla"
|
9
|
+
AL: "Albanien"
|
10
|
+
AM: "Armenien"
|
11
|
+
AN: "Niederländische Antillen"
|
12
|
+
AO: "Angola"
|
13
|
+
AQ: "Antarktis"
|
14
|
+
AR: "Argentinien"
|
15
|
+
AS: "Amerikanisch-Samoa"
|
16
|
+
AT: "Österreich"
|
17
|
+
AU: "Australien"
|
18
|
+
AW: "Aruba"
|
19
|
+
AX: "Alandinseln"
|
20
|
+
AZ: "Aserbaidschan"
|
21
|
+
BA: "Bosnien und Herzegowina"
|
22
|
+
BB: "Barbados"
|
23
|
+
BD: "Bangladesch"
|
24
|
+
BE: "Belgien"
|
25
|
+
BF: "Burkina Faso"
|
26
|
+
BG: "Bulgarien"
|
27
|
+
BH: "Bahrain"
|
28
|
+
BI: "Burundi"
|
29
|
+
BJ: "Benin"
|
30
|
+
BL: "St. Barthélemy"
|
31
|
+
BM: "Bermuda"
|
32
|
+
BN: "Brunei Darussalam"
|
33
|
+
BO: "Bolivien"
|
34
|
+
BQ: "BQ"
|
35
|
+
BR: "Brasilien"
|
36
|
+
BS: "Bahamas"
|
37
|
+
BT: "Bhutan"
|
38
|
+
BV: "Bouvetinsel"
|
39
|
+
BW: "Botsuana"
|
40
|
+
BY: "Belarus"
|
41
|
+
BZ: "Belize"
|
42
|
+
CA: "Kanada"
|
43
|
+
CC: "Kokosinseln"
|
44
|
+
CD: "Kongo-Kinshasa"
|
45
|
+
CD: "Kongo [Demokratische Republik]"
|
46
|
+
CF: "Zentralafrikanische Republik"
|
47
|
+
CG: "Kongo-Brazzaville"
|
48
|
+
CG: "Kongo [Republik]"
|
49
|
+
CH: "Schweiz"
|
50
|
+
CI: "Côte d’Ivoire"
|
51
|
+
CI: "Elfenbeinküste"
|
52
|
+
CK: "Cookinseln"
|
53
|
+
CL: "Chile"
|
54
|
+
CM: "Kamerun"
|
55
|
+
CN: "China"
|
56
|
+
CO: "Kolumbien"
|
57
|
+
CP: "Clipperton-Insel"
|
58
|
+
CR: "Costa Rica"
|
59
|
+
CS: "Serbien und Montenegro"
|
60
|
+
CU: "Kuba"
|
61
|
+
CV: "Kap Verde"
|
62
|
+
CW: "CW"
|
63
|
+
CX: "Weihnachtsinsel"
|
64
|
+
CY: "Zypern"
|
65
|
+
CZ: "Tschechische Republik"
|
66
|
+
DE: "Deutschland"
|
67
|
+
DG: "Diego Garcia"
|
68
|
+
DJ: "Dschibuti"
|
69
|
+
DK: "Dänemark"
|
70
|
+
DM: "Dominica"
|
71
|
+
DO: "Dominikanische Republik"
|
72
|
+
DZ: "Algerien"
|
73
|
+
EA: "Ceuta und Melilla"
|
74
|
+
EC: "Ecuador"
|
75
|
+
EE: "Estland"
|
76
|
+
EG: "Ägypten"
|
77
|
+
EH: "Westsahara"
|
78
|
+
ER: "Eritrea"
|
79
|
+
ES: "Spanien"
|
80
|
+
ET: "Äthiopien"
|
81
|
+
EU: "Europäische Union"
|
82
|
+
FI: "Finnland"
|
83
|
+
FJ: "Fidschi"
|
84
|
+
FK: "Falklandinseln"
|
85
|
+
FK: "Falklandinseln"
|
86
|
+
FM: "Mikronesien"
|
87
|
+
FO: "Färöer"
|
88
|
+
FR: "Frankreich"
|
89
|
+
FX: "Metropolitan-Frankreich; [draft=contributed]"
|
90
|
+
GA: "Gabun"
|
91
|
+
GB: "Vereinigtes Königreich"
|
92
|
+
GD: "Grenada"
|
93
|
+
GE: "Georgien"
|
94
|
+
GF: "Französisch-Guayana"
|
95
|
+
GG: "Guernsey"
|
96
|
+
GH: "Ghana"
|
97
|
+
GI: "Gibraltar"
|
98
|
+
GL: "Grönland"
|
99
|
+
GM: "Gambia"
|
100
|
+
GN: "Guinea"
|
101
|
+
GP: "Guadeloupe"
|
102
|
+
GQ: "Äquatorialguinea"
|
103
|
+
GR: "Griechenland"
|
104
|
+
GS: "Südgeorgien und die Südlichen Sandwichinseln"
|
105
|
+
GT: "Guatemala"
|
106
|
+
GU: "Guam"
|
107
|
+
GW: "Guinea-Bissau"
|
108
|
+
GY: "Guyana"
|
109
|
+
HK: "Sonderverwaltungszone Hongkong"
|
110
|
+
HK: "Hongkong"
|
111
|
+
HM: "Heard- und McDonald-Inseln"
|
112
|
+
HN: "Honduras"
|
113
|
+
HR: "Kroatien"
|
114
|
+
HT: "Haiti"
|
115
|
+
HU: "Ungarn"
|
116
|
+
IC: "Kanarische Inseln"
|
117
|
+
ID: "Indonesien"
|
118
|
+
IE: "Irland"
|
119
|
+
IL: "Israel"
|
120
|
+
IM: "Isle of Man"
|
121
|
+
IN: "Indien"
|
122
|
+
IO: "Britisches Territorium im Indischen Ozean"
|
123
|
+
IQ: "Irak"
|
124
|
+
IR: "Iran"
|
125
|
+
IS: "Island"
|
126
|
+
IT: "Italien"
|
127
|
+
JE: "Jersey"
|
128
|
+
JM: "Jamaika"
|
129
|
+
JO: "Jordanien"
|
130
|
+
JP: "Japan"
|
131
|
+
KE: "Kenia"
|
132
|
+
KG: "Kirgisistan"
|
133
|
+
KH: "Kambodscha"
|
134
|
+
KI: "Kiribati"
|
135
|
+
KM: "Komoren"
|
136
|
+
KN: "St. Kitts und Nevis"
|
137
|
+
KP: "Demokratische Volksrepublik Korea"
|
138
|
+
KR: "Republik Korea"
|
139
|
+
KW: "Kuwait"
|
140
|
+
KY: "Kaimaninseln"
|
141
|
+
KZ: "Kasachstan"
|
142
|
+
LA: "Laos"
|
143
|
+
LB: "Libanon"
|
144
|
+
LC: "St. Lucia"
|
145
|
+
LI: "Liechtenstein"
|
146
|
+
LK: "Sri Lanka"
|
147
|
+
LR: "Liberia"
|
148
|
+
LS: "Lesotho"
|
149
|
+
LT: "Litauen"
|
150
|
+
LU: "Luxemburg"
|
151
|
+
LV: "Lettland"
|
152
|
+
LY: "Libyen"
|
153
|
+
MA: "Marokko"
|
154
|
+
MC: "Monaco"
|
155
|
+
MD: "Republik Moldau"
|
156
|
+
ME: "Montenegro"
|
157
|
+
MF: "St. Martin"
|
158
|
+
MG: "Madagaskar"
|
159
|
+
MH: "Marshallinseln"
|
160
|
+
MK: "Mazedonien"
|
161
|
+
MK: "Mazedonien [EJR]"
|
162
|
+
ML: "Mali"
|
163
|
+
MM: "Myanmar"
|
164
|
+
MN: "Mongolei"
|
165
|
+
MO: "Sonderverwaltungszone Macao"
|
166
|
+
MO: "Macao"
|
167
|
+
MP: "Nördliche Marianen"
|
168
|
+
MQ: "Martinique"
|
169
|
+
MR: "Mauretanien"
|
170
|
+
MS: "Montserrat"
|
171
|
+
MT: "Malta"
|
172
|
+
MU: "Mauritius"
|
173
|
+
MV: "Malediven"
|
174
|
+
MW: "Malawi"
|
175
|
+
MX: "Mexiko"
|
176
|
+
MY: "Malaysia"
|
177
|
+
MZ: "Mosambik"
|
178
|
+
NA: "Namibia"
|
179
|
+
NC: "Neukaledonien"
|
180
|
+
NE: "Niger"
|
181
|
+
NF: "Norfolkinsel"
|
182
|
+
NG: "Nigeria"
|
183
|
+
NI: "Nicaragua"
|
184
|
+
NL: "Niederlande"
|
185
|
+
NO: "Norwegen"
|
186
|
+
NP: "Nepal"
|
187
|
+
NR: "Nauru"
|
188
|
+
NU: "Niue"
|
189
|
+
NZ: "Neuseeland"
|
190
|
+
OM: "Oman"
|
191
|
+
PA: "Panama"
|
192
|
+
PE: "Peru"
|
193
|
+
PF: "Französisch-Polynesien"
|
194
|
+
PG: "Papua-Neuguinea"
|
195
|
+
PH: "Philippinen"
|
196
|
+
PK: "Pakistan"
|
197
|
+
PL: "Polen"
|
198
|
+
PM: "St. Pierre und Miquelon"
|
199
|
+
PN: "Pitcairn"
|
200
|
+
PR: "Puerto Rico"
|
201
|
+
PS: "Palästinensische Autonomiegebiete"
|
202
|
+
PT: "Portugal"
|
203
|
+
PW: "Palau"
|
204
|
+
PY: "Paraguay"
|
205
|
+
QA: "Katar"
|
206
|
+
QO: "Äußeres Ozeanien"
|
207
|
+
RE: "Réunion"
|
208
|
+
RO: "Rumänien"
|
209
|
+
RS: "Serbien"
|
210
|
+
RU: "Russische Föderation"
|
211
|
+
RW: "Ruanda"
|
212
|
+
SA: "Saudi-Arabien"
|
213
|
+
SB: "Salomonen"
|
214
|
+
SC: "Seychellen"
|
215
|
+
SD: "Sudan"
|
216
|
+
SE: "Schweden"
|
217
|
+
SG: "Singapur"
|
218
|
+
SH: "St. Helena"
|
219
|
+
SI: "Slowenien"
|
220
|
+
SJ: "Svalbard und Jan Mayen"
|
221
|
+
SK: "Slowakei"
|
222
|
+
SL: "Sierra Leone"
|
223
|
+
SM: "San Marino"
|
224
|
+
SN: "Senegal"
|
225
|
+
SO: "Somalia"
|
226
|
+
SR: "Suriname"
|
227
|
+
SS: "SS"
|
228
|
+
ST: "São Tomé und Príncipe"
|
229
|
+
SV: "El Salvador"
|
230
|
+
SX: "SX"
|
231
|
+
SY: "Syrien"
|
232
|
+
SZ: "Swasiland"
|
233
|
+
TA: "Tristan da Cunha"
|
234
|
+
TC: "Turks- und Caicosinseln"
|
235
|
+
TD: "Tschad"
|
236
|
+
TF: "Französische Süd- und Antarktisgebiete"
|
237
|
+
TG: "Togo"
|
238
|
+
TH: "Thailand"
|
239
|
+
TJ: "Tadschikistan"
|
240
|
+
TK: "Tokelau"
|
241
|
+
TL: "Osttimor"
|
242
|
+
TL: "Osttimor"
|
243
|
+
TM: "Turkmenistan"
|
244
|
+
TN: "Tunesien"
|
245
|
+
TO: "Tonga"
|
246
|
+
TR: "Türkei"
|
247
|
+
TT: "Trinidad und Tobago"
|
248
|
+
TV: "Tuvalu"
|
249
|
+
TW: "Taiwan"
|
250
|
+
TZ: "Tansania"
|
251
|
+
UA: "Ukraine"
|
252
|
+
UG: "Uganda"
|
253
|
+
UM: "Amerikanisch-Ozeanien"
|
254
|
+
US: "Vereinigte Staaten"
|
255
|
+
UY: "Uruguay"
|
256
|
+
UZ: "Usbekistan"
|
257
|
+
VA: "Vatikanstadt"
|
258
|
+
VC: "St. Vincent und die Grenadinen"
|
259
|
+
VE: "Venezuela"
|
260
|
+
VG: "Britische Jungferninseln"
|
261
|
+
VI: "Amerikanische Jungferninseln"
|
262
|
+
VN: "Vietnam"
|
263
|
+
VU: "Vanuatu"
|
264
|
+
WF: "Wallis und Futuna"
|
265
|
+
WS: "Samoa"
|
266
|
+
YE: "Jemen"
|
267
|
+
YT: "Mayotte"
|
268
|
+
ZA: "Südafrika"
|
269
|
+
ZM: "Sambia"
|
270
|
+
ZW: "Simbabwe"
|
271
|
+
ZZ: "Unbekannte Region"
|
data/rails/locale/fr.yml
ADDED
@@ -0,0 +1,271 @@
|
|
1
|
+
fr:
|
2
|
+
countries:
|
3
|
+
AC: "Île de l'Ascension"
|
4
|
+
AD: "Andorre"
|
5
|
+
AE: "Émirats arabes unis"
|
6
|
+
AF: "Afghanistan"
|
7
|
+
AG: "Antigua-et-Barbuda"
|
8
|
+
AI: "Anguilla"
|
9
|
+
AL: "Albanie"
|
10
|
+
AM: "Arménie"
|
11
|
+
AN: "Antilles néerlandaises"
|
12
|
+
AO: "Angola"
|
13
|
+
AQ: "Antarctique"
|
14
|
+
AR: "Argentine"
|
15
|
+
AS: "Samoa américaines"
|
16
|
+
AT: "Autriche"
|
17
|
+
AU: "Australie"
|
18
|
+
AW: "Aruba"
|
19
|
+
AX: "Îles Åland"
|
20
|
+
AZ: "Azerbaïdjan"
|
21
|
+
BA: "Bosnie-Herzégovine"
|
22
|
+
BB: "Barbade"
|
23
|
+
BD: "Bangladesh"
|
24
|
+
BE: "Belgique"
|
25
|
+
BF: "Burkina Faso"
|
26
|
+
BG: "Bulgarie"
|
27
|
+
BH: "Bahreïn"
|
28
|
+
BI: "Burundi"
|
29
|
+
BJ: "Bénin"
|
30
|
+
BL: "Saint-Barthélémy"
|
31
|
+
BM: "Bermudes"
|
32
|
+
BN: "Brunéi Darussalam"
|
33
|
+
BO: "Bolivie"
|
34
|
+
BQ: "BQ"
|
35
|
+
BR: "Brésil"
|
36
|
+
BS: "Bahamas"
|
37
|
+
BT: "Bhoutan"
|
38
|
+
BV: "Île Bouvet"
|
39
|
+
BW: "Botswana"
|
40
|
+
BY: "Bélarus"
|
41
|
+
BZ: "Belize"
|
42
|
+
CA: "Canada"
|
43
|
+
CC: "Îles Cocos - Keeling"
|
44
|
+
CD: "République démocratique du Congo"
|
45
|
+
CD: "Congo-Kinshasa"
|
46
|
+
CF: "République centrafricaine"
|
47
|
+
CG: "Congo-Brazzaville"
|
48
|
+
CG: "République du Congo"
|
49
|
+
CH: "Suisse"
|
50
|
+
CI: "Côte d’Ivoire"
|
51
|
+
CI: "Côte d’Ivoire"
|
52
|
+
CK: "Îles Cook"
|
53
|
+
CL: "Chili"
|
54
|
+
CM: "Cameroun"
|
55
|
+
CN: "Chine"
|
56
|
+
CO: "Colombie"
|
57
|
+
CP: "Île Clipperton"
|
58
|
+
CR: "Costa Rica"
|
59
|
+
CS: "Serbie-et-Monténégro"
|
60
|
+
CU: "Cuba"
|
61
|
+
CV: "Cap-Vert"
|
62
|
+
CW: "CW"
|
63
|
+
CX: "Île Christmas"
|
64
|
+
CY: "Chypre"
|
65
|
+
CZ: "République tchèque"
|
66
|
+
DE: "Allemagne"
|
67
|
+
DG: "Diego Garcia"
|
68
|
+
DJ: "Djibouti"
|
69
|
+
DK: "Danemark"
|
70
|
+
DM: "Dominique"
|
71
|
+
DO: "République dominicaine"
|
72
|
+
DZ: "Algérie"
|
73
|
+
EA: "Ceuta et Melilla"
|
74
|
+
EC: "Équateur"
|
75
|
+
EE: "Estonie"
|
76
|
+
EG: "Égypte"
|
77
|
+
EH: "Sahara occidental"
|
78
|
+
ER: "Érythrée"
|
79
|
+
ES: "Espagne"
|
80
|
+
ET: "Éthiopie"
|
81
|
+
EU: "Union européenne"
|
82
|
+
FI: "Finlande"
|
83
|
+
FJ: "Fidji"
|
84
|
+
FK: "Îles Malouines"
|
85
|
+
FK: "Îles Malouines"
|
86
|
+
FM: "États fédérés de Micronésie"
|
87
|
+
FO: "Îles Féroé"
|
88
|
+
FR: "France"
|
89
|
+
FX: "France métropolitaine; [draft=contributed]"
|
90
|
+
GA: "Gabon"
|
91
|
+
GB: "Royaume-Uni"
|
92
|
+
GD: "Grenade"
|
93
|
+
GE: "Géorgie"
|
94
|
+
GF: "Guyane française"
|
95
|
+
GG: "Guernesey"
|
96
|
+
GH: "Ghana"
|
97
|
+
GI: "Gibraltar"
|
98
|
+
GL: "Groenland"
|
99
|
+
GM: "Gambie"
|
100
|
+
GN: "Guinée"
|
101
|
+
GP: "Guadeloupe"
|
102
|
+
GQ: "Guinée équatoriale"
|
103
|
+
GR: "Grèce"
|
104
|
+
GS: "Géorgie du Sud et les îles Sandwich du Sud"
|
105
|
+
GT: "Guatemala"
|
106
|
+
GU: "Guam"
|
107
|
+
GW: "Guinée-Bissau"
|
108
|
+
GY: "Guyana"
|
109
|
+
HK: "R.A.S. chinoise de Hong Kong"
|
110
|
+
HK: "Hong Kong"
|
111
|
+
HM: "Îles Heard et MacDonald"
|
112
|
+
HN: "Honduras"
|
113
|
+
HR: "Croatie"
|
114
|
+
HT: "Haïti"
|
115
|
+
HU: "Hongrie"
|
116
|
+
IC: "Îles Canaries"
|
117
|
+
ID: "Indonésie"
|
118
|
+
IE: "Irlande"
|
119
|
+
IL: "Israël"
|
120
|
+
IM: "Île de Man"
|
121
|
+
IN: "Inde"
|
122
|
+
IO: "Territoire britannique de l'océan Indien"
|
123
|
+
IQ: "Irak"
|
124
|
+
IR: "Iran"
|
125
|
+
IS: "Islande"
|
126
|
+
IT: "Italie"
|
127
|
+
JE: "Jersey"
|
128
|
+
JM: "Jamaïque"
|
129
|
+
JO: "Jordanie"
|
130
|
+
JP: "Japon"
|
131
|
+
KE: "Kenya"
|
132
|
+
KG: "Kirghizistan"
|
133
|
+
KH: "Cambodge"
|
134
|
+
KI: "Kiribati"
|
135
|
+
KM: "Comores"
|
136
|
+
KN: "Saint-Kitts-et-Nevis"
|
137
|
+
KP: "Corée du Nord"
|
138
|
+
KR: "Corée du Sud"
|
139
|
+
KW: "Koweït"
|
140
|
+
KY: "Îles Caïmans"
|
141
|
+
KZ: "Kazakhstan"
|
142
|
+
LA: "Laos"
|
143
|
+
LB: "Liban"
|
144
|
+
LC: "Sainte-Lucie"
|
145
|
+
LI: "Liechtenstein"
|
146
|
+
LK: "Sri Lanka"
|
147
|
+
LR: "Libéria"
|
148
|
+
LS: "Lesotho"
|
149
|
+
LT: "Lituanie"
|
150
|
+
LU: "Luxembourg"
|
151
|
+
LV: "Lettonie"
|
152
|
+
LY: "Libye"
|
153
|
+
MA: "Maroc"
|
154
|
+
MC: "Monaco"
|
155
|
+
MD: "Moldavie"
|
156
|
+
ME: "Monténégro"
|
157
|
+
MF: "Saint-Martin"
|
158
|
+
MG: "Madagascar"
|
159
|
+
MH: "Îles Marshall"
|
160
|
+
MK: "Macédoine"
|
161
|
+
MK: "Macédoine; [draft=contributed]"
|
162
|
+
ML: "Mali"
|
163
|
+
MM: "Myanmar"
|
164
|
+
MN: "Mongolie"
|
165
|
+
MO: "R.A.S. chinoise de Macao"
|
166
|
+
MO: "Macao"
|
167
|
+
MP: "Îles Mariannes du Nord"
|
168
|
+
MQ: "Martinique"
|
169
|
+
MR: "Mauritanie"
|
170
|
+
MS: "Montserrat"
|
171
|
+
MT: "Malte"
|
172
|
+
MU: "Maurice"
|
173
|
+
MV: "Maldives"
|
174
|
+
MW: "Malawi"
|
175
|
+
MX: "Mexique"
|
176
|
+
MY: "Malaisie"
|
177
|
+
MZ: "Mozambique"
|
178
|
+
NA: "Namibie"
|
179
|
+
NC: "Nouvelle-Calédonie"
|
180
|
+
NE: "Niger"
|
181
|
+
NF: "Île Norfolk"
|
182
|
+
NG: "Nigéria"
|
183
|
+
NI: "Nicaragua"
|
184
|
+
NL: "Pays-Bas"
|
185
|
+
NO: "Norvège"
|
186
|
+
NP: "Népal"
|
187
|
+
NR: "Nauru"
|
188
|
+
NU: "Niue"
|
189
|
+
NZ: "Nouvelle-Zélande"
|
190
|
+
OM: "Oman"
|
191
|
+
PA: "Panama"
|
192
|
+
PE: "Pérou"
|
193
|
+
PF: "Polynésie française"
|
194
|
+
PG: "Papouasie-Nouvelle-Guinée"
|
195
|
+
PH: "Philippines"
|
196
|
+
PK: "Pakistan"
|
197
|
+
PL: "Pologne"
|
198
|
+
PM: "Saint-Pierre-et-Miquelon"
|
199
|
+
PN: "Pitcairn"
|
200
|
+
PR: "Porto Rico"
|
201
|
+
PS: "Territoire palestinien"
|
202
|
+
PT: "Portugal"
|
203
|
+
PW: "Palaos"
|
204
|
+
PY: "Paraguay"
|
205
|
+
QA: "Qatar"
|
206
|
+
QO: "régions éloignées de l’Océanie"
|
207
|
+
RE: "Réunion"
|
208
|
+
RO: "Roumanie"
|
209
|
+
RS: "Serbie"
|
210
|
+
RU: "Russie"
|
211
|
+
RW: "Rwanda"
|
212
|
+
SA: "Arabie saoudite"
|
213
|
+
SB: "Îles Salomon"
|
214
|
+
SC: "Seychelles"
|
215
|
+
SD: "Soudan"
|
216
|
+
SE: "Suède"
|
217
|
+
SG: "Singapour"
|
218
|
+
SH: "Sainte-Hélène"
|
219
|
+
SI: "Slovénie"
|
220
|
+
SJ: "Svalbard et Île Jan Mayen"
|
221
|
+
SK: "Slovaquie"
|
222
|
+
SL: "Sierra Leone"
|
223
|
+
SM: "Saint-Marin"
|
224
|
+
SN: "Sénégal"
|
225
|
+
SO: "Somalie"
|
226
|
+
SR: "Suriname"
|
227
|
+
SS: "SS"
|
228
|
+
ST: "Sao Tomé-et-Principe"
|
229
|
+
SV: "El Salvador"
|
230
|
+
SX: "SX"
|
231
|
+
SY: "Syrie"
|
232
|
+
SZ: "Swaziland"
|
233
|
+
TA: "Tristan da Cunha"
|
234
|
+
TC: "Îles Turks et Caïques"
|
235
|
+
TD: "Tchad"
|
236
|
+
TF: "Terres australes françaises"
|
237
|
+
TG: "Togo"
|
238
|
+
TH: "Thaïlande"
|
239
|
+
TJ: "Tadjikistan"
|
240
|
+
TK: "Tokelau"
|
241
|
+
TL: "Timor oriental"
|
242
|
+
TL: "Timor oriental"
|
243
|
+
TM: "Turkménistan"
|
244
|
+
TN: "Tunisie"
|
245
|
+
TO: "Tonga"
|
246
|
+
TR: "Turquie"
|
247
|
+
TT: "Trinité-et-Tobago"
|
248
|
+
TV: "Tuvalu"
|
249
|
+
TW: "Taïwan"
|
250
|
+
TZ: "Tanzanie"
|
251
|
+
UA: "Ukraine"
|
252
|
+
UG: "Ouganda"
|
253
|
+
UM: "Îles Mineures Éloignées des États-Unis"
|
254
|
+
US: "États-Unis"
|
255
|
+
UY: "Uruguay"
|
256
|
+
UZ: "Ouzbékistan"
|
257
|
+
VA: "État de la Cité du Vatican"
|
258
|
+
VC: "Saint-Vincent-et-les Grenadines"
|
259
|
+
VE: "Venezuela"
|
260
|
+
VG: "Îles Vierges britanniques"
|
261
|
+
VI: "Îles Vierges des États-Unis"
|
262
|
+
VN: "Viêt Nam"
|
263
|
+
VU: "Vanuatu"
|
264
|
+
WF: "Wallis-et-Futuna"
|
265
|
+
WS: "Samoa"
|
266
|
+
YE: "Yémen"
|
267
|
+
YT: "Mayotte"
|
268
|
+
ZA: "Afrique du Sud"
|
269
|
+
ZM: "Zambie"
|
270
|
+
ZW: "Zimbabwe"
|
271
|
+
ZZ: "région indéterminée"
|
data/rails/locale/pt.yml
ADDED
@@ -0,0 +1,270 @@
|
|
1
|
+
pt:
|
2
|
+
countries:
|
3
|
+
AC: "Ilha de Ascensão"
|
4
|
+
AD: "Andorra"
|
5
|
+
AE: "Emirados Árabes Unidos"
|
6
|
+
AF: "Afeganistão"
|
7
|
+
AG: "Antígua e Barbuda"
|
8
|
+
AI: "Anguilla"
|
9
|
+
AL: "Albânia"
|
10
|
+
AM: "Armênia"
|
11
|
+
AN: "Antilhas Holandesas"
|
12
|
+
AO: "Angola"
|
13
|
+
AQ: "Antártida"
|
14
|
+
AR: "Argentina"
|
15
|
+
AS: "Samoa Americana"
|
16
|
+
AT: "Áustria"
|
17
|
+
AU: "Austrália"
|
18
|
+
AW: "Aruba"
|
19
|
+
AX: "Ilhas Aland"
|
20
|
+
AZ: "Azerbaijão"
|
21
|
+
BA: "Bósnia-Herzegovina"
|
22
|
+
BB: "Barbados"
|
23
|
+
BD: "Bangladesh"
|
24
|
+
BE: "Bélgica"
|
25
|
+
BF: "Burquina Faso"
|
26
|
+
BG: "Bulgária"
|
27
|
+
BH: "Bahrain"
|
28
|
+
BI: "Burundi"
|
29
|
+
BJ: "Benin"
|
30
|
+
BL: "São Bartolomeu"
|
31
|
+
BM: "Bermudas"
|
32
|
+
BN: "Brunei"
|
33
|
+
BO: "Bolívia"
|
34
|
+
BQ: "BQ"
|
35
|
+
BR: "Brasil"
|
36
|
+
BS: "Bahamas"
|
37
|
+
BT: "Butão"
|
38
|
+
BV: "Ilha Bouvet"
|
39
|
+
BW: "Botsuana"
|
40
|
+
BY: "Belarus"
|
41
|
+
BZ: "Belize"
|
42
|
+
CA: "Canadá"
|
43
|
+
CC: "Ilhas Coco"
|
44
|
+
CD: "Congo-Kinshasa"
|
45
|
+
CD: "República Democrática do Congo"
|
46
|
+
CF: "República Centro-Africana"
|
47
|
+
CG: "Congo - Brazzaville"
|
48
|
+
CG: "Congo"
|
49
|
+
CH: "Suíça"
|
50
|
+
CI: "Costa do Marfim"
|
51
|
+
CI: "Costa do Marfim"
|
52
|
+
CK: "Ilhas Cook"
|
53
|
+
CL: "Chile"
|
54
|
+
CM: "República dos Camarões"
|
55
|
+
CN: "China"
|
56
|
+
CO: "Colômbia"
|
57
|
+
CP: "Ilha de Clipperton"
|
58
|
+
CR: "Costa Rica"
|
59
|
+
CS: "Sérvia e Montenegro"
|
60
|
+
CU: "Cuba"
|
61
|
+
CV: "Cabo Verde"
|
62
|
+
CW: "CW"
|
63
|
+
CX: "Ilhas Natal"
|
64
|
+
CY: "Chipre"
|
65
|
+
CZ: "República Tcheca"
|
66
|
+
DE: "Alemanha"
|
67
|
+
DG: "Diego Garcia"
|
68
|
+
DJ: "Djibuti"
|
69
|
+
DK: "Dinamarca"
|
70
|
+
DM: "Dominica"
|
71
|
+
DO: "República Dominicana"
|
72
|
+
DZ: "Argélia"
|
73
|
+
EA: "Ceuta e Melilha"
|
74
|
+
EC: "Equador"
|
75
|
+
EE: "Estônia"
|
76
|
+
EG: "Egito"
|
77
|
+
EH: "Saara Ocidental"
|
78
|
+
ER: "Eritreia"
|
79
|
+
ES: "Espanha"
|
80
|
+
ET: "Etiópia"
|
81
|
+
EU: "União Europeia"
|
82
|
+
FI: "Finlândia"
|
83
|
+
FJ: "Fiji"
|
84
|
+
FK: "Ilhas Malvinas"
|
85
|
+
FK: "Ilhas Malvinas"
|
86
|
+
FM: "Micronésia"
|
87
|
+
FO: "Ilhas Faroe"
|
88
|
+
FR: "França"
|
89
|
+
GA: "Gabão"
|
90
|
+
GB: "Reino Unido"
|
91
|
+
GD: "Granada"
|
92
|
+
GE: "Geórgia"
|
93
|
+
GF: "Guiana Francesa"
|
94
|
+
GG: "Guernsey"
|
95
|
+
GH: "Gana"
|
96
|
+
GI: "Gibraltar"
|
97
|
+
GL: "Groênlandia"
|
98
|
+
GM: "Gâmbia"
|
99
|
+
GN: "Guiné"
|
100
|
+
GP: "Guadalupe"
|
101
|
+
GQ: "Guiné Equatorial"
|
102
|
+
GR: "Grécia"
|
103
|
+
GS: "Geórgia do Sul e Ilhas Sandwich do Sul"
|
104
|
+
GT: "Guatemala"
|
105
|
+
GU: "Guam"
|
106
|
+
GW: "Guiné Bissau"
|
107
|
+
GY: "Guiana"
|
108
|
+
HK: "Hong Kong, Região Admin. Especial da China"
|
109
|
+
HK: "Hong Kong"
|
110
|
+
HM: "Ilha Heard e Ilhas McDonald"
|
111
|
+
HN: "Honduras"
|
112
|
+
HR: "Croácia"
|
113
|
+
HT: "Haiti"
|
114
|
+
HU: "Hungria"
|
115
|
+
IC: "Ilhas Canárias"
|
116
|
+
ID: "Indonésia"
|
117
|
+
IE: "Irlanda"
|
118
|
+
IL: "Israel"
|
119
|
+
IM: "Ilha de Man"
|
120
|
+
IN: "Índia"
|
121
|
+
IO: "Território Britânico do Oceano Índico"
|
122
|
+
IQ: "Iraque"
|
123
|
+
IR: "Irã"
|
124
|
+
IS: "Islândia"
|
125
|
+
IT: "Itália"
|
126
|
+
JE: "Jersey"
|
127
|
+
JM: "Jamaica"
|
128
|
+
JO: "Jordânia"
|
129
|
+
JP: "Japão"
|
130
|
+
KE: "Quênia"
|
131
|
+
KG: "Quirguistão"
|
132
|
+
KH: "Camboja"
|
133
|
+
KI: "Quiribati"
|
134
|
+
KM: "Comores"
|
135
|
+
KN: "São Cristovão e Nevis"
|
136
|
+
KP: "Coreia do Norte"
|
137
|
+
KR: "Coreia do Sul"
|
138
|
+
KW: "Kuwait"
|
139
|
+
KY: "Ilhas Caiman"
|
140
|
+
KZ: "Casaquistão"
|
141
|
+
LA: "República Popular Democrática do Laos"
|
142
|
+
LB: "Líbano"
|
143
|
+
LC: "Santa Lúcia"
|
144
|
+
LI: "Liechtenstein"
|
145
|
+
LK: "Sri Lanka"
|
146
|
+
LR: "Libéria"
|
147
|
+
LS: "Lesoto"
|
148
|
+
LT: "Lituânia"
|
149
|
+
LU: "Luxemburgo"
|
150
|
+
LV: "Letônia"
|
151
|
+
LY: "Líbia"
|
152
|
+
MA: "Marrocos"
|
153
|
+
MC: "Mônaco"
|
154
|
+
MD: "Moldávia"
|
155
|
+
ME: "Montenegro"
|
156
|
+
MF: "São Martinho"
|
157
|
+
MG: "Madagascar"
|
158
|
+
MH: "Ilhas Marshall"
|
159
|
+
MK: "Macedônia"
|
160
|
+
MK: "Macedônia [Antiga República Iugoslava da Macedônia - ARIM]"
|
161
|
+
ML: "Mali"
|
162
|
+
MM: "Mianmar [Birmânia]"
|
163
|
+
MN: "Mongólia"
|
164
|
+
MO: "Macau, Região Admin. Especial da China"
|
165
|
+
MO: "Macau"
|
166
|
+
MP: "Ilhas Marianas do Norte"
|
167
|
+
MQ: "Martinica"
|
168
|
+
MR: "Mauritânia"
|
169
|
+
MS: "Montserrat"
|
170
|
+
MT: "Malta"
|
171
|
+
MU: "Maurício"
|
172
|
+
MV: "Maldivas"
|
173
|
+
MW: "Malawi"
|
174
|
+
MX: "México"
|
175
|
+
MY: "Malásia"
|
176
|
+
MZ: "Moçambique"
|
177
|
+
NA: "Namíbia"
|
178
|
+
NC: "Nova Caledônia"
|
179
|
+
NE: "Níger"
|
180
|
+
NF: "Ilha Norfolk"
|
181
|
+
NG: "Nigéria"
|
182
|
+
NI: "Nicarágua"
|
183
|
+
NL: "Holanda"
|
184
|
+
NO: "Noruega"
|
185
|
+
NP: "Nepal"
|
186
|
+
NR: "Nauru"
|
187
|
+
NU: "Niue"
|
188
|
+
NZ: "Nova Zelândia"
|
189
|
+
OM: "Omã"
|
190
|
+
PA: "Panamá"
|
191
|
+
PE: "Peru"
|
192
|
+
PF: "Polinésia Francesa"
|
193
|
+
PG: "Papua-Nova Guiné"
|
194
|
+
PH: "Filipinas"
|
195
|
+
PK: "Paquistão"
|
196
|
+
PL: "Polônia"
|
197
|
+
PM: "Saint Pierre e Miquelon"
|
198
|
+
PN: "Pitcairn"
|
199
|
+
PR: "Porto Rico"
|
200
|
+
PS: "Territórios palestinos"
|
201
|
+
PT: "Portugal"
|
202
|
+
PW: "Palau"
|
203
|
+
PY: "Paraguai"
|
204
|
+
QA: "Catar"
|
205
|
+
QO: "Oceania Remota"
|
206
|
+
RE: "Reunião"
|
207
|
+
RO: "Romênia"
|
208
|
+
RS: "Sérvia"
|
209
|
+
RU: "Rússia"
|
210
|
+
RW: "Ruanda"
|
211
|
+
SA: "Arábia Saudita"
|
212
|
+
SB: "Ilhas Salomão"
|
213
|
+
SC: "Seychelles"
|
214
|
+
SD: "Sudão"
|
215
|
+
SE: "Suécia"
|
216
|
+
SG: "Cingapura"
|
217
|
+
SH: "Santa Helena"
|
218
|
+
SI: "Eslovênia"
|
219
|
+
SJ: "Svalbard e Jan Mayen"
|
220
|
+
SK: "Eslováquia"
|
221
|
+
SL: "Serra Leoa"
|
222
|
+
SM: "San Marino"
|
223
|
+
SN: "Senegal"
|
224
|
+
SO: "Somália"
|
225
|
+
SR: "Suriname"
|
226
|
+
SS: "SS"
|
227
|
+
ST: "São Tomé e Príncipe"
|
228
|
+
SV: "El Salvador"
|
229
|
+
SX: "SX"
|
230
|
+
SY: "Síria"
|
231
|
+
SZ: "Suazilândia"
|
232
|
+
TA: "Tristão da Cunha"
|
233
|
+
TC: "Ilhas Turks e Caicos"
|
234
|
+
TD: "Chade"
|
235
|
+
TF: "Territórios Franceses do Sul"
|
236
|
+
TG: "Togo"
|
237
|
+
TH: "Tailândia"
|
238
|
+
TJ: "Tadjiquistão"
|
239
|
+
TK: "Tokelau"
|
240
|
+
TL: "Timor-Leste"
|
241
|
+
TL: "Timor-Leste"
|
242
|
+
TM: "Turcomenistão"
|
243
|
+
TN: "Tunísia"
|
244
|
+
TO: "Tonga"
|
245
|
+
TR: "Turquia"
|
246
|
+
TT: "Trinidad e Tobago"
|
247
|
+
TV: "Tuvalu"
|
248
|
+
TW: "Taiwan"
|
249
|
+
TZ: "Tanzânia"
|
250
|
+
UA: "Ucrânia"
|
251
|
+
UG: "Uganda"
|
252
|
+
UM: "Ilhas Menores Distantes dos Estados Unidos"
|
253
|
+
US: "Estados Unidos"
|
254
|
+
UY: "Uruguai"
|
255
|
+
UZ: "Uzbequistão"
|
256
|
+
VA: "Vaticano"
|
257
|
+
VC: "São Vicente e Granadinas"
|
258
|
+
VE: "Venezuela"
|
259
|
+
VG: "Ilhas Virgens Britânicas"
|
260
|
+
VI: "Ilhas Virgens dos EUA"
|
261
|
+
VN: "Vietnã"
|
262
|
+
VU: "Vanuatu"
|
263
|
+
WF: "Wallis e Futuna"
|
264
|
+
WS: "Samoa"
|
265
|
+
YE: "Iêmen"
|
266
|
+
YT: "Mayotte"
|
267
|
+
ZA: "África do Sul"
|
268
|
+
ZM: "Zâmbia"
|
269
|
+
ZW: "Zimbábue"
|
270
|
+
ZZ: "Região desconhecida ou inválida"
|
data/rails/locale/zh.yml
ADDED
@@ -0,0 +1,270 @@
|
|
1
|
+
zh:
|
2
|
+
countries:
|
3
|
+
AC: "阿森松岛"
|
4
|
+
AD: "安道尔"
|
5
|
+
AE: "阿拉伯联合酋长国"
|
6
|
+
AF: "阿富汗"
|
7
|
+
AG: "安提瓜和巴布达"
|
8
|
+
AI: "安圭拉"
|
9
|
+
AL: "阿尔巴尼亚"
|
10
|
+
AM: "亚美尼亚"
|
11
|
+
AN: "荷属安的列斯群岛"
|
12
|
+
AO: "安哥拉"
|
13
|
+
AQ: "南极洲"
|
14
|
+
AR: "阿根廷"
|
15
|
+
AS: "美属萨摩亚"
|
16
|
+
AT: "奥地利"
|
17
|
+
AU: "澳大利亚"
|
18
|
+
AW: "阿鲁巴"
|
19
|
+
AX: "奥兰群岛"
|
20
|
+
AZ: "阿塞拜疆"
|
21
|
+
BA: "波斯尼亚和黑塞哥维那"
|
22
|
+
BB: "巴巴多斯"
|
23
|
+
BD: "孟加拉国"
|
24
|
+
BE: "比利时"
|
25
|
+
BF: "布基纳法索"
|
26
|
+
BG: "保加利亚"
|
27
|
+
BH: "巴林"
|
28
|
+
BI: "布隆迪"
|
29
|
+
BJ: "贝宁"
|
30
|
+
BL: "圣巴泰勒米; [draft=contributed]"
|
31
|
+
BM: "百慕大"
|
32
|
+
BN: "文莱"
|
33
|
+
BO: "玻利维亚"
|
34
|
+
BQ: "BQ"
|
35
|
+
BR: "巴西"
|
36
|
+
BS: "巴哈马"
|
37
|
+
BT: "不丹"
|
38
|
+
BV: "布维特岛"
|
39
|
+
BW: "博茨瓦纳"
|
40
|
+
BY: "白俄罗斯"
|
41
|
+
BZ: "伯利兹"
|
42
|
+
CA: "加拿大"
|
43
|
+
CC: "科科斯群岛"
|
44
|
+
CD: "刚果(金)"
|
45
|
+
CD: "刚果民主共和国"
|
46
|
+
CF: "中非共和国"
|
47
|
+
CG: "刚果(布)"
|
48
|
+
CG: "刚果共和国"
|
49
|
+
CH: "瑞士"
|
50
|
+
CI: "科特迪瓦"
|
51
|
+
CI: "象牙海岸"
|
52
|
+
CK: "库克群岛"
|
53
|
+
CL: "智利"
|
54
|
+
CM: "喀麦隆"
|
55
|
+
CN: "中国"
|
56
|
+
CO: "哥伦比亚"
|
57
|
+
CP: "克利珀顿岛"
|
58
|
+
CR: "哥斯达黎加"
|
59
|
+
CS: "塞尔维亚和黑山"
|
60
|
+
CU: "古巴"
|
61
|
+
CV: "佛得角"
|
62
|
+
CW: "CW"
|
63
|
+
CX: "圣诞岛"
|
64
|
+
CY: "塞浦路斯"
|
65
|
+
CZ: "捷克共和国"
|
66
|
+
DE: "德国"
|
67
|
+
DG: "迪戈加西亚岛"
|
68
|
+
DJ: "吉布提"
|
69
|
+
DK: "丹麦"
|
70
|
+
DM: "多米尼加"
|
71
|
+
DO: "多米尼加共和国"
|
72
|
+
DZ: "阿尔及利亚"
|
73
|
+
EA: "休达及梅利利亚"
|
74
|
+
EC: "厄瓜多尔"
|
75
|
+
EE: "爱沙尼亚"
|
76
|
+
EG: "埃及"
|
77
|
+
EH: "西撒哈拉"
|
78
|
+
ER: "厄立特里亚"
|
79
|
+
ES: "西班牙"
|
80
|
+
ET: "埃塞俄比亚"
|
81
|
+
EU: "欧盟"
|
82
|
+
FI: "芬兰"
|
83
|
+
FJ: "斐济"
|
84
|
+
FK: "福克兰群岛"
|
85
|
+
FK: "福克兰群岛(马尔维纳斯群岛)"
|
86
|
+
FM: "密克罗尼西亚联邦"
|
87
|
+
FO: "法罗群岛"
|
88
|
+
FR: "法国"
|
89
|
+
GA: "加蓬"
|
90
|
+
GB: "英国"
|
91
|
+
GD: "格林纳达"
|
92
|
+
GE: "格鲁吉亚"
|
93
|
+
GF: "法属圭亚那"
|
94
|
+
GG: "格恩西岛"
|
95
|
+
GH: "加纳"
|
96
|
+
GI: "直布罗陀"
|
97
|
+
GL: "格陵兰"
|
98
|
+
GM: "冈比亚"
|
99
|
+
GN: "几内亚"
|
100
|
+
GP: "瓜德罗普岛"
|
101
|
+
GQ: "赤道几内亚"
|
102
|
+
GR: "希腊"
|
103
|
+
GS: "南乔治亚岛和南桑威齐群岛"
|
104
|
+
GT: "危地马拉"
|
105
|
+
GU: "关岛"
|
106
|
+
GW: "几内亚比绍"
|
107
|
+
GY: "圭亚那"
|
108
|
+
HK: "中国香港特别行政区"
|
109
|
+
HK: "香港"
|
110
|
+
HM: "赫德与麦克唐纳群岛"
|
111
|
+
HN: "洪都拉斯"
|
112
|
+
HR: "克罗地亚"
|
113
|
+
HT: "海地"
|
114
|
+
HU: "匈牙利"
|
115
|
+
IC: "加纳利群岛"
|
116
|
+
ID: "印度尼西亚"
|
117
|
+
IE: "爱尔兰"
|
118
|
+
IL: "以色列"
|
119
|
+
IM: "曼岛"
|
120
|
+
IN: "印度"
|
121
|
+
IO: "英属印度洋领地"
|
122
|
+
IQ: "伊拉克"
|
123
|
+
IR: "伊朗"
|
124
|
+
IS: "冰岛"
|
125
|
+
IT: "意大利"
|
126
|
+
JE: "泽西岛"
|
127
|
+
JM: "牙买加"
|
128
|
+
JO: "约旦"
|
129
|
+
JP: "日本"
|
130
|
+
KE: "肯尼亚"
|
131
|
+
KG: "吉尔吉斯斯坦"
|
132
|
+
KH: "柬埔寨"
|
133
|
+
KI: "基里巴斯"
|
134
|
+
KM: "科摩罗"
|
135
|
+
KN: "圣基茨和尼维斯"
|
136
|
+
KP: "朝鲜"
|
137
|
+
KR: "韩国"
|
138
|
+
KW: "科威特"
|
139
|
+
KY: "开曼群岛"
|
140
|
+
KZ: "哈萨克斯坦"
|
141
|
+
LA: "老挝人民民主共和国"
|
142
|
+
LB: "黎巴嫩"
|
143
|
+
LC: "圣卢西亚"
|
144
|
+
LI: "列支敦士登"
|
145
|
+
LK: "斯里兰卡"
|
146
|
+
LR: "利比里亚"
|
147
|
+
LS: "莱索托"
|
148
|
+
LT: "立陶宛"
|
149
|
+
LU: "卢森堡"
|
150
|
+
LV: "拉脱维亚"
|
151
|
+
LY: "利比亚"
|
152
|
+
MA: "摩洛哥"
|
153
|
+
MC: "摩纳哥"
|
154
|
+
MD: "摩尔多瓦"
|
155
|
+
ME: "黑山共和国"
|
156
|
+
MF: "圣马丁; [draft=contributed]"
|
157
|
+
MG: "马达加斯加"
|
158
|
+
MH: "马绍尔群岛"
|
159
|
+
MK: "马其顿"
|
160
|
+
MK: "马其顿(前南斯拉夫的马其顿共和国)"
|
161
|
+
ML: "马里"
|
162
|
+
MM: "缅甸"
|
163
|
+
MN: "蒙古"
|
164
|
+
MO: "中国澳门特别行政区"
|
165
|
+
MO: "澳门"
|
166
|
+
MP: "北马里亚纳群岛"
|
167
|
+
MQ: "马提尼克群岛"
|
168
|
+
MR: "毛里塔尼亚"
|
169
|
+
MS: "蒙塞拉特群岛"
|
170
|
+
MT: "马耳他"
|
171
|
+
MU: "毛里求斯"
|
172
|
+
MV: "马尔代夫"
|
173
|
+
MW: "马拉维"
|
174
|
+
MX: "墨西哥"
|
175
|
+
MY: "马来西亚"
|
176
|
+
MZ: "莫桑比克"
|
177
|
+
NA: "纳米比亚"
|
178
|
+
NC: "新喀里多尼亚"
|
179
|
+
NE: "尼日尔"
|
180
|
+
NF: "诺福克岛"
|
181
|
+
NG: "尼日利亚"
|
182
|
+
NI: "尼加拉瓜"
|
183
|
+
NL: "荷兰"
|
184
|
+
NO: "挪威"
|
185
|
+
NP: "尼泊尔"
|
186
|
+
NR: "瑙鲁"
|
187
|
+
NU: "纽埃"
|
188
|
+
NZ: "新西兰"
|
189
|
+
OM: "阿曼"
|
190
|
+
PA: "巴拿马"
|
191
|
+
PE: "秘鲁"
|
192
|
+
PF: "法属波利尼西亚"
|
193
|
+
PG: "巴布亚新几内亚"
|
194
|
+
PH: "菲律宾"
|
195
|
+
PK: "巴基斯坦"
|
196
|
+
PL: "波兰"
|
197
|
+
PM: "圣皮埃尔和密克隆"
|
198
|
+
PN: "皮特凯恩群岛"
|
199
|
+
PR: "波多黎各"
|
200
|
+
PS: "巴勒斯坦领土"
|
201
|
+
PT: "葡萄牙"
|
202
|
+
PW: "帕劳"
|
203
|
+
PY: "巴拉圭"
|
204
|
+
QA: "卡塔尔"
|
205
|
+
QO: "大洋洲边远群岛"
|
206
|
+
RE: "留尼汪"
|
207
|
+
RO: "罗马尼亚"
|
208
|
+
RS: "塞尔维亚"
|
209
|
+
RU: "俄罗斯"
|
210
|
+
RW: "卢旺达"
|
211
|
+
SA: "沙特阿拉伯"
|
212
|
+
SB: "所罗门群岛"
|
213
|
+
SC: "塞舌尔群岛"
|
214
|
+
SD: "苏丹"
|
215
|
+
SE: "瑞典"
|
216
|
+
SG: "新加坡"
|
217
|
+
SH: "圣赫勒拿"
|
218
|
+
SI: "斯洛文尼亚"
|
219
|
+
SJ: "斯瓦尔巴特和扬马延"
|
220
|
+
SK: "斯洛伐克"
|
221
|
+
SL: "塞拉利昂"
|
222
|
+
SM: "圣马力诺"
|
223
|
+
SN: "塞内加尔"
|
224
|
+
SO: "索马里"
|
225
|
+
SR: "苏里南"
|
226
|
+
SS: "SS"
|
227
|
+
ST: "圣多美和普林西比"
|
228
|
+
SV: "萨尔瓦多"
|
229
|
+
SX: "SX"
|
230
|
+
SY: "叙利亚"
|
231
|
+
SZ: "斯威士兰"
|
232
|
+
TA: "特里斯坦-达库尼亚群岛"
|
233
|
+
TC: "特克斯和凯科斯群岛"
|
234
|
+
TD: "乍得"
|
235
|
+
TF: "法属南部领土"
|
236
|
+
TG: "多哥"
|
237
|
+
TH: "泰国"
|
238
|
+
TJ: "塔吉克斯坦"
|
239
|
+
TK: "托克劳"
|
240
|
+
TL: "东帝汶"
|
241
|
+
TL: "东帝汶"
|
242
|
+
TM: "土库曼斯坦"
|
243
|
+
TN: "突尼斯"
|
244
|
+
TO: "汤加"
|
245
|
+
TR: "土耳其"
|
246
|
+
TT: "特立尼达和多巴哥"
|
247
|
+
TV: "图瓦卢"
|
248
|
+
TW: "台湾"
|
249
|
+
TZ: "坦桑尼亚"
|
250
|
+
UA: "乌克兰"
|
251
|
+
UG: "乌干达"
|
252
|
+
UM: "美国边远小岛"
|
253
|
+
US: "美国"
|
254
|
+
UY: "乌拉圭"
|
255
|
+
UZ: "乌兹别克斯坦"
|
256
|
+
VA: "梵蒂冈"
|
257
|
+
VC: "圣文森特和格林纳丁斯"
|
258
|
+
VE: "委内瑞拉"
|
259
|
+
VG: "英属维京群岛"
|
260
|
+
VI: "美属维京群岛"
|
261
|
+
VN: "越南"
|
262
|
+
VU: "瓦努阿图"
|
263
|
+
WF: "瓦利斯和富图纳"
|
264
|
+
WS: "萨摩亚"
|
265
|
+
YE: "也门"
|
266
|
+
YT: "马约特"
|
267
|
+
ZA: "南非"
|
268
|
+
ZM: "赞比亚"
|
269
|
+
ZW: "津巴布韦"
|
270
|
+
ZZ: "未知地区"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18n-country-translations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-03-31 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
16
|
-
requirement: &
|
16
|
+
requirement: &70363742370080 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0.5'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70363742370080
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &70363742369580 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 3.0.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70363742369580
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec-rails
|
38
|
-
requirement: &
|
38
|
+
requirement: &70363742369120 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 2.7.0
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70363742369120
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: i18n-spec
|
49
|
-
requirement: &
|
49
|
+
requirement: &70363742368660 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 0.1.1
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70363742368660
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: spork
|
60
|
-
requirement: &
|
60
|
+
requirement: &70363742368200 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,7 +65,18 @@ dependencies:
|
|
65
65
|
version: 1.0rc
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70363742368200
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: hpricot
|
71
|
+
requirement: &70363742367820 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *70363742367820
|
69
80
|
description: The purpose of this gem is to simply provide country translations. The
|
70
81
|
gem is intended to be easy to combine with other gems that require i18n country
|
71
82
|
translations so we can have common i18n country translation gem.
|
@@ -80,9 +91,13 @@ files:
|
|
80
91
|
- lib/i18n_country_translations/version.rb
|
81
92
|
- lib/i18n_country_translations.rb
|
82
93
|
- lib/tasks/i18n-country-translations_tasks.rake
|
94
|
+
- rails/locale/de.yml
|
83
95
|
- rails/locale/en.yml
|
84
96
|
- rails/locale/es.yml
|
97
|
+
- rails/locale/fr.yml
|
85
98
|
- rails/locale/ja.yml
|
99
|
+
- rails/locale/pt.yml
|
100
|
+
- rails/locale/zh.yml
|
86
101
|
- README.rdoc
|
87
102
|
- MIT-LICENSE
|
88
103
|
homepage: https://github.com/onomojo/i18n-country-translations
|