localized_language_select 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,21 @@
1
+ # encoding: utf-8
2
+
3
+ # TODO !!! ("stolen" from Formtastic, but can't seem to make it work... waiting for engines to do this magic OOTB !)
4
+
5
+ # module LocalizedLanguageSelect
6
+ # module I18n
7
+ # DEFAULT_SCOPE = [:languages].freeze
8
+ # DEFAULT_VALUES = YAML.load_file(File.expand_path("../../../locale/en.yml", __FILE__))["en"]["languages"].freeze
9
+ #
10
+ # class << self
11
+ # def translate(*args)
12
+ # key = args.shift.to_sym
13
+ # options = args.extract_options!
14
+ # options.reverse_merge!(:default => DEFAULT_VALUES[key])
15
+ # options[:scope] = [DEFAULT_SCOPE, options[:scope]].flatten.compact
16
+ # ::I18n.translate(key, *(args << options))
17
+ # end
18
+ # alias :t :translate
19
+ # end
20
+ # end
21
+ # end
@@ -0,0 +1,508 @@
1
+ # TODO !!!
2
+
3
+ en:
4
+ languages:
5
+ ab: "Abkhaziansk"
6
+ ace: "Achinesisk"
7
+ ach: "Acoli"
8
+ ada: "Adangme"
9
+ ady: "Adyghe"
10
+ ae: "Avestan"
11
+ af: "Afrikaan"
12
+ afa: "Afro-Asiatisk Sprog"
13
+ afh: "Afrihili"
14
+ ain: "Ainu"
15
+ ak: "Akan"
16
+ akk: "Akkadiansk"
17
+ ale: "Aleut"
18
+ alg: "Algonquian Sprog"
19
+ alt: "Syd Altai"
20
+ am: "Amharisk"
21
+ an: "Aragonese"
22
+ ang: "Gammelt Engelsk"
23
+ anp: "Angika"
24
+ apa: "Apache Sprog"
25
+ ar: "Arabisk"
26
+ arc: "Aramaic"
27
+ arn: "Araucanian"
28
+ arp: "Arapaho"
29
+ art: "Kunstigt Sprog"
30
+ arw: "Arawak"
31
+ as: "Assamesisk"
32
+ ast: "Asturiansk"
33
+ ath: "Athapascan Sprog"
34
+ aus: "Australian Sprog"
35
+ av: "Avaric"
36
+ awa: "Awadhi"
37
+ ay: "Aymara"
38
+ az: "Azerbaijani"
39
+ ba: "Bashkir"
40
+ bad: "Banda"
41
+ bai: "Bamileke Sprog"
42
+ bal: "Baluchi"
43
+ ban: "Balinesisk"
44
+ bas: "Basa"
45
+ bat: "Baltisk Sprog"
46
+ be: "Hvide Russisk"
47
+ bej: "Beja"
48
+ bem: "Bemba"
49
+ ber: "Berber"
50
+ bg: "Bulgarsk"
51
+ bh: "Bihari"
52
+ bho: "Bhojpuri"
53
+ bi: "Bislama"
54
+ bik: "Bikol"
55
+ bin: "Bini"
56
+ bla: "Siksika"
57
+ bm: "Bambara"
58
+ bn: "Bengali"
59
+ bnt: "Bantu"
60
+ bo: "Tibetansk"
61
+ br: "Breton"
62
+ bra: "Braj"
63
+ bs: "Bosnisk"
64
+ btk: "Batak"
65
+ bua: "Buriat"
66
+ bug: "Buginesisk"
67
+ byn: "Blin"
68
+ ca: "Katalansk"
69
+ cad: "Caddo"
70
+ cai: "Central Amerikansk Indiansk Sprog"
71
+ car: "Karibisk"
72
+ cau: "Kaukasisk Sprog"
73
+ cch: "Atsam"
74
+ ce: "Chechen"
75
+ ceb: "Cebuano"
76
+ cel: "Keltisk Sprog"
77
+ ch: "Chamorro"
78
+ chb: "Chibcha"
79
+ chg: "Chagatai"
80
+ chk: "Chuukese"
81
+ chm: "Mari"
82
+ chn: "Chinook Jargon"
83
+ cho: "Choctaw"
84
+ chp: "Chipewyan"
85
+ chr: "Cherokee"
86
+ chy: "Cheyenne"
87
+ cmc: "Chamisk Sprog"
88
+ co: "Korsikansk"
89
+ cop: "Coptic"
90
+ cpe: "Engelsk-baseret Kreolsk eller Pidgin"
91
+ cpf: "Fransk-baseret Kreolsk eller Pidgin"
92
+ cpp: "Portugisisk-baseret Kreolsk eller Pidgin"
93
+ cr: "Cree"
94
+ crh: "Crimean Tyrkisk"
95
+ crp: "Kreolsk eller Pidgin"
96
+ cs: "Tjekkisk"
97
+ csb: "Kashubian"
98
+ cu: "Church Slavisk"
99
+ cus: "Cushitisk Sprog"
100
+ cv: "Chuvash"
101
+ cy: "Walisisk"
102
+ da: "Dansk"
103
+ dak: "Dakota"
104
+ dar: "Dargwa"
105
+ day: "Dayak"
106
+ de: "Tysk"
107
+ "de-AT": "Østrisk Tysk"
108
+ "de-CH": "Schweizisk Høj Tysk"
109
+ del: "Delaware"
110
+ den: "Slave"
111
+ dgr: "Dogrib"
112
+ din: "Dinka"
113
+ doi: "Dogri"
114
+ dra: "Dravidian Sprog"
115
+ dsb: "Nedre Sorbiansk"
116
+ dua: "Duala"
117
+ dum: "Mellem Hollandsk"
118
+ dv: "Divehi"
119
+ dyu: "Dyula"
120
+ dz: "Dzongkha"
121
+ ee: "Ewe"
122
+ efi: "Efik"
123
+ egy: "Gammelt Egyptisk"
124
+ eka: "Ekajuk"
125
+ el: "Græsk"
126
+ elx: "Elamite"
127
+ en: "Engelsk"
128
+ en-AU: "Australsk Engelsk"
129
+ en-CA: "Canada Engelsk"
130
+ en-GB: "British Engelsk"
131
+ en-US: "Amerikansk Engelsk"
132
+ enm: "Middle Engelsk"
133
+ eo: "Esperanto"
134
+ es: "Spansk"
135
+ es-ES: "Iberisk Spansk"
136
+ et: "Estisk"
137
+ eu: "Basque"
138
+ ewo: "Ewondo"
139
+ fa: "Persisk"
140
+ fan: "Fang"
141
+ fat: "Fanti"
142
+ ff: "Fulah"
143
+ fi: "Finsk"
144
+ fil: "Filipinsk"
145
+ fiu: "Finsk-Ugrian Sprog"
146
+ fj: "Fiji"
147
+ fo: "Færøsk"
148
+ fon: "Fon"
149
+ fr: "Fransk"
150
+ fr-CA: "Canadisk Fransk"
151
+ fr-CH: "Schweitzer Fransk"
152
+ frm: "Mellem Fransk"
153
+ fro: "Gammelt Fransk"
154
+ frr: "Northern Frisian"
155
+ frs: "Eastern Frisian"
156
+ fur: "Friulian"
157
+ fy: "Vest Frisisk"
158
+ ga: "Irsk"
159
+ gaa: "Ga"
160
+ gay: "Gayo"
161
+ gba: "Gbaya"
162
+ gd: "Scottisk Gaelic"
163
+ gem: "Tyskic Sprog"
164
+ gez: "Geez"
165
+ gil: "Gilbertesisk"
166
+ gl: "Galicisk"
167
+ gmh: "Middle High Tysk"
168
+ gn: "Guarani"
169
+ goh: "Gammelt Høj Tysk"
170
+ gon: "Gondi"
171
+ gor: "Gorontalo"
172
+ got: "Gotisk"
173
+ grb: "Grebo"
174
+ grc: "Gammelt Græsk"
175
+ gsw: "Swiss Tysk"
176
+ gu: "Gujarati"
177
+ gv: "Manx"
178
+ gwi: "Gwichʼin"
179
+ ha: "Hausa"
180
+ hai: "Haida"
181
+ haw: "Hawaii"
182
+ he: "Hebræisk"
183
+ hi: "Hindi"
184
+ hil: "Hiligaynon"
185
+ him: "Himachali"
186
+ hit: "Hittite"
187
+ hmn: "Hmong"
188
+ ho: "Hiri Motu"
189
+ hr: "Kroatisk"
190
+ hsb: "Øvre Sorbiansk"
191
+ ht: "Haitiansk"
192
+ hu: "Ungarsk"
193
+ hup: "Hupa"
194
+ hy: "Armensk"
195
+ hz: "Herero"
196
+ ia: "Interlingua"
197
+ iba: "Iban"
198
+ id: "Indonesisk"
199
+ ie: "Interlingue"
200
+ ig: "Igbo"
201
+ ii: "Sichuan Yi"
202
+ ijo: "Ijo"
203
+ ik: "Inupiaq"
204
+ ilo: "Iloko"
205
+ inc: "Indisk Sprog"
206
+ ine: "Indo-Europæisk Sprog"
207
+ inh: "Ingush"
208
+ io: "Ido"
209
+ ira: "Iransk Sprog"
210
+ iro: "Iroquoisk Sprog"
211
+ is: "Icelandic"
212
+ it: "Italian"
213
+ iu: "Inuktitut"
214
+ ja: "Japanese"
215
+ jbo: "Lojban"
216
+ jpr: "Judeo-Persisk"
217
+ jrb: "Judeo-Arabisk"
218
+ jv: "Javanesisk"
219
+ ka: "Georgisk"
220
+ kaa: "Kara-Kalpak"
221
+ kab: "Kabyle"
222
+ kac: "Kachin"
223
+ kaj: "Jju"
224
+ kam: "Kamba"
225
+ kar: "Karen"
226
+ kaw: "Kawi"
227
+ kbd: "Kabardian"
228
+ kcg: "Tyap"
229
+ kfo: "Koro"
230
+ kg: "Kongo"
231
+ kha: "Khasi"
232
+ khi: "Khoisan Sprog"
233
+ kho: "Khotanesisk"
234
+ ki: "Kikuyu"
235
+ kj: "Kuanyama"
236
+ kk: "Kazakh"
237
+ kl: "Kalaallisut"
238
+ km: "Khmer"
239
+ kmb: "Kimbundu"
240
+ kn: "Kannada"
241
+ ko: "Koreansk"
242
+ kok: "Konkani"
243
+ kos: "Kosraean"
244
+ kpe: "Kpelle"
245
+ kr: "Kanuri"
246
+ krc: "Karachay-Balkar"
247
+ krl: "Karelian"
248
+ kro: "Kru"
249
+ kru: "Kurukh"
250
+ ks: "Kashmiri"
251
+ ku: "Kurdisk"
252
+ kum: "Kumyk"
253
+ kut: "Kutenai"
254
+ kv: "Komi"
255
+ kw: "Cornish"
256
+ ky: "Kirghiz"
257
+ la: "Latinsk"
258
+ lad: "Ladino"
259
+ lah: "Lahnda"
260
+ lam: "Lamba"
261
+ lb: "Luxemborgsk"
262
+ lez: "Lezghisisk"
263
+ lg: "Ganda"
264
+ li: "Limburgisk"
265
+ ln: "Lingala"
266
+ lo: "Lao"
267
+ lol: "Mongo"
268
+ loz: "Lozi"
269
+ lt: "Litauisk"
270
+ lu: "Luba-Katanga"
271
+ lua: "Luba-Lulua"
272
+ lui: "Luiseno"
273
+ lun: "Lunda"
274
+ luo: "Luo"
275
+ lus: "Lushai"
276
+ lv: "Letisk"
277
+ mad: "Madurese"
278
+ mag: "Magahi"
279
+ mai: "Maithili"
280
+ mak: "Makasar"
281
+ man: "Mandingo"
282
+ map: "Austronesiansk Sprog"
283
+ mas: "Masai"
284
+ mdf: "Moksha"
285
+ mdr: "Mandar"
286
+ men: "Mende"
287
+ mg: "Malagasy"
288
+ mga: "Mellem Irsk"
289
+ mh: "Marshallesisk"
290
+ mi: "Maori"
291
+ mic: "Micmac"
292
+ min: "Minangkabau"
293
+ mis: "Diverse Sprog"
294
+ mk: "Makedoniansk"
295
+ mkh: "Mon-Khmer Sprog"
296
+ ml: "Malayalam"
297
+ mn: "Mongolian"
298
+ mnc: "Manchu"
299
+ mni: "Manipuri"
300
+ mno: "Manobo Sprog"
301
+ mo: "Moldaviansk"
302
+ moh: "Mohawk"
303
+ mos: "Mossi"
304
+ mr: "Marathi"
305
+ ms: "Malaysisk"
306
+ mt: "Maltesisk"
307
+ mul: "Flere Sprogs"
308
+ mun: "Munda Sprog"
309
+ mus: "Creek"
310
+ mwl: "Mirandese"
311
+ mwr: "Marwari"
312
+ my: "Burmese"
313
+ myn: "Mayan Sprog"
314
+ myv: "Erzya"
315
+ na: "Nauru"
316
+ nah: "Nahuatl"
317
+ nai: "Nord Amerikansk Indiansk Sprog"
318
+ nap: "Neapolitan"
319
+ nb: "Norsk Bokmål"
320
+ nd: "Nord Ndebele"
321
+ nds: "Neder Tysk"
322
+ ne: "Nepalesisk"
323
+ new: "Newari"
324
+ ng: "Ndonga"
325
+ nia: "Nias"
326
+ nic: "Niger-Kordofaniansk Sprog"
327
+ niu: "Niuean"
328
+ nl: "Hollandsk"
329
+ nl-BE: "Flamsk"
330
+ nn: "Norsk Nynorsk"
331
+ no: "Norsk"
332
+ nog: "Nogai"
333
+ non: "Gammelt Norse"
334
+ nqo: "N’Ko"
335
+ nr: "Syd Ndebele"
336
+ nso: "Nordisk Sotho"
337
+ nub: "Nubiansk Sprog"
338
+ nv: "Navajo"
339
+ nwc: "Klassisk Newari"
340
+ ny: "Nyanja"
341
+ nym: "Nyamwezi"
342
+ nyn: "Nyankole"
343
+ nyo: "Nyoro"
344
+ nzi: "Nzima"
345
+ oc: "Occitan"
346
+ oj: "Ojibwa"
347
+ om: "Oromo"
348
+ or: "Oriya"
349
+ os: "Ossetisk"
350
+ osa: "Osage"
351
+ ota: "Ottoman Turkish"
352
+ oto: "Otomansk Sprog"
353
+ pa: "Punjabi"
354
+ paa: "Papuan Sprog"
355
+ pag: "Pangasinan"
356
+ pal: "Pahlavi"
357
+ pam: "Pampanga"
358
+ pap: "Papiamento"
359
+ pau: "Palauan"
360
+ peo: "Gammelt Persisk"
361
+ phi: "Philippisk Sprog"
362
+ phn: "Phoeniciansk"
363
+ pi: "Pali"
364
+ pl: "Polsk"
365
+ pon: "Pohnpeian"
366
+ pra: "Prakrit Sprog"
367
+ pro: "Gammelt Provençal"
368
+ ps: "Pashto"
369
+ pt: "Portugisisk"
370
+ pt-BR: "Braziliansk Portugisisk"
371
+ pt-PT: "Iberian Portugisisk"
372
+ qu: "Quechua"
373
+ raj: "Rajasthani"
374
+ rap: "Rapanui"
375
+ rar: "Rarotongan"
376
+ rm: "Rhaeto-Romance"
377
+ rn: "Rundi"
378
+ ro: "Rumansk"
379
+ roa: "Romance Sprog"
380
+ rom: "Romany"
381
+ ru: "Russisk"
382
+ rup: "Aromaniansk"
383
+ rw: "Kinyarwanda"
384
+ sa: "Sanskrit"
385
+ sad: "Sandawe"
386
+ sah: "Yakut"
387
+ sai: "Syd American Indian Sprog"
388
+ sal: "Salishan Sprog"
389
+ sam: "Samaritansk Aramaic"
390
+ sas: "Sasak"
391
+ sat: "Santali"
392
+ sc: "Sardinsk"
393
+ scn: "Sicilian"
394
+ sco: "Scots"
395
+ sd: "Sindhi"
396
+ se: "Nordisk Sami"
397
+ sel: "Selkup"
398
+ sem: "Semitisk Sprog"
399
+ sg: "Sango"
400
+ sga: "Gammel Irsk"
401
+ sgn: "Sign Sprog"
402
+ sh: "Serbo-Croatian"
403
+ shn: "Shan"
404
+ si: "Sinhala"
405
+ sid: "Sidamo"
406
+ sio: "Siouan Sprog"
407
+ sit: "Sino-Tibetansk Sprog"
408
+ sk: "Slovakisk"
409
+ sl: "Slovensk"
410
+ sla: "Slavisk Sprog"
411
+ sm: "Samoan"
412
+ sma: "Syd Sami"
413
+ smi: "Sami Sprog"
414
+ smj: "Lule Sami"
415
+ smn: "Inari Sami"
416
+ sms: "Skolt Sami"
417
+ sn: "Shona"
418
+ snk: "Soninke"
419
+ so: "Somali"
420
+ sog: "Sogdien"
421
+ son: "Songhai"
422
+ sq: "Albansk"
423
+ sr: "Serbian"
424
+ srn: "Sranan Tongo"
425
+ srr: "Serer"
426
+ ss: "Swati"
427
+ ssa: "Nil-Sahara Sprog"
428
+ st: "Syd Sotho"
429
+ su: "Sundanesisk"
430
+ suk: "Sukuma"
431
+ sus: "Susu"
432
+ sux: "Sumerisk"
433
+ sv: "Svensk"
434
+ sw: "Swahili"
435
+ syc: "Klassisk Syrisk"
436
+ syr: "Syrisk"
437
+ ta: "Tamil"
438
+ tai: "Tai Sprog"
439
+ te: "Telugu"
440
+ tem: "Timne"
441
+ ter: "Tereno"
442
+ tet: "Tetum"
443
+ tg: "Tajik"
444
+ th: "Thai"
445
+ ti: "Tigrinya"
446
+ tig: "Tigre"
447
+ tiv: "Tiv"
448
+ tk: "Turkmen"
449
+ tkl: "Tokelau"
450
+ tl: "Tagalog"
451
+ tlh: "Klingon"
452
+ tli: "Tlingit"
453
+ tmh: "Tamashek"
454
+ tn: "Tswana"
455
+ to: "Tonga"
456
+ tog: "Nyasa Tonga"
457
+ tpi: "Tok Pisin"
458
+ tr: "Tyrkisk"
459
+ trv: "Taroko"
460
+ ts: "Tsonga"
461
+ tsi: "Tsimshian"
462
+ tt: "Tatar"
463
+ tum: "Tumbuka"
464
+ tup: "Tupi Sprog"
465
+ tut: "Altaic Sprog"
466
+ tvl: "Tuvalu"
467
+ tw: "Twi"
468
+ ty: "Tahitian"
469
+ tyv: "Tuvinian"
470
+ udm: "Udmurt"
471
+ ug: "Uighur"
472
+ uga: "Ugaritic"
473
+ uk: "Ukrainsk"
474
+ umb: "Umbundu"
475
+ und: "Ukendt eller Invalidt Sprog"
476
+ ur: "Urdu"
477
+ uz: "Uzbek"
478
+ vai: "Vai"
479
+ ve: "Venda"
480
+ vi: "Vietnamesisk"
481
+ vo: "Volapyk"
482
+ vot: "Votic"
483
+ wa: "Walloon"
484
+ wak: "Wakashan Sprog"
485
+ wal: "Walamo"
486
+ war: "Waray"
487
+ was: "Washo"
488
+ wen: "Sorbian Sprog"
489
+ wo: "Wolof"
490
+ xal: "Kalmyk"
491
+ xh: "Xhosa"
492
+ yao: "Yao"
493
+ yap: "Yapese"
494
+ yi: "Yiddish"
495
+ yo: "Yoruba"
496
+ ypk: "Yupik Sprog"
497
+ za: "Zhuang"
498
+ zap: "Zapotec"
499
+ zbl: "Blissymbolsk"
500
+ zen: "Zenaga"
501
+ zh: "Kinesisk"
502
+ zh-Hans: "Simplificeret Kinesisk"
503
+ zh-Hant: "Traditionelt Kinesisk"
504
+ znd: "Zande"
505
+ zu: "Zulu"
506
+ zun: "Zuni"
507
+ zxx: "Intet linguistisk indhold"
508
+ zza: "Zaza"