localized_language_select 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +15 -0
- data/Gemfile.lock +90 -0
- data/MIT-LICENSE +20 -0
- data/README.textile +107 -0
- data/Rakefile +50 -0
- data/VERSION +1 -0
- data/init.rb +5 -0
- data/install.rb +4 -0
- data/lib/generators/localized_language_select/locales/locales_generator.rb +38 -0
- data/lib/localized_language_select.rb +117 -0
- data/lib/localized_language_select/i18n.rb +21 -0
- data/locale/da.yml +508 -0
- data/locale/de.yml +6 -0
- data/locale/en.yml +506 -0
- data/locale/fr.yml +505 -0
- data/locale/nl.yml +505 -0
- data/localized_language_select.gemspec +77 -0
- data/tasks/localized_language_select_tasks.rake +87 -0
- data/test/localized_language_select_test.rb +113 -0
- data/uninstall.rb +1 -0
- metadata +171 -0
data/locale/de.yml
ADDED
data/locale/en.yml
ADDED
@@ -0,0 +1,506 @@
|
|
1
|
+
en:
|
2
|
+
languages:
|
3
|
+
ab: "Abkhazian"
|
4
|
+
ace: "Achinese"
|
5
|
+
ach: "Acoli"
|
6
|
+
ada: "Adangme"
|
7
|
+
ady: "Adyghe"
|
8
|
+
ae: "Avestan"
|
9
|
+
af: "Afrikaans"
|
10
|
+
afa: "Afro-Asiatic Language"
|
11
|
+
afh: "Afrihili"
|
12
|
+
ain: "Ainu"
|
13
|
+
ak: "Akan"
|
14
|
+
akk: "Akkadian"
|
15
|
+
ale: "Aleut"
|
16
|
+
alg: "Algonquian Language"
|
17
|
+
alt: "Southern Altai"
|
18
|
+
am: "Amharic"
|
19
|
+
an: "Aragonese"
|
20
|
+
ang: "Old English"
|
21
|
+
anp: "Angika"
|
22
|
+
apa: "Apache Language"
|
23
|
+
ar: "Arabic"
|
24
|
+
arc: "Aramaic"
|
25
|
+
arn: "Araucanian"
|
26
|
+
arp: "Arapaho"
|
27
|
+
art: "Artificial Language"
|
28
|
+
arw: "Arawak"
|
29
|
+
as: "Assamese"
|
30
|
+
ast: "Asturian"
|
31
|
+
ath: "Athapascan Language"
|
32
|
+
aus: "Australian Language"
|
33
|
+
av: "Avaric"
|
34
|
+
awa: "Awadhi"
|
35
|
+
ay: "Aymara"
|
36
|
+
az: "Azerbaijani"
|
37
|
+
ba: "Bashkir"
|
38
|
+
bad: "Banda"
|
39
|
+
bai: "Bamileke Language"
|
40
|
+
bal: "Baluchi"
|
41
|
+
ban: "Balinese"
|
42
|
+
bas: "Basa"
|
43
|
+
bat: "Baltic Language"
|
44
|
+
be: "Belarusian"
|
45
|
+
bej: "Beja"
|
46
|
+
bem: "Bemba"
|
47
|
+
ber: "Berber"
|
48
|
+
bg: "Bulgarian"
|
49
|
+
bh: "Bihari"
|
50
|
+
bho: "Bhojpuri"
|
51
|
+
bi: "Bislama"
|
52
|
+
bik: "Bikol"
|
53
|
+
bin: "Bini"
|
54
|
+
bla: "Siksika"
|
55
|
+
bm: "Bambara"
|
56
|
+
bn: "Bengali"
|
57
|
+
bnt: "Bantu"
|
58
|
+
bo: "Tibetan"
|
59
|
+
br: "Breton"
|
60
|
+
bra: "Braj"
|
61
|
+
bs: "Bosnian"
|
62
|
+
btk: "Batak"
|
63
|
+
bua: "Buriat"
|
64
|
+
bug: "Buginese"
|
65
|
+
byn: "Blin"
|
66
|
+
ca: "Catalan"
|
67
|
+
cad: "Caddo"
|
68
|
+
cai: "Central American Indian Language"
|
69
|
+
car: "Carib"
|
70
|
+
cau: "Caucasian Language"
|
71
|
+
cch: "Atsam"
|
72
|
+
ce: "Chechen"
|
73
|
+
ceb: "Cebuano"
|
74
|
+
cel: "Celtic Language"
|
75
|
+
ch: "Chamorro"
|
76
|
+
chb: "Chibcha"
|
77
|
+
chg: "Chagatai"
|
78
|
+
chk: "Chuukese"
|
79
|
+
chm: "Mari"
|
80
|
+
chn: "Chinook Jargon"
|
81
|
+
cho: "Choctaw"
|
82
|
+
chp: "Chipewyan"
|
83
|
+
chr: "Cherokee"
|
84
|
+
chy: "Cheyenne"
|
85
|
+
cmc: "Chamic Language"
|
86
|
+
co: "Corsican"
|
87
|
+
cop: "Coptic"
|
88
|
+
cpe: "English-based Creole or Pidgin"
|
89
|
+
cpf: "French-based Creole or Pidgin"
|
90
|
+
cpp: "Portuguese-based Creole or Pidgin"
|
91
|
+
cr: "Cree"
|
92
|
+
crh: "Crimean Turkish"
|
93
|
+
crp: "Creole or Pidgin"
|
94
|
+
cs: "Czech"
|
95
|
+
csb: "Kashubian"
|
96
|
+
cu: "Church Slavic"
|
97
|
+
cus: "Cushitic Language"
|
98
|
+
cv: "Chuvash"
|
99
|
+
cy: "Welsh"
|
100
|
+
da: "Danish"
|
101
|
+
dak: "Dakota"
|
102
|
+
dar: "Dargwa"
|
103
|
+
day: "Dayak"
|
104
|
+
de: "German"
|
105
|
+
"de-AT": "Austrian German"
|
106
|
+
"de-CH": "Swiss High German"
|
107
|
+
del: "Delaware"
|
108
|
+
den: "Slave"
|
109
|
+
dgr: "Dogrib"
|
110
|
+
din: "Dinka"
|
111
|
+
doi: "Dogri"
|
112
|
+
dra: "Dravidian Language"
|
113
|
+
dsb: "Lower Sorbian"
|
114
|
+
dua: "Duala"
|
115
|
+
dum: "Middle Dutch"
|
116
|
+
dv: "Divehi"
|
117
|
+
dyu: "Dyula"
|
118
|
+
dz: "Dzongkha"
|
119
|
+
ee: "Ewe"
|
120
|
+
efi: "Efik"
|
121
|
+
egy: "Ancient Egyptian"
|
122
|
+
eka: "Ekajuk"
|
123
|
+
el: "Greek"
|
124
|
+
elx: "Elamite"
|
125
|
+
en: "English"
|
126
|
+
"en-AU": "Australian English"
|
127
|
+
"en-CA": "Canadian English"
|
128
|
+
"en-GB": "British English"
|
129
|
+
"en-US": "U.S. English"
|
130
|
+
enm: "Middle English"
|
131
|
+
eo: "Esperanto"
|
132
|
+
es: "Spanish"
|
133
|
+
"es-ES": "Iberian Spanish"
|
134
|
+
et: "Estonian"
|
135
|
+
eu: "Basque"
|
136
|
+
ewo: "Ewondo"
|
137
|
+
fa: "Persian"
|
138
|
+
fan: "Fang"
|
139
|
+
fat: "Fanti"
|
140
|
+
ff: "Fulah"
|
141
|
+
fi: "Finnish"
|
142
|
+
fil: "Filipino"
|
143
|
+
fiu: "Finno-Ugrian Language"
|
144
|
+
fj: "Fijian"
|
145
|
+
fo: "Faroese"
|
146
|
+
fon: "Fon"
|
147
|
+
fr: "French"
|
148
|
+
"fr-CA": "Canadian French"
|
149
|
+
"fr-CH": "Swiss French"
|
150
|
+
frm: "Middle French"
|
151
|
+
fro: "Old French"
|
152
|
+
frr: "Northern Frisian"
|
153
|
+
frs: "Eastern Frisian"
|
154
|
+
fur: "Friulian"
|
155
|
+
fy: "Western Frisian"
|
156
|
+
ga: "Irish"
|
157
|
+
gaa: "Ga"
|
158
|
+
gay: "Gayo"
|
159
|
+
gba: "Gbaya"
|
160
|
+
gd: "Scottish Gaelic"
|
161
|
+
gem: "Germanic Language"
|
162
|
+
gez: "Geez"
|
163
|
+
gil: "Gilbertese"
|
164
|
+
gl: "Galician"
|
165
|
+
gmh: "Middle High German"
|
166
|
+
gn: "Guarani"
|
167
|
+
goh: "Old High German"
|
168
|
+
gon: "Gondi"
|
169
|
+
gor: "Gorontalo"
|
170
|
+
got: "Gothic"
|
171
|
+
grb: "Grebo"
|
172
|
+
grc: "Ancient Greek"
|
173
|
+
gsw: "Swiss German"
|
174
|
+
gu: "Gujarati"
|
175
|
+
gv: "Manx"
|
176
|
+
gwi: "Gwichʼin"
|
177
|
+
ha: "Hausa"
|
178
|
+
hai: "Haida"
|
179
|
+
haw: "Hawaiian"
|
180
|
+
he: "Hebrew"
|
181
|
+
hi: "Hindi"
|
182
|
+
hil: "Hiligaynon"
|
183
|
+
him: "Himachali"
|
184
|
+
hit: "Hittite"
|
185
|
+
hmn: "Hmong"
|
186
|
+
ho: "Hiri Motu"
|
187
|
+
hr: "Croatian"
|
188
|
+
hsb: "Upper Sorbian"
|
189
|
+
ht: "Haitian"
|
190
|
+
hu: "Hungarian"
|
191
|
+
hup: "Hupa"
|
192
|
+
hy: "Armenian"
|
193
|
+
hz: "Herero"
|
194
|
+
ia: "Interlingua"
|
195
|
+
iba: "Iban"
|
196
|
+
id: "Indonesian"
|
197
|
+
ie: "Interlingue"
|
198
|
+
ig: "Igbo"
|
199
|
+
ii: "Sichuan Yi"
|
200
|
+
ijo: "Ijo"
|
201
|
+
ik: "Inupiaq"
|
202
|
+
ilo: "Iloko"
|
203
|
+
inc: "Indic Language"
|
204
|
+
ine: "Indo-European Language"
|
205
|
+
inh: "Ingush"
|
206
|
+
io: "Ido"
|
207
|
+
ira: "Iranian Language"
|
208
|
+
iro: "Iroquoian Language"
|
209
|
+
is: "Icelandic"
|
210
|
+
it: "Italian"
|
211
|
+
iu: "Inuktitut"
|
212
|
+
ja: "Japanese"
|
213
|
+
jbo: "Lojban"
|
214
|
+
jpr: "Judeo-Persian"
|
215
|
+
jrb: "Judeo-Arabic"
|
216
|
+
jv: "Javanese"
|
217
|
+
ka: "Georgian"
|
218
|
+
kaa: "Kara-Kalpak"
|
219
|
+
kab: "Kabyle"
|
220
|
+
kac: "Kachin"
|
221
|
+
kaj: "Jju"
|
222
|
+
kam: "Kamba"
|
223
|
+
kar: "Karen"
|
224
|
+
kaw: "Kawi"
|
225
|
+
kbd: "Kabardian"
|
226
|
+
kcg: "Tyap"
|
227
|
+
kfo: "Koro"
|
228
|
+
kg: "Kongo"
|
229
|
+
kha: "Khasi"
|
230
|
+
khi: "Khoisan Language"
|
231
|
+
kho: "Khotanese"
|
232
|
+
ki: "Kikuyu"
|
233
|
+
kj: "Kuanyama"
|
234
|
+
kk: "Kazakh"
|
235
|
+
kl: "Kalaallisut"
|
236
|
+
km: "Khmer"
|
237
|
+
kmb: "Kimbundu"
|
238
|
+
kn: "Kannada"
|
239
|
+
ko: "Korean"
|
240
|
+
kok: "Konkani"
|
241
|
+
kos: "Kosraean"
|
242
|
+
kpe: "Kpelle"
|
243
|
+
kr: "Kanuri"
|
244
|
+
krc: "Karachay-Balkar"
|
245
|
+
krl: "Karelian"
|
246
|
+
kro: "Kru"
|
247
|
+
kru: "Kurukh"
|
248
|
+
ks: "Kashmiri"
|
249
|
+
ku: "Kurdish"
|
250
|
+
kum: "Kumyk"
|
251
|
+
kut: "Kutenai"
|
252
|
+
kv: "Komi"
|
253
|
+
kw: "Cornish"
|
254
|
+
ky: "Kirghiz"
|
255
|
+
la: "Latin"
|
256
|
+
lad: "Ladino"
|
257
|
+
lah: "Lahnda"
|
258
|
+
lam: "Lamba"
|
259
|
+
lb: "Luxembourgish"
|
260
|
+
lez: "Lezghian"
|
261
|
+
lg: "Ganda"
|
262
|
+
li: "Limburgish"
|
263
|
+
ln: "Lingala"
|
264
|
+
lo: "Lao"
|
265
|
+
lol: "Mongo"
|
266
|
+
loz: "Lozi"
|
267
|
+
lt: "Lithuanian"
|
268
|
+
lu: "Luba-Katanga"
|
269
|
+
lua: "Luba-Lulua"
|
270
|
+
lui: "Luiseno"
|
271
|
+
lun: "Lunda"
|
272
|
+
luo: "Luo"
|
273
|
+
lus: "Lushai"
|
274
|
+
lv: "Latvian"
|
275
|
+
mad: "Madurese"
|
276
|
+
mag: "Magahi"
|
277
|
+
mai: "Maithili"
|
278
|
+
mak: "Makasar"
|
279
|
+
man: "Mandingo"
|
280
|
+
map: "Austronesian Language"
|
281
|
+
mas: "Masai"
|
282
|
+
mdf: "Moksha"
|
283
|
+
mdr: "Mandar"
|
284
|
+
men: "Mende"
|
285
|
+
mg: "Malagasy"
|
286
|
+
mga: "Middle Irish"
|
287
|
+
mh: "Marshallese"
|
288
|
+
mi: "Maori"
|
289
|
+
mic: "Micmac"
|
290
|
+
min: "Minangkabau"
|
291
|
+
mis: "Miscellaneous Language"
|
292
|
+
mk: "Macedonian"
|
293
|
+
mkh: "Mon-Khmer Language"
|
294
|
+
ml: "Malayalam"
|
295
|
+
mn: "Mongolian"
|
296
|
+
mnc: "Manchu"
|
297
|
+
mni: "Manipuri"
|
298
|
+
mno: "Manobo Language"
|
299
|
+
mo: "Moldavian"
|
300
|
+
moh: "Mohawk"
|
301
|
+
mos: "Mossi"
|
302
|
+
mr: "Marathi"
|
303
|
+
ms: "Malay"
|
304
|
+
mt: "Maltese"
|
305
|
+
mul: "Multiple Languages"
|
306
|
+
mun: "Munda Language"
|
307
|
+
mus: "Creek"
|
308
|
+
mwl: "Mirandese"
|
309
|
+
mwr: "Marwari"
|
310
|
+
my: "Burmese"
|
311
|
+
myn: "Mayan Language"
|
312
|
+
myv: "Erzya"
|
313
|
+
na: "Nauru"
|
314
|
+
nah: "Nahuatl"
|
315
|
+
nai: "North American Indian Language"
|
316
|
+
nap: "Neapolitan"
|
317
|
+
nb: "Norwegian Bokmål"
|
318
|
+
nd: "North Ndebele"
|
319
|
+
nds: "Low German"
|
320
|
+
ne: "Nepali"
|
321
|
+
new: "Newari"
|
322
|
+
ng: "Ndonga"
|
323
|
+
nia: "Nias"
|
324
|
+
nic: "Niger-Kordofanian Language"
|
325
|
+
niu: "Niuean"
|
326
|
+
nl: "Dutch"
|
327
|
+
"nl-BE": "Flemish"
|
328
|
+
nn: "Norwegian Nynorsk"
|
329
|
+
no: "Norwegian"
|
330
|
+
nog: "Nogai"
|
331
|
+
non: "Old Norse"
|
332
|
+
nqo: "N’Ko"
|
333
|
+
nr: "South Ndebele"
|
334
|
+
nso: "Northern Sotho"
|
335
|
+
nub: "Nubian Language"
|
336
|
+
nv: "Navajo"
|
337
|
+
nwc: "Classical Newari"
|
338
|
+
ny: "Nyanja"
|
339
|
+
nym: "Nyamwezi"
|
340
|
+
nyn: "Nyankole"
|
341
|
+
nyo: "Nyoro"
|
342
|
+
nzi: "Nzima"
|
343
|
+
oc: "Occitan"
|
344
|
+
oj: "Ojibwa"
|
345
|
+
om: "Oromo"
|
346
|
+
or: "Oriya"
|
347
|
+
os: "Ossetic"
|
348
|
+
osa: "Osage"
|
349
|
+
ota: "Ottoman Turkish"
|
350
|
+
oto: "Otomian Language"
|
351
|
+
pa: "Punjabi"
|
352
|
+
paa: "Papuan Language"
|
353
|
+
pag: "Pangasinan"
|
354
|
+
pal: "Pahlavi"
|
355
|
+
pam: "Pampanga"
|
356
|
+
pap: "Papiamento"
|
357
|
+
pau: "Palauan"
|
358
|
+
peo: "Old Persian"
|
359
|
+
phi: "Philippine Language"
|
360
|
+
phn: "Phoenician"
|
361
|
+
pi: "Pali"
|
362
|
+
pl: "Polish"
|
363
|
+
pon: "Pohnpeian"
|
364
|
+
pra: "Prakrit Language"
|
365
|
+
pro: "Old Provençal"
|
366
|
+
ps: "Pashto"
|
367
|
+
pt: "Portuguese"
|
368
|
+
"pt-BR": "Brazilian Portuguese"
|
369
|
+
"pt-PT": "Iberian Portuguese"
|
370
|
+
qu: "Quechua"
|
371
|
+
raj: "Rajasthani"
|
372
|
+
rap: "Rapanui"
|
373
|
+
rar: "Rarotongan"
|
374
|
+
rm: "Rhaeto-Romance"
|
375
|
+
rn: "Rundi"
|
376
|
+
ro: "Romanian"
|
377
|
+
roa: "Romance Language"
|
378
|
+
rom: "Romany"
|
379
|
+
ru: "Russian"
|
380
|
+
rup: "Aromanian"
|
381
|
+
rw: "Kinyarwanda"
|
382
|
+
sa: "Sanskrit"
|
383
|
+
sad: "Sandawe"
|
384
|
+
sah: "Yakut"
|
385
|
+
sai: "South American Indian Language"
|
386
|
+
sal: "Salishan Language"
|
387
|
+
sam: "Samaritan Aramaic"
|
388
|
+
sas: "Sasak"
|
389
|
+
sat: "Santali"
|
390
|
+
sc: "Sardinian"
|
391
|
+
scn: "Sicilian"
|
392
|
+
sco: "Scots"
|
393
|
+
sd: "Sindhi"
|
394
|
+
se: "Northern Sami"
|
395
|
+
sel: "Selkup"
|
396
|
+
sem: "Semitic Language"
|
397
|
+
sg: "Sango"
|
398
|
+
sga: "Old Irish"
|
399
|
+
sgn: "Sign Language"
|
400
|
+
sh: "Serbo-Croatian"
|
401
|
+
shn: "Shan"
|
402
|
+
si: "Sinhala"
|
403
|
+
sid: "Sidamo"
|
404
|
+
sio: "Siouan Language"
|
405
|
+
sit: "Sino-Tibetan Language"
|
406
|
+
sk: "Slovak"
|
407
|
+
sl: "Slovenian"
|
408
|
+
sla: "Slavic Language"
|
409
|
+
sm: "Samoan"
|
410
|
+
sma: "Southern Sami"
|
411
|
+
smi: "Sami Language"
|
412
|
+
smj: "Lule Sami"
|
413
|
+
smn: "Inari Sami"
|
414
|
+
sms: "Skolt Sami"
|
415
|
+
sn: "Shona"
|
416
|
+
snk: "Soninke"
|
417
|
+
so: "Somali"
|
418
|
+
sog: "Sogdien"
|
419
|
+
son: "Songhai"
|
420
|
+
sq: "Albanian"
|
421
|
+
sr: "Serbian"
|
422
|
+
srn: "Sranan Tongo"
|
423
|
+
srr: "Serer"
|
424
|
+
ss: "Swati"
|
425
|
+
ssa: "Nilo-Saharan Language"
|
426
|
+
st: "Southern Sotho"
|
427
|
+
su: "Sundanese"
|
428
|
+
suk: "Sukuma"
|
429
|
+
sus: "Susu"
|
430
|
+
sux: "Sumerian"
|
431
|
+
sv: "Swedish"
|
432
|
+
sw: "Swahili"
|
433
|
+
syc: "Classical Syriac"
|
434
|
+
syr: "Syriac"
|
435
|
+
ta: "Tamil"
|
436
|
+
tai: "Tai Language"
|
437
|
+
te: "Telugu"
|
438
|
+
tem: "Timne"
|
439
|
+
ter: "Tereno"
|
440
|
+
tet: "Tetum"
|
441
|
+
tg: "Tajik"
|
442
|
+
th: "Thai"
|
443
|
+
ti: "Tigrinya"
|
444
|
+
tig: "Tigre"
|
445
|
+
tiv: "Tiv"
|
446
|
+
tk: "Turkmen"
|
447
|
+
tkl: "Tokelau"
|
448
|
+
tl: "Tagalog"
|
449
|
+
tlh: "Klingon"
|
450
|
+
tli: "Tlingit"
|
451
|
+
tmh: "Tamashek"
|
452
|
+
tn: "Tswana"
|
453
|
+
to: "Tonga"
|
454
|
+
tog: "Nyasa Tonga"
|
455
|
+
tpi: "Tok Pisin"
|
456
|
+
tr: "Turkish"
|
457
|
+
trv: "Taroko"
|
458
|
+
ts: "Tsonga"
|
459
|
+
tsi: "Tsimshian"
|
460
|
+
tt: "Tatar"
|
461
|
+
tum: "Tumbuka"
|
462
|
+
tup: "Tupi Language"
|
463
|
+
tut: "Altaic Language"
|
464
|
+
tvl: "Tuvalu"
|
465
|
+
tw: "Twi"
|
466
|
+
ty: "Tahitian"
|
467
|
+
tyv: "Tuvinian"
|
468
|
+
udm: "Udmurt"
|
469
|
+
ug: "Uighur"
|
470
|
+
uga: "Ugaritic"
|
471
|
+
uk: "Ukrainian"
|
472
|
+
umb: "Umbundu"
|
473
|
+
und: "Unknown or Invalid Language"
|
474
|
+
ur: "Urdu"
|
475
|
+
uz: "Uzbek"
|
476
|
+
vai: "Vai"
|
477
|
+
ve: "Venda"
|
478
|
+
vi: "Vietnamese"
|
479
|
+
vo: "Volapük"
|
480
|
+
vot: "Votic"
|
481
|
+
wa: "Walloon"
|
482
|
+
wak: "Wakashan Language"
|
483
|
+
wal: "Walamo"
|
484
|
+
war: "Waray"
|
485
|
+
was: "Washo"
|
486
|
+
wen: "Sorbian Language"
|
487
|
+
wo: "Wolof"
|
488
|
+
xal: "Kalmyk"
|
489
|
+
xh: "Xhosa"
|
490
|
+
yao: "Yao"
|
491
|
+
yap: "Yapese"
|
492
|
+
yi: "Yiddish"
|
493
|
+
yo: "Yoruba"
|
494
|
+
ypk: "Yupik Language"
|
495
|
+
za: "Zhuang"
|
496
|
+
zap: "Zapotec"
|
497
|
+
zbl: "Blissymbols"
|
498
|
+
zen: "Zenaga"
|
499
|
+
zh: "Chinese"
|
500
|
+
zh-Hans: "Simplified Chinese"
|
501
|
+
zh-Hant: "Traditional Chinese"
|
502
|
+
znd: "Zande"
|
503
|
+
zu: "Zulu"
|
504
|
+
zun: "Zuni"
|
505
|
+
zxx: "No linguistic content"
|
506
|
+
zza: "Zaza"
|