]> git.lyx.org Git - features.git/blob - lib/languages
c3e121e72ebbad79b0070ac4d7653b7ebb3f5bcb
[features.git] / lib / languages
1 ##########################################################################
2 #
3 # Languages supported by LyX.
4 #
5 # Syntax:
6 #
7 # Language <lyxname>
8 #       GuiName            "<Gui Name>"
9 #       BabelName          <babelname>
10 #       PolyglossiaName    <polyglossianame>
11 #       PolyglossiaOpts    "<language-specific options>"
12 #       Encoding           <encoding>
13 #       QuoteStyle         <danish|english|french|german|polish|swedish>
14 #       InternalEncoding   <true|false>
15 #       RTL                <true|false>
16 #       AsBabelOptions     <true|false>
17 #       LangCode           <language_code>
18 #       LangVariety        <language_variety>
19 #       PreBabelPreamble
20 #         <extra latex code inserted before babel>
21 #       EndPreBabelPreamble
22 #       PostBabelPreamble
23 #         <extra latex code inserted after babel>
24 #       EndPostBabelPreamble
25 #       Requires           <requirement>
26 # End
27 #
28 #
29 # NOTES:
30 #
31 # * Omitted elements will be treated as empty (if string) or "false"
32 #   (if boolean).
33 # * The QuoteStyle arguments correspond to the following styles:
34 #   - danish:  >>text<<  >text<   (inward guillemets)
35 #   - english: ``text''  `text'   (66_99)
36 #   - french:  <<text>>  <text>   (outward guillemets)
37 #   - german:  ,,text``  ,text`   (99/66)
38 #   - polish:  ,,text''  ,text'   (99/99)
39 #   - swedish: ''text''  'text'   (99_99)
40 #   Note that the option names have been selected (rather arbitrarily)
41 #   because the respective styles are common in the respective countries.
42 #   Of course this does not imply any fixed relation to those countries.
43 # * Encoding is not relevant for XeTeX (which is utf8 always), and if
44 #   Document > Settings > Language > Encoding is not set to "Language
45 #   Default"
46 # * InternalEncoding is used to tell LyX that babel internally sets a font
47 #   encoding (such as hebrew to LHE). See bug #5091.
48 # * AsBabelOptions advices LyX to pass the languages locally to babel, not
49 #   globally to the class. Some languages (basically those not directly
50 #   supported by babel) need this.
51 #   FIXME: in this case, we might still need to pass the other languages
52 #          globally, for the use of other packages (such as varioref).
53 # * LangCode is also used for spellchecking and thesaurus, where the
54 #   dictionaries are named accordingly. Thus, check this when intoducing/
55 #   changing language codes (especially aspell, thesaurus).
56 #   TODO: maybe use Best Current Practice (BCP 47) codes for LangCode
57 #         http://www.rfc-editor.org/rfc/bcp/bcp47.txt
58 #         http://www.w3.org/International/articles/language-tags/
59 #         http://www.iana.org/assignments/language-subtag-registry
60 # * LangVariety is used by the aspell spellchecker to differentiate
61 #   dictionaries for different varieties of a given language (e.g. German
62 #   pre-1998 and post-1998 spelling). The aspell dictionaries are named
63 #   language[_REGION][-variety].multi, e.g. de-alt.multi for "German (old
64 #   spelling)" (see http://aspell.net/man-html/Dictionary-Naming.html)
65 #
66 ##########################################################################
67
68 #
69 # LyX-internal languages
70 #
71
72 Language ignore
73         GuiName          "Ignore"
74         BabelName        ignore
75         PolyglossiaName  ignore
76         Encoding         iso8859-1
77         LangCode         ignore
78 End
79
80 Language latex
81         GuiName          "LaTeX"
82         Encoding         iso8859-1
83         LangCode         latex
84 End
85
86 #
87 # Real languages
88 #
89
90 # not yet supported by polyglossia
91 Language afrikaans
92         GuiName          "Afrikaans"
93         BabelName        afrikaans
94         QuoteStyle       polish
95         Encoding         iso8859-15
96         LangCode         af_ZA
97 End
98
99 Language albanian
100         GuiName          "Albanian"
101         BabelName        albanian
102         PolyglossiaName  albanian
103         QuoteStyle       french
104         Encoding         iso8859-2
105         LangCode         sq_AL
106 End
107
108 Language american
109         GuiName          "English (USA)"
110         BabelName        american
111         PolyglossiaName  english
112         PolyglossiaOpts  "variant=american"
113         QuoteStyle       english
114         Encoding         iso8859-15
115         LangCode         en_US
116 End
117
118 # not supported by babel
119 Language ancientgreek
120         GuiName          "Greek (ancient)"
121         PolyglossiaName  greek
122         PolyglossiaOpts  variant=ancient
123         QuoteStyle        french
124         Encoding         iso8859-7
125         LangCode         grc_GR
126 End
127
128 # FIXME: dummy babel language for arabic_arabtex to be able
129 # to switch the language the way of the ArabTeX-package
130 Language arabic_arabtex
131         GuiName          "Arabic (ArabTeX)"
132         BabelName        arabtex
133         QuoteStyle       french
134         Encoding         cp1256
135         RTL              true
136         LangCode         ar_SA
137 End
138
139 # polyglossia uses "Arabic" for the lang environment
140 Language arabic_arabi
141         GuiName          "Arabic (Arabi)"
142         BabelName        arabic
143         PolyglossiaName  arabic
144         QuoteStyle       french
145         Encoding         cp1256
146         RTL              true
147         AsBabelOptions   true
148         LangCode         ar_SA
149 End
150
151 # not supported by babel
152 Language armenian
153         GuiName          "Armenian"
154         PolyglossiaName  armenian
155         QuoteStyle       french
156         Encoding         utf8
157         LangCode         hy_AM
158 End
159
160 Language australian
161         GuiName          "English (Australia)"
162         BabelName        australian
163         PolyglossiaName  english
164         PolyglossiaOpts  "variant=australian"
165         Encoding         iso8859-15
166         QuoteStyle       english
167         LangCode         en_AU
168 End
169
170 # not yet supported by polyglossia
171 Language austrian
172         GuiName          "German (Austria, old spelling)"
173         BabelName        austrian
174         QuoteStyle       german
175         Encoding         iso8859-15
176         LangCode         de_AT
177 End
178
179 # not yet supported by polyglossia
180 Language naustrian
181         GuiName          "German (Austria)"
182         BabelName        naustrian
183         QuoteStyle       german
184         Encoding         iso8859-15
185         LangCode         de_AT
186 End
187
188 Language bahasa
189         GuiName          "Indonesian"
190         BabelName        bahasa
191         PolyglossiaName  bahasai
192         QuoteStyle       english
193         Encoding         iso8859-15
194         LangCode         id_ID
195 End
196
197 Language bahasam
198         GuiName          "Malay"
199         BabelName        bahasam
200         PolyglossiaName  bahasam
201         QuoteStyle       english
202         Encoding         iso8859-15
203         LangCode         ms_MY
204 End
205
206 Language basque
207         GuiName          "Basque"
208         BabelName        basque
209         PolyglossiaName  basque
210         QuoteStyle       french
211         Encoding         iso8859-15
212         LangCode         eu_ES
213         PostBabelPreamble
214         \addto\extrasbasque{\bbl@deactivate{~}}
215         EndPostBabelPreamble
216 End
217
218 # not yet supported by polyglossia
219 Language belarusian
220         GuiName          "Belarusian"
221         BabelName        belarusian
222         QuoteStyle       french
223         Encoding         cp1251
224         LangCode         be_BY
225 End
226
227 Language brazilian
228         GuiName          "Portuguese (Brazil)"
229         BabelName        brazil
230         PolyglossiaName  brazil
231         QuoteStyle       english
232         Encoding         iso8859-15
233         LangCode         pt_BR
234 End
235
236 Language breton
237         GuiName          "Breton"
238         BabelName        breton
239         PolyglossiaName  breton
240         QuoteStyle       french
241         Encoding         iso8859-15
242         LangCode         br_FR
243 End
244
245 Language british
246         GuiName          "English (UK)"
247         BabelName        british
248         PolyglossiaName  english
249         PolyglossiaOpts  "variant=british"
250         QuoteStyle       english
251         Encoding         iso8859-15
252         LangCode         en_GB
253 End
254
255 Language bulgarian
256         GuiName          "Bulgarian"
257         BabelName        bulgarian
258         PolyglossiaName  bulgarian
259         QuoteStyle       german
260         Encoding         cp1251
261         LangCode         bg_BG
262 End
263
264 # not yet supported by polyglossia
265 Language canadian
266         GuiName          "English (Canada)"
267         BabelName        canadian
268 #       PolyglossiaName  english
269 #       PolyglossiaOpts  "variant=canadian"
270         QuoteStyle       english
271         Encoding         iso8859-15
272         LangCode         en_CA
273 End
274
275 # not yet supported by polyglossia
276 Language canadien
277         GuiName          "French (Canada)"
278         BabelName        canadien
279 #       PolyglossiaName  french
280 #       PolyglossiaOpts  "variant=canadien"
281         QuoteStyle       french
282         Encoding         iso8859-15
283         LangCode         fr_CA
284 End
285
286 Language catalan
287         GuiName          "Catalan"
288         BabelName        catalan
289         PolyglossiaName  catalan
290         PolyglossiaOpts  "babelshorthands=true"
291         QuoteStyle       french
292         Encoding         iso8859-15
293         LangCode         ca_ES
294 End
295
296 # uses CJK package
297 Language chinese-simplified
298         GuiName          "Chinese (simplified)"
299         Encoding         euc-cn
300         QuoteStyle       english
301         LangCode         zh_CN
302         Requires         CJK
303 End
304
305 # uses CJK package
306 Language chinese-traditional
307         GuiName         "Chinese (traditional)"
308         QuoteStyle       english
309         Encoding        utf8-cjk
310         LangCode        zh_CN
311         Requires         CJK
312 End
313
314 # not supported by babel
315 Language coptic
316         GuiName          "Coptic"
317         PolyglossiaName  coptic
318         Encoding         utf8
319         LangCode         cop_EG
320 End
321
322 Language croatian
323         GuiName          "Croatian"
324         BabelName        croatian
325         PolyglossiaName  croatian
326         QuoteStyle       polish
327         Encoding         iso8859-2
328         LangCode         hr_HR
329 End
330
331 Language czech
332         GuiName          "Czech"
333         BabelName        czech
334         PolyglossiaName  czech
335         QuoteStyle       german
336         Encoding         iso8859-2
337         LangCode         cs_CZ
338 End
339
340 Language danish
341         GuiName          "Danish"
342         BabelName        danish
343         PolyglossiaName  danish
344         QuoteStyle       danish
345         Encoding         iso8859-15
346         LangCode         da_DK
347 End
348
349 # not supported by babel
350 Language divehi
351         GuiName          "Divehi (Maldivian)"
352         PolyglossiaName  divehi
353         Encoding         utf8
354         LangCode         dv_MV
355 End
356
357 Language dutch
358         GuiName          "Dutch"
359         BabelName        dutch
360         PolyglossiaName  dutch
361         PolyglossiaOpts  "babelshorthands=true"
362         QuoteStyle       polish
363         Encoding         iso8859-15
364         LangCode         nl_NL
365 End
366
367 Language english
368         GuiName          "English"
369         BabelName        english
370         PolyglossiaName  english
371         QuoteStyle       english
372         Encoding         iso8859-15
373         LangCode         en_US
374 End
375
376 # Esperanto has no country code because it is an auxiliary language.
377 # We therefore the name of its hunspell dictionary.
378 Language esperanto
379         GuiName          "Esperanto"
380         BabelName        esperanto
381         PolyglossiaName  esperanto
382         QuoteStyle       english
383         Encoding         iso8859-3
384         LangCode         eo_EO
385 End
386
387 Language estonian
388         GuiName          "Estonian"
389         BabelName        estonian
390         PolyglossiaName  estonian
391         QuoteStyle       polish
392         Encoding         iso8859-15
393         LangCode         et_EE
394         PostBabelPreamble
395         \addto\extrasestonian{\bbl@deactivate{~}}
396         EndPostBabelPreamble
397 End
398
399 # the preamble definitions are only used due to bugs in the
400 # arabi-package -- remove them if they become unnecessary!
401 Language farsi
402         GuiName          "Farsi"
403         BabelName        farsi
404         PolyglossiaName  farsi
405         Encoding         utf8
406         RTL              true
407         LangCode         fa_IR
408         PostBabelPreamble
409         \DeclareTextSymbol{\guillemotright}{LFE}{62}
410         \DeclareTextSymbol{\guillemotleft}{LFE}{60}
411         EndPostBabelPreamble
412 End
413
414 Language finnish
415         GuiName          "Finnish"
416         BabelName        finnish
417         PolyglossiaName  finnish
418         QuoteStyle       swedish
419         Encoding         iso8859-15
420         LangCode         fi_FI
421 End
422
423 # We redefine \og and \fg (guillemets) for older french language definitions
424 Language french
425         GuiName          "French"
426         BabelName        french
427         PolyglossiaName  french
428         QuoteStyle       french
429         Encoding         iso8859-15
430         LangCode         fr_FR
431         PostBabelPreamble
432         \addto\extrasfrench{%
433            \providecommand{\og}{\leavevmode\flqq~}%
434            \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
435         }
436         EndPostBabelPreamble
437 End
438
439 Language galician
440         GuiName          "Galician"
441         BabelName        galician
442         PolyglossiaName  galician
443         QuoteStyle       french
444         Encoding         iso8859-15
445         LangCode         gl_ES
446         PostBabelPreamble
447         \addto\shorthandsgalician{\galiciandeactivate{~}}
448         EndPostBabelPreamble
449 End
450
451 # german does not use a country code (due to the variety)
452 Language german
453         GuiName          "German (old spelling)"
454         BabelName        german
455         PolyglossiaName  german
456         PolyglossiaOpts  "spelling=old,babelshorthands=true"
457         QuoteStyle       german
458         Encoding         iso8859-15
459         LangCode         de
460         LangVariety      alt
461 End
462
463 Language ngerman
464         GuiName          "German"
465         BabelName        ngerman
466         PolyglossiaName  german
467         PolyglossiaOpts  "babelshorthands=true"
468         QuoteStyle       german
469         Encoding         iso8859-15
470         LangCode         de_DE
471 End
472
473 # Swiss German is not supported by babel and polyglossia yet
474 # We use ngerman for now (spellchecking is supported though!)
475 Language german-ch
476         GuiName          "German (Switzerland)"
477         BabelName        ngerman
478         PolyglossiaName  german
479         PolyglossiaOpts  "babelshorthands=true"
480         QuoteStyle       danish
481         Encoding         iso8859-15
482         LangCode         de_CH
483 End
484
485 Language greek
486         GuiName           "Greek"
487         BabelName         greek
488         PolyglossiaName   greek
489         QuoteStyle        french
490         Encoding          iso8859-7
491         InternalEncoding  true
492         LangCode          el_GR
493 End
494
495 Language polutonikogreek
496         GuiName           "Greek (polytonic)"
497         BabelName         polutonikogreek
498         PolyglossiaName   greek
499         PolyglossiaOpts   "variant=polytonic"
500         QuoteStyle        french
501         Encoding          iso8859-7
502         InternalEncoding  true
503         LangCode          el_GR
504 End
505
506 Language hebrew
507         GuiName           "Hebrew"
508         BabelName         hebrew
509         PolyglossiaName   hebrew
510         Encoding          cp1255
511         QuoteStyle        english
512         InternalEncoding  true
513         RTL               true
514         LangCode          he_IL
515 End
516
517 # not supported by babel
518 Language hindi
519         GuiName          "Hindi"
520         PolyglossiaName  hindi
521         Encoding         utf8
522         LangCode         hi_IN
523 End
524
525 # Currently not supported (file format change!)
526 # "hungarian" is a synonym for the "magyar" babel language option
527 # "hungarian" might be used for special purposes,
528 # see http://www.math.bme.hu/latex/magyar_pre_tug2004.pdf
529 #Language hungarian
530 #       GuiName         "Hungarian"
531 #       BabelName       hungarian
532 #       Encoding        iso8859-2
533 #       LangCode        hu_HU
534 #End
535
536 Language icelandic
537         GuiName          "Icelandic"
538         BabelName        icelandic
539         PolyglossiaName  icelandic
540         QuoteStyle       german
541         Encoding         iso8859-15
542         LangCode         is_IS
543 End
544
545 # Interlingua has no official country code because it is an auxiliary
546 # language. We therefore the name of its hunspell dictionary.
547 Language interlingua
548         GuiName          "Interlingua"
549         BabelName        interlingua
550         PolyglossiaName  interlingua
551         Encoding         iso8859-15
552         LangCode         ia_IA
553 End
554
555 Language irish
556         GuiName          "Irish"
557         BabelName        irish
558         PolyglossiaName  irish
559         QuoteStyle       english
560         Encoding         iso8859-15
561         LangCode         ga_IE
562 End
563
564 Language italian
565         GuiName          "Italian"
566         BabelName        italian
567         PolyglossiaName  italian
568         QuoteStyle       french
569         Encoding         iso8859-15
570         LangCode         it_IT
571 End
572
573 # japanese must be loaded locally with babel options,
574 # not globally via class options
575 # http://www.lyx.org/trac/ticket/4597#c4
576 # Since japanese does not load fontenc, we set
577 # Internalencoding to true.
578 Language japanese
579         GuiName          "Japanese"
580         BabelName        japanese
581         Encoding         jis-platex
582         LangCode         ja_JP
583         AsBabelOptions   true
584         Requires         japanese
585         InternalEncoding true
586 End
587
588 # uses CJK package
589 Language japanese-cjk
590         GuiName         "Japanese (CJK)"
591         Encoding        euc-jp
592         LangCode        ja_JP
593         Requires        CJK
594 End
595
596 # not yet supported by polyglossia
597 Language kazakh
598         GuiName         "Kazakh"
599         BabelName       kazakh
600         Encoding        pt154
601         LangCode        kk_KZ
602 End
603
604 Language korean
605         GuiName         "Korean"
606         Encoding        euc-kr
607         QuoteStyle      english
608         LangCode        ko_KR
609         Requires        CJK
610 End
611
612 # not yet supported by polyglossia
613 Language kurmanji
614         GuiName          "Kurmanji"
615         BabelName        kurmanji
616         Encoding         utf8
617         LangCode         kmr
618         AsBabelOptions   true
619 End
620
621 # not supported by babel
622 Language lao
623         GuiName          "Lao"
624         PolyglossiaName  lao
625         Encoding         utf8
626         LangCode         lo_LA
627 End
628
629 # There is no country code for Latin because it is a dead language.
630 # We therefore the name of its hunspell dictionary.
631 Language latin
632         GuiName          "Latin"
633         BabelName        latin
634         PolyglossiaName  latin
635         Encoding         iso8859-15
636         LangCode         la_LA
637 End
638
639 # latvian must be loaded locally with babel options,
640 # not globally via class options
641 Language latvian
642         GuiName          "Latvian"
643         BabelName        latvian
644         PolyglossiaName  latvian
645         QuoteStyle       danish
646         Encoding         iso8859-4
647         LangCode         lv_LV
648         AsBabelOptions   true
649 End
650
651 # lithuanian must be loaded locally with babel options,
652 # not globally via class options
653 Language lithuanian
654         GuiName          "Lithuanian"
655         BabelName        lithuanian
656         PolyglossiaName  lithuanian
657         QuoteStyle       german
658         Encoding         iso8859-13
659         LangCode         lt_LT
660         AsBabelOptions   true
661 End
662
663 Language lowersorbian
664         GuiName          "Lower Sorbian"
665         BabelName        lowersorbian
666         PolyglossiaName  lsorbian
667         QuoteStyle       german
668         Encoding         iso8859-2
669         LangCode         dsb_DE
670 End
671
672 Language magyar
673         GuiName          "Hungarian"
674         BabelName        magyar
675         PolyglossiaName  magyar
676         QuoteStyle       polish
677         Encoding         iso8859-2
678         LangCode         hu_HU
679 End
680
681 # not supported by babel
682 Language marathi
683         GuiName          "Marathi"
684         PolyglossiaName  marathi
685         Encoding         utf8
686         LangCode         mr_IN
687 End
688
689 # mongolian must be loaded locally with babel options,
690 # not globally via class options
691 # not yet supported by polyglossia
692 Language mongolian
693         GuiName          "Mongolian"
694         BabelName        mongolian
695         Encoding         utf8
696         LangCode         mn_MN
697         AsBabelOptions   true
698 End
699
700 Language newzealand
701         GuiName          "English (New Zealand)"
702         BabelName        newzealand
703         PolyglossiaName  english
704         PolyglossiaOpts  "variant=newzealand"
705         QuoteStyle       english
706         Encoding         iso8859-15
707         LangCode         en_NZ
708 End
709
710 Language norsk
711         GuiName          "Norwegian (Bokmaal)"
712         BabelName        norsk
713         PolyglossiaName  norsk
714         QuoteStyle       french
715         Encoding         iso8859-15
716         LangCode         nb_NO
717 End
718
719 Language nynorsk
720         GuiName          "Norwegian (Nynorsk)"
721         BabelName        nynorsk
722         PolyglossiaName  nynorsk
723         QuoteStyle       french
724         Encoding         iso8859-15
725         LangCode         nn_NO
726 End
727
728 # not supported by babel
729 Language occitan
730         GuiName          "Occitan"
731         PolyglossiaName  occitan
732         QuoteStyle       french
733         Encoding         utf8
734         LangCode         oc_FR
735 End
736
737 # Currently not supported (file format change!)
738 # Russian orthography from the Petrine orthographic reforms of
739 # 1708 to the 1917 orthographic reform
740 # Language oldrussian
741 #       GuiName          "Russian (Petrine orthography)"
742 #       PolyglossiaName  russian
743 #       PolyglossiaOpts  spelling=old
744 #       LangCode         ru_petr1708
745 # End
746
747 Language polish
748         GuiName          "Polish"
749         BabelName        polish
750         PolyglossiaName  polish
751         QuoteStyle       polish
752         Encoding         iso8859-2
753         LangCode         pl_PL
754 End
755
756 Language portuguese
757         GuiName          "Portuguese"
758         BabelName        portuges
759         PolyglossiaName  portuges
760         QuoteStyle       english
761         Encoding         iso8859-15
762         LangCode         pt_PT
763 End
764
765 Language romanian
766         GuiName          "Romanian"
767         BabelName        romanian
768         PolyglossiaName  romanian
769         QuoteStyle       polish
770         Encoding         iso8859-2
771         LangCode         ro_RO
772 End
773
774 Language russian
775         GuiName          "Russian"
776         BabelName        russian
777         PolyglossiaName  russian
778         QuoteStyle       french
779         Encoding         koi8-r
780         LangCode         ru_RU
781 End
782
783 Language samin
784         GuiName          "North Sami"
785         BabelName        samin
786         PolyglossiaName  samin
787         Encoding         iso8859-15
788         LangCode         se_NO
789 End
790
791 # not supported by babel
792 Language sanskrit
793         GuiName          "Sanskrit"
794         PolyglossiaName  sanskrit
795         Encoding         utf8
796         LangCode         sa_IN
797 End
798
799 Language scottish
800         GuiName          "Scottish"
801         BabelName        scottish
802         PolyglossiaName  scottish
803         QuoteStyle       english
804         Encoding         iso8859-15
805         LangCode         gd_GB
806 End
807
808 Language serbian
809         GuiName          "Serbian"
810         BabelName        serbian
811         PolyglossiaName  serbian
812         QuoteStyle       german
813         Encoding         iso8859-5
814         LangCode         sr_RS
815 End
816
817 Language serbian-latin
818         GuiName          "Serbian (Latin)"
819         BabelName        serbian
820         PolyglossiaName  serbian
821         PolyglossiaOpts  "script=latin"
822         QuoteStyle       german
823         Encoding         iso8859-2
824         LangCode         sr_RS
825 End
826
827 Language slovak
828         GuiName          "Slovak"
829         BabelName        slovak
830         PolyglossiaName  slovak
831         QuoteStyle       german
832         Encoding         iso8859-2
833         LangCode         sk_SK
834 End
835
836 Language slovene
837         GuiName          "Slovene"
838         BabelName        slovene
839         PolyglossiaName  slovenian
840         QuoteStyle       german
841         Encoding         iso8859-2
842         LangCode         sl_SI
843 End
844
845 Language spanish
846         GuiName          "Spanish"
847         BabelName        spanish
848         PolyglossiaName  spanish
849         QuoteStyle       french
850         Encoding         iso8859-15
851         LangCode         es_ES
852         PostBabelPreamble
853         \addto\shorthandsspanish{\spanishdeactivate{~<>}}
854         EndPostBabelPreamble
855 End
856
857 # there are no spanish shorthands in polyglossia
858 Language spanish-mexico
859         GuiName          "Spanish (Mexico)"
860         BabelName        spanish
861         PolyglossiaName  spanish
862         QuoteStyle       french
863         Encoding         iso8859-15
864         LangCode         es_MX
865         PostBabelPreamble
866         \addto\shorthandsspanish{\spanishdeactivate{~<>.}}
867         EndPostBabelPreamble
868 End
869
870 Language swedish
871         GuiName          "Swedish"
872         BabelName        swedish
873         PolyglossiaName  swedish
874         QuoteStyle       swedish
875         Encoding         iso8859-15
876         LangCode         sv_SE
877 End
878
879 # not supported by babel
880 Language syriac
881         GuiName          "Syriac"
882         PolyglossiaName  syriac
883         Encoding         utf8
884         LangCode         syr_SY
885 End
886
887 # not supported by babel
888 Language tamil
889         GuiName          "Tamil"
890         PolyglossiaName  tamil
891         Encoding         utf8
892         LangCode         ta_IN
893 End
894
895 # not supported by babel
896 Language telugu
897         GuiName          "Telugu"
898         PolyglossiaName  telugu
899         Encoding         utf8
900         LangCode         te_IN
901 End
902
903 Language thai
904         GuiName          "Thai"
905         BabelName        thai
906         PolyglossiaName  thai
907         QuoteStyle       english
908         Encoding         tis620-0
909         LangCode         th_TH
910         PostBabelPreamble
911         \usepackage{thswitch}
912         EndPostBabelPreamble
913 End
914
915 Language turkish
916         GuiName          "Turkish"
917         BabelName        turkish
918         PolyglossiaName  turkish
919         QuoteStyle       french
920         Encoding         iso8859-9
921         LangCode         tr_TR
922         PostBabelPreamble
923         \usepackage{xkeyval}
924         EndPostBabelPreamble
925 End
926
927 # turkmen must be loaded locally with babel options,
928 # not globally via class options
929 Language turkmen
930         GuiName          "Turkmen"
931         BabelName        turkmen
932         PolyglossiaName  turkmen
933         QuoteStyle       french
934         Encoding         utf8
935         LangCode         tk_TM
936         AsBabelOptions   true
937 End
938
939 Language ukrainian
940         GuiName          "Ukrainian"
941         BabelName        ukrainian
942         PolyglossiaName  ukrainian
943         QuoteStyle       french
944         Encoding         koi8-u
945         LangCode         uk_UA
946 End
947
948 Language uppersorbian
949         GuiName          "Upper Sorbian"
950         BabelName        uppersorbian
951         PolyglossiaName  usorbian
952         QuoteStyle       german
953         Encoding         iso8859-2
954         LangCode         hsb_DE
955 End
956
957 # not supported by babel
958 Language urdu
959         GuiName          "Urdu"
960         PolyglossiaName  urdu
961         Encoding         utf8
962         LangCode         ur_PK
963 End
964
965 # vietnam must be loaded locally with babel options,
966 # not globally via class options, see
967 # http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg129417.html
968 Language vietnamese
969         GuiName          "Vietnamese"
970         BabelName        vietnam
971         PolyglossiaName  vietnamese
972         QuoteStyle       french
973         Encoding         utf8
974         LangCode         vi_VN
975         AsBabelOptions   true
976         Requires         vietnamese
977 End
978
979 Language welsh
980         GuiName          "Welsh"
981         BabelName        welsh
982         PolyglossiaName  welsh
983         QuoteStyle       english
984         Encoding         iso8859-15
985         LangCode         cy_GB
986 End