]> git.lyx.org Git - lyx.git/blob - lib/languages
languages: fix support for Belarusian
[lyx.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         AsBabelOptions   true
226 End
227
228 Language brazilian
229         GuiName          "Portuguese (Brazil)"
230         BabelName        brazil
231         PolyglossiaName  brazil
232         QuoteStyle       english
233         Encoding         iso8859-15
234         LangCode         pt_BR
235 End
236
237 Language breton
238         GuiName          "Breton"
239         BabelName        breton
240         PolyglossiaName  breton
241         QuoteStyle       french
242         Encoding         iso8859-15
243         LangCode         br_FR
244 End
245
246 Language british
247         GuiName          "English (UK)"
248         BabelName        british
249         PolyglossiaName  english
250         PolyglossiaOpts  "variant=british"
251         QuoteStyle       english
252         Encoding         iso8859-15
253         LangCode         en_GB
254 End
255
256 Language bulgarian
257         GuiName          "Bulgarian"
258         BabelName        bulgarian
259         PolyglossiaName  bulgarian
260         QuoteStyle       german
261         Encoding         cp1251
262         LangCode         bg_BG
263 End
264
265 # not yet supported by polyglossia
266 Language canadian
267         GuiName          "English (Canada)"
268         BabelName        canadian
269 #       PolyglossiaName  english
270 #       PolyglossiaOpts  "variant=canadian"
271         QuoteStyle       english
272         Encoding         iso8859-15
273         LangCode         en_CA
274 End
275
276 # not yet supported by polyglossia
277 Language canadien
278         GuiName          "French (Canada)"
279         BabelName        canadien
280 #       PolyglossiaName  french
281 #       PolyglossiaOpts  "variant=canadien"
282         QuoteStyle       french
283         Encoding         iso8859-15
284         LangCode         fr_CA
285 End
286
287 Language catalan
288         GuiName          "Catalan"
289         BabelName        catalan
290         PolyglossiaName  catalan
291         PolyglossiaOpts  "babelshorthands=true"
292         QuoteStyle       french
293         Encoding         iso8859-15
294         LangCode         ca_ES
295 End
296
297 # uses CJK package
298 Language chinese-simplified
299         GuiName          "Chinese (simplified)"
300         Encoding         euc-cn
301         QuoteStyle       english
302         LangCode         zh_CN
303         Requires         CJK
304 End
305
306 # uses CJK package
307 Language chinese-traditional
308         GuiName         "Chinese (traditional)"
309         QuoteStyle       english
310         Encoding        utf8-cjk
311         LangCode        zh_CN
312         Requires         CJK
313 End
314
315 # not supported by babel
316 Language coptic
317         GuiName          "Coptic"
318         PolyglossiaName  coptic
319         Encoding         utf8
320         LangCode         cop_EG
321 End
322
323 Language croatian
324         GuiName          "Croatian"
325         BabelName        croatian
326         PolyglossiaName  croatian
327         QuoteStyle       polish
328         Encoding         iso8859-2
329         LangCode         hr_HR
330 End
331
332 Language czech
333         GuiName          "Czech"
334         BabelName        czech
335         PolyglossiaName  czech
336         QuoteStyle       german
337         Encoding         iso8859-2
338         LangCode         cs_CZ
339 End
340
341 Language danish
342         GuiName          "Danish"
343         BabelName        danish
344         PolyglossiaName  danish
345         QuoteStyle       danish
346         Encoding         iso8859-15
347         LangCode         da_DK
348 End
349
350 # not supported by babel
351 Language divehi
352         GuiName          "Divehi (Maldivian)"
353         PolyglossiaName  divehi
354         Encoding         utf8
355         LangCode         dv_MV
356 End
357
358 Language dutch
359         GuiName          "Dutch"
360         BabelName        dutch
361         PolyglossiaName  dutch
362         PolyglossiaOpts  "babelshorthands=true"
363         QuoteStyle       polish
364         Encoding         iso8859-15
365         LangCode         nl_NL
366 End
367
368 Language english
369         GuiName          "English"
370         BabelName        english
371         PolyglossiaName  english
372         QuoteStyle       english
373         Encoding         iso8859-15
374         LangCode         en_US
375 End
376
377 # Esperanto has no country code because it is an auxiliary language.
378 # We therefore the name of its hunspell dictionary.
379 Language esperanto
380         GuiName          "Esperanto"
381         BabelName        esperanto
382         PolyglossiaName  esperanto
383         QuoteStyle       english
384         Encoding         iso8859-3
385         LangCode         eo_EO
386 End
387
388 Language estonian
389         GuiName          "Estonian"
390         BabelName        estonian
391         PolyglossiaName  estonian
392         QuoteStyle       polish
393         Encoding         iso8859-15
394         LangCode         et_EE
395         PostBabelPreamble
396         \addto\extrasestonian{\bbl@deactivate{~}}
397         EndPostBabelPreamble
398 End
399
400 # the preamble definitions are only used due to bugs in the
401 # arabi-package -- remove them if they become unnecessary!
402 Language farsi
403         GuiName          "Farsi"
404         BabelName        farsi
405         PolyglossiaName  farsi
406         Encoding         utf8
407         RTL              true
408         LangCode         fa_IR
409         PostBabelPreamble
410         \DeclareTextSymbol{\guillemotright}{LFE}{62}
411         \DeclareTextSymbol{\guillemotleft}{LFE}{60}
412         EndPostBabelPreamble
413 End
414
415 Language finnish
416         GuiName          "Finnish"
417         BabelName        finnish
418         PolyglossiaName  finnish
419         QuoteStyle       swedish
420         Encoding         iso8859-15
421         LangCode         fi_FI
422 End
423
424 # We redefine \og and \fg (guillemets) for older french language definitions
425 Language french
426         GuiName          "French"
427         BabelName        french
428         PolyglossiaName  french
429         QuoteStyle       french
430         Encoding         iso8859-15
431         LangCode         fr_FR
432         PostBabelPreamble
433         \addto\extrasfrench{%
434            \providecommand{\og}{\leavevmode\flqq~}%
435            \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
436         }
437         EndPostBabelPreamble
438 End
439
440 Language galician
441         GuiName          "Galician"
442         BabelName        galician
443         PolyglossiaName  galician
444         QuoteStyle       french
445         Encoding         iso8859-15
446         LangCode         gl_ES
447         PostBabelPreamble
448         \addto\shorthandsgalician{\galiciandeactivate{~}}
449         EndPostBabelPreamble
450 End
451
452 # german does not use a country code (due to the variety)
453 Language german
454         GuiName          "German (old spelling)"
455         BabelName        german
456         PolyglossiaName  german
457         PolyglossiaOpts  "spelling=old,babelshorthands=true"
458         QuoteStyle       german
459         Encoding         iso8859-15
460         LangCode         de
461         LangVariety      alt
462 End
463
464 Language ngerman
465         GuiName          "German"
466         BabelName        ngerman
467         PolyglossiaName  german
468         PolyglossiaOpts  "babelshorthands=true"
469         QuoteStyle       german
470         Encoding         iso8859-15
471         LangCode         de_DE
472 End
473
474 # Swiss German is not supported by babel and polyglossia yet
475 # We use ngerman for now (spellchecking is supported though!)
476 Language german-ch
477         GuiName          "German (Switzerland)"
478         BabelName        ngerman
479         PolyglossiaName  german
480         PolyglossiaOpts  "babelshorthands=true"
481         QuoteStyle       danish
482         Encoding         iso8859-15
483         LangCode         de_CH
484 End
485
486 Language greek
487         GuiName           "Greek"
488         BabelName         greek
489         PolyglossiaName   greek
490         QuoteStyle        french
491         Encoding          iso8859-7
492         InternalEncoding  true
493         LangCode          el_GR
494 End
495
496 Language polutonikogreek
497         GuiName           "Greek (polytonic)"
498         BabelName         polutonikogreek
499         PolyglossiaName   greek
500         PolyglossiaOpts   "variant=polytonic"
501         QuoteStyle        french
502         Encoding          iso8859-7
503         InternalEncoding  true
504         LangCode          el_GR
505 End
506
507 Language hebrew
508         GuiName           "Hebrew"
509         BabelName         hebrew
510         PolyglossiaName   hebrew
511         Encoding          cp1255
512         QuoteStyle        english
513         InternalEncoding  true
514         RTL               true
515         LangCode          he_IL
516 End
517
518 # not supported by babel
519 Language hindi
520         GuiName          "Hindi"
521         PolyglossiaName  hindi
522         Encoding         utf8
523         LangCode         hi_IN
524 End
525
526 # Currently not supported (file format change!)
527 # "hungarian" is a synonym for the "magyar" babel language option
528 # "hungarian" might be used for special purposes,
529 # see http://www.math.bme.hu/latex/magyar_pre_tug2004.pdf
530 #Language hungarian
531 #       GuiName         "Hungarian"
532 #       BabelName       hungarian
533 #       Encoding        iso8859-2
534 #       LangCode        hu_HU
535 #End
536
537 Language icelandic
538         GuiName          "Icelandic"
539         BabelName        icelandic
540         PolyglossiaName  icelandic
541         QuoteStyle       german
542         Encoding         iso8859-15
543         LangCode         is_IS
544 End
545
546 # Interlingua has no official country code because it is an auxiliary
547 # language. We therefore the name of its hunspell dictionary.
548 Language interlingua
549         GuiName          "Interlingua"
550         BabelName        interlingua
551         PolyglossiaName  interlingua
552         Encoding         iso8859-15
553         LangCode         ia_IA
554 End
555
556 Language irish
557         GuiName          "Irish"
558         BabelName        irish
559         PolyglossiaName  irish
560         QuoteStyle       english
561         Encoding         iso8859-15
562         LangCode         ga_IE
563 End
564
565 Language italian
566         GuiName          "Italian"
567         BabelName        italian
568         PolyglossiaName  italian
569         QuoteStyle       french
570         Encoding         iso8859-15
571         LangCode         it_IT
572 End
573
574 # japanese must be loaded locally with babel options,
575 # not globally via class options
576 # http://www.lyx.org/trac/ticket/4597#c4
577 # Since japanese does not load fontenc, we set
578 # InternalEncoding to true.
579 Language japanese
580         GuiName          "Japanese"
581         BabelName        japanese
582         Encoding         jis-platex
583         LangCode         ja_JP
584         AsBabelOptions   true
585         Requires         japanese
586         InternalEncoding true
587 End
588
589 # uses CJK package
590 Language japanese-cjk
591         GuiName         "Japanese (CJK)"
592         Encoding        euc-jp
593         LangCode        ja_JP
594         Requires        CJK
595 End
596
597 # not yet supported by polyglossia
598 Language kazakh
599         GuiName         "Kazakh"
600         BabelName       kazakh
601         Encoding        pt154
602         LangCode        kk_KZ
603 End
604
605 Language korean
606         GuiName         "Korean"
607         Encoding        euc-kr
608         QuoteStyle      english
609         LangCode        ko_KR
610         Requires        CJK
611 End
612
613 # not yet supported by polyglossia
614 Language kurmanji
615         GuiName          "Kurmanji"
616         BabelName        kurmanji
617         Encoding         utf8
618         LangCode         kmr
619         AsBabelOptions   true
620 End
621
622 # not supported by babel
623 Language lao
624         GuiName          "Lao"
625         PolyglossiaName  lao
626         Encoding         utf8
627         LangCode         lo_LA
628 End
629
630 # There is no country code for Latin because it is a dead language.
631 # We therefore the name of its hunspell dictionary.
632 Language latin
633         GuiName          "Latin"
634         BabelName        latin
635         PolyglossiaName  latin
636         Encoding         iso8859-15
637         LangCode         la_LA
638 End
639
640 # latvian must be loaded locally with babel options,
641 # not globally via class options
642 Language latvian
643         GuiName          "Latvian"
644         BabelName        latvian
645         PolyglossiaName  latvian
646         QuoteStyle       danish
647         Encoding         iso8859-4
648         LangCode         lv_LV
649         AsBabelOptions   true
650 End
651
652 # lithuanian must be loaded locally with babel options,
653 # not globally via class options
654 Language lithuanian
655         GuiName          "Lithuanian"
656         BabelName        lithuanian
657         PolyglossiaName  lithuanian
658         QuoteStyle       german
659         Encoding         iso8859-13
660         LangCode         lt_LT
661         AsBabelOptions   true
662 End
663
664 Language lowersorbian
665         GuiName          "Lower Sorbian"
666         BabelName        lowersorbian
667         PolyglossiaName  lsorbian
668         QuoteStyle       german
669         Encoding         iso8859-2
670         LangCode         dsb_DE
671 End
672
673 Language magyar
674         GuiName          "Hungarian"
675         BabelName        magyar
676         PolyglossiaName  magyar
677         QuoteStyle       polish
678         Encoding         iso8859-2
679         LangCode         hu_HU
680 End
681
682 # not supported by babel
683 Language marathi
684         GuiName          "Marathi"
685         PolyglossiaName  marathi
686         Encoding         utf8
687         LangCode         mr_IN
688 End
689
690 # mongolian must be loaded locally with babel options,
691 # not globally via class options
692 # not yet supported by polyglossia
693 Language mongolian
694         GuiName          "Mongolian"
695         BabelName        mongolian
696         Encoding         utf8
697         LangCode         mn_MN
698         AsBabelOptions   true
699 End
700
701 Language newzealand
702         GuiName          "English (New Zealand)"
703         BabelName        newzealand
704         PolyglossiaName  english
705         PolyglossiaOpts  "variant=newzealand"
706         QuoteStyle       english
707         Encoding         iso8859-15
708         LangCode         en_NZ
709 End
710
711 Language norsk
712         GuiName          "Norwegian (Bokmaal)"
713         BabelName        norsk
714         PolyglossiaName  norsk
715         QuoteStyle       french
716         Encoding         iso8859-15
717         LangCode         nb_NO
718 End
719
720 Language nynorsk
721         GuiName          "Norwegian (Nynorsk)"
722         BabelName        nynorsk
723         PolyglossiaName  nynorsk
724         QuoteStyle       french
725         Encoding         iso8859-15
726         LangCode         nn_NO
727 End
728
729 # not supported by babel
730 Language occitan
731         GuiName          "Occitan"
732         PolyglossiaName  occitan
733         QuoteStyle       french
734         Encoding         utf8
735         LangCode         oc_FR
736 End
737
738 # Currently not supported (file format change!)
739 # Russian orthography from the Petrine orthographic reforms of
740 # 1708 to the 1917 orthographic reform
741 # Language oldrussian
742 #       GuiName          "Russian (Petrine orthography)"
743 #       PolyglossiaName  russian
744 #       PolyglossiaOpts  spelling=old
745 #       LangCode         ru_petr1708
746 # End
747
748 Language polish
749         GuiName          "Polish"
750         BabelName        polish
751         PolyglossiaName  polish
752         QuoteStyle       polish
753         Encoding         iso8859-2
754         LangCode         pl_PL
755 End
756
757 Language portuguese
758         GuiName          "Portuguese"
759         BabelName        portuges
760         PolyglossiaName  portuges
761         QuoteStyle       english
762         Encoding         iso8859-15
763         LangCode         pt_PT
764 End
765
766 Language romanian
767         GuiName          "Romanian"
768         BabelName        romanian
769         PolyglossiaName  romanian
770         QuoteStyle       polish
771         Encoding         iso8859-2
772         LangCode         ro_RO
773 End
774
775 Language russian
776         GuiName          "Russian"
777         BabelName        russian
778         PolyglossiaName  russian
779         QuoteStyle       french
780         Encoding         koi8-r
781         LangCode         ru_RU
782 End
783
784 Language samin
785         GuiName          "North Sami"
786         BabelName        samin
787         PolyglossiaName  samin
788         Encoding         iso8859-15
789         LangCode         se_NO
790 End
791
792 # not supported by babel
793 Language sanskrit
794         GuiName          "Sanskrit"
795         PolyglossiaName  sanskrit
796         Encoding         utf8
797         LangCode         sa_IN
798 End
799
800 Language scottish
801         GuiName          "Scottish"
802         BabelName        scottish
803         PolyglossiaName  scottish
804         QuoteStyle       english
805         Encoding         iso8859-15
806         LangCode         gd_GB
807 End
808
809 Language serbian
810         GuiName          "Serbian"
811         BabelName        serbian
812         PolyglossiaName  serbian
813         QuoteStyle       german
814         Encoding         iso8859-5
815         LangCode         sr_RS
816 End
817
818 Language serbian-latin
819         GuiName          "Serbian (Latin)"
820         BabelName        serbian
821         PolyglossiaName  serbian
822         PolyglossiaOpts  "script=latin"
823         QuoteStyle       german
824         Encoding         iso8859-2
825         LangCode         sr_RS
826 End
827
828 Language slovak
829         GuiName          "Slovak"
830         BabelName        slovak
831         PolyglossiaName  slovak
832         QuoteStyle       german
833         Encoding         iso8859-2
834         LangCode         sk_SK
835 End
836
837 Language slovene
838         GuiName          "Slovene"
839         BabelName        slovene
840         PolyglossiaName  slovenian
841         QuoteStyle       german
842         Encoding         iso8859-2
843         LangCode         sl_SI
844 End
845
846 Language spanish
847         GuiName          "Spanish"
848         BabelName        spanish
849         PolyglossiaName  spanish
850         QuoteStyle       french
851         Encoding         iso8859-15
852         LangCode         es_ES
853         PostBabelPreamble
854         \addto\shorthandsspanish{\spanishdeactivate{~<>}}
855         EndPostBabelPreamble
856 End
857
858 # there are no spanish shorthands in polyglossia
859 Language spanish-mexico
860         GuiName          "Spanish (Mexico)"
861         BabelName        spanish
862         PolyglossiaName  spanish
863         QuoteStyle       french
864         Encoding         iso8859-15
865         LangCode         es_MX
866         PostBabelPreamble
867         \addto\shorthandsspanish{\spanishdeactivate{~<>.}}
868         EndPostBabelPreamble
869 End
870
871 Language swedish
872         GuiName          "Swedish"
873         BabelName        swedish
874         PolyglossiaName  swedish
875         QuoteStyle       swedish
876         Encoding         iso8859-15
877         LangCode         sv_SE
878 End
879
880 # not supported by babel
881 Language syriac
882         GuiName          "Syriac"
883         PolyglossiaName  syriac
884         Encoding         utf8
885         LangCode         syr_SY
886 End
887
888 # not supported by babel
889 Language tamil
890         GuiName          "Tamil"
891         PolyglossiaName  tamil
892         Encoding         utf8
893         LangCode         ta_IN
894 End
895
896 # not supported by babel
897 Language telugu
898         GuiName          "Telugu"
899         PolyglossiaName  telugu
900         Encoding         utf8
901         LangCode         te_IN
902 End
903
904 Language thai
905         GuiName          "Thai"
906         BabelName        thai
907         PolyglossiaName  thai
908         QuoteStyle       english
909         Encoding         tis620-0
910         LangCode         th_TH
911         PostBabelPreamble
912         \usepackage{thswitch}
913         EndPostBabelPreamble
914 End
915
916 Language turkish
917         GuiName          "Turkish"
918         BabelName        turkish
919         PolyglossiaName  turkish
920         QuoteStyle       french
921         Encoding         iso8859-9
922         LangCode         tr_TR
923         PostBabelPreamble
924         \usepackage{xkeyval}
925         EndPostBabelPreamble
926 End
927
928 # turkmen must be loaded locally with babel options,
929 # not globally via class options
930 Language turkmen
931         GuiName          "Turkmen"
932         BabelName        turkmen
933         PolyglossiaName  turkmen
934         QuoteStyle       french
935         Encoding         utf8
936         LangCode         tk_TM
937         AsBabelOptions   true
938 End
939
940 Language ukrainian
941         GuiName          "Ukrainian"
942         BabelName        ukrainian
943         PolyglossiaName  ukrainian
944         QuoteStyle       french
945         Encoding         koi8-u
946         LangCode         uk_UA
947 End
948
949 Language uppersorbian
950         GuiName          "Upper Sorbian"
951         BabelName        uppersorbian
952         PolyglossiaName  usorbian
953         QuoteStyle       german
954         Encoding         iso8859-2
955         LangCode         hsb_DE
956 End
957
958 # not supported by babel
959 Language urdu
960         GuiName          "Urdu"
961         PolyglossiaName  urdu
962         Encoding         utf8
963         LangCode         ur_PK
964 End
965
966 # vietnam must be loaded locally with babel options,
967 # not globally via class options, see
968 # http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg129417.html
969 Language vietnamese
970         GuiName          "Vietnamese"
971         BabelName        vietnam
972         PolyglossiaName  vietnamese
973         QuoteStyle       french
974         Encoding         utf8
975         LangCode         vi_VN
976         AsBabelOptions   true
977         Requires         vietnamese
978 End
979
980 Language welsh
981         GuiName          "Welsh"
982         BabelName        welsh
983         PolyglossiaName  welsh
984         QuoteStyle       english
985         Encoding         iso8859-15
986         LangCode         cy_GB
987 End