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