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