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