1 ##########################################################################
3 # Languages supported by LyX.
9 # HasGuiSupport <true|false>
10 # BabelName <babelname>
11 # PolyglossiaName <polyglossianame>
12 # PolyglossiaOpts "<language-specific options>"
13 # QuoteStyle <british|danish|english|french|frenchin|
14 # german|polish|russian|swedish|swedishg|swiss|plain>
15 # DateFormats "<long>|<medium>|<short>"
17 # FontEncoding <font encoding|font encoding|...>
18 # InternalEncoding <true|false>
20 # AsBabelOptions <true|false>
21 # LangCode <language_code>
22 # LangVariety <language_variety>
24 # <extra latex code inserted before babel>
27 # <extra latex code inserted after babel>
28 # EndPostBabelPreamble
29 # Requires <requirement>
30 # Provides <babel language feature>
36 # * If we provide Polyglossia languages with different options, the default
37 # options (such as "variant=american", "spelling=modern") should be
38 # explicitely spelled out (in order to provide mixing of such variants).
39 # * Omitted elements will be treated as empty (if string) or "false"
41 # * When HasGuiSupport is true, the language is candidate to appear in
42 # the list of possible GUI languages in the Preferences dialog. It
43 # will actually appear there only if a corresponding .mo file can be
44 # found among the translations. When several languages correspond to
45 # the same translation -- like English, English (US) and English
46 # (UK) -- try to select the entry that is most generic -- here
48 # * The QuoteStyle arguments correspond to the following styles:
50 # - british: `text' ``text'' (6_9 -- 66_99)
51 # - cjk: corner brackets white corner br.
52 # - cjk-angle: double angle br. angle br.
53 # - danish: >>text<< >text< (inward guillemets)
54 # - english: ``text'' `text' (66_99 -- 6_9)
55 # - french: <<text>> ``text'' (outward guillemets -- 66_99)
56 # - frenchin: <<text>> <<text>> (French Imprimerie Nationale style)
57 # - german: ,,text`` ,text` (99/66 -- 9/6)
58 # - polish: ,,text'' ,text' (99/99 -- 9/9)
59 # - russian: <<text>> ,,text`` (outward guillemets -- 99/66)
60 # - swedish: ''text'' 'text' (99_99 -- 9_9)
61 # - swedishg: >>text>> 'text' (Swedish Guillemets)
62 # - swiss: <<text>> <text> (outward guillemets)
63 # - plain: "text" 'text' (non-typographical quotes)
64 # Note that the option names have been selected (rather arbitrarily)
65 # because the respective styles are common in the respective countries.
66 # Of course this does not imply any fixed relation to those countries.
67 # * DateFormats lists the localized conventions for three date forms:
68 # - Long: December 1, 2018
69 # - Medium: Dec 1, 2018
71 # These are separated by | and use the QDate syntax:
72 # * d the day as number without a leading zero (1 to 31)
73 # * dd the day as number with a leading zero (01 to 31)
74 # * ddd the abbreviated localized day name (e.g. 'Mon' to 'Sun')
75 # * dddd the long localized day name (e.g. 'Monday' to 'Sunday')
76 # * M the month as number without a leading zero (1 to 12)
77 # * MM the month as number with a leading zero (01 to 12)
78 # * MMM the abbreviated localized month name (e.g. 'Jan' to 'Dec')
79 # * MMMM the long localized month name (e.g. 'January' to 'December')
80 # * yy the year as two digit number (00 to 99)
81 # * yyyy the year as four digit number
82 # * Encoding is the default encoding used with TeX fonts.
83 # It is only used if Document > Settings > Language > Encoding
84 # is set to "Language Default" or "Language Default (no inputenc)"
85 # and "use non-TeX fonts" is FALSE.
86 # Encoding "inherit" means: keep encoding of the context (used by
88 # * FontEncoding is a bar-separated list of font encodings.
89 # The first value is the required font encoding for correct hyphenation with
90 # 8-bit TeX (http://www.hyphenation.org). Eventually following values may be
91 # used if the selected font is unavailable in FontEncoding. They provide all
92 # letters used in the language, but some only as "surrogate pairs" with
93 # possible problems for hyphenation and drag-and-drop from the generated
94 # documents. Default: "ASCII".
95 # * "FontEncoding ASCII" means: "works with any standard text encoding
96 # (T<n>) as well as OT1".
97 # * "FontEncoding none" tells LyX that fontenc should not be loaded with
99 # * InternalEncoding is used to tell LyX that babel internally sets a
100 # non-standard font encoding (such as hebrew to LHE or greek to LGR).
101 # If True, LyX takes care for characters/macros that do not exist in
102 # some font encodings ("<", ">", "|" and straight quote).
103 # It is not required for standard encodings like T2A. See bug #5091.
104 # * AsBabelOptions advices LyX to pass the languages locally to babel, not
105 # globally to the class. In the old days, some languages (basically those
106 # not natively supported by babel) needed this.
107 # FIXME: in this case, we might still need to pass the other languages
108 # globally, for the use of other packages (such as varioref).
109 # * LangCode is also used for spellchecking and thesaurus, where the
110 # dictionaries are named accordingly. Thus, check this when introducing/
111 # changing language codes (especially aspell, thesaurus).
112 # TODO: maybe use Best Current Practice (BCP 47) codes for LangCode
113 # http://www.rfc-editor.org/rfc/bcp/bcp47.txt
114 # http://www.w3.org/International/articles/language-tags/
115 # http://www.iana.org/assignments/language-subtag-registry
116 # * LangVariety is used by the aspell spellchecker to differentiate
117 # dictionaries for different varieties of a given language (e.g. German
118 # pre-1998 and post-1998 spelling). The aspell dictionaries are named
119 # language[_REGION][-variety].multi, e.g. de-alt.multi for "German (old
120 # spelling)" (see http://aspell.net/man-html/Dictionary-Naming.html)
121 # * Provides lists features that are provided by specific Babel languages,
122 # but are available globally if this language is used (not only for this
123 # language. Examples are \textgreek (Greek) and \textcyrillic (Russian).
125 ##########################################################################
128 # LyX-internal languages
134 PolyglossiaName ignore
149 # not yet supported by polyglossia
156 DateFormats "dd MMMM yyyy|dd MMM yyyy|yyyy/MM/dd"
160 # FontEncoding: no hyphenation, but uses Ç/ç und Ë/ë
164 # babel-albanian (albanian.ldf) (re-)defines the functions
165 # \sh \ch \th \cth \arsh \arch \arth \arcth \tg \ctg \arctg
166 # as math operators. This clashes with \th == letter thorn
167 # in font encoding T1
169 % fix albanian: restore \th as LATIN LETTER THORN
170 \@ifl@aded{def}{t1enc}{\DeclareTextSymbol{\th}{T1}{254}}{}
172 PolyglossiaName albanian
176 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
181 GuiName "English (USA)"
183 PolyglossiaName english
184 PolyglossiaOpts "variant=american"
188 DateFormats "MMMM dd, yyyy|MMM dd, yyyy|M/d/yyyy"
192 # not supported by babel
195 PolyglossiaName amharic
197 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
201 # In Babel, this is supported since v. 1.8a of babel-greek (2013-12-03)
202 # We introduce it with LyX 2.2 to give the support time to settle.
203 Language ancientgreek
204 GuiName "Greek (ancient)"
207 \languageattribute{greek}{ancient}
209 PolyglossiaName greek
210 PolyglossiaOpts "variant=ancient"
213 InternalEncoding true
215 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
220 # FIXME: dummy babel language for arabic_arabtex to be able
221 # to switch the language the way of the ArabTeX-package
222 Language arabic_arabtex
223 GuiName "Arabic (ArabTeX)"
228 DateFormats "d MMMM، yyyy|dd/MM/yyyy|d/M/yyyy"
233 # polyglossia uses "Arabic" for the lang environment
234 Language arabic_arabi
235 GuiName "Arabic (Arabi)"
237 PolyglossiaName arabic
241 DateFormats "d MMMM، yyyy|dd/MM/yyyy|d/M/yyyy"
244 % arabi + hyperref redefines \noboundary as local textcommand
245 \let\orig@noboundary\noboundary
246 \DeclareTextCommandDefault{\noboundary}{\orig@noboundary}
251 # not supported by babel
254 PolyglossiaName armenian
257 DateFormats "d MMMM، yyyy|d MMM، yyyy|d/M/yyyy"
261 # not supported by babel
264 PolyglossiaName asturian
267 DateFormats "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
273 GuiName "English (Australia)"
275 PolyglossiaName english
276 PolyglossiaOpts "variant=australian"
279 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
284 # In polyglossia, this is supported since release 1.33.4 (May 2014)
285 # We introduce it with LyX 2.2 to give the support time to settle.
286 # Due to the variety, we use no country code.
288 GuiName "German (Austria, old spelling)"
290 PolyglossiaName german
291 PolyglossiaOpts "variant=austrian,spelling=old,babelshorthands=true"
295 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
300 # In polyglossia, this is supported since release 1.33.4 (May 2014)
301 # We introduce it with LyX 2.2 to give the support time to settle.
303 GuiName "German (Austria)"
305 PolyglossiaName german
306 PolyglossiaOpts "variant=austrian,spelling=new,babelshorthands=true"
310 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
318 PolyglossiaName bahasai
322 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
329 PolyglossiaName bahasam
332 DateFormats "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
340 PolyglossiaName basque
344 DateFormats "yyyy MMMM dd|yyyy MMM dd|yyyy/MM/dd"
347 \addto\extrasbasque{\bbl@deactivate{~}}
351 # not yet supported by polyglossia
352 # Up to 2018-08-25 (babel-belarusian 1.4), the babel option is "belarusianb"
353 # but the language name "belarusian" (without trailing "b").
360 DateFormats "dd MMMM yyyy|d MMM yyyy|d.M.yyyy"
364 # supported by polyglossia but not LyX:
366 # PolyglossiaName bengali
368 # not yet supported by polyglossia
369 # The (rarely used) Cyrillic script is not supported (try serbian).
376 DateFormats "d. MMMM yyyy|d. MMM yyyy|yyyy-MM-dd"
381 GuiName "Portuguese (Brazil)"
384 PolyglossiaName brazil
388 DateFormats "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|dd/MM/yyyy"
392 # FontEncoding: # ? no hyphenation, but uses ñ
396 PolyglossiaName breton
400 DateFormats "dd MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
405 GuiName "English (UK)"
407 PolyglossiaName english
408 PolyglossiaOpts "variant=british"
412 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
419 PolyglossiaName bulgarian
423 DateFormats "dd MMMM yyyy|d MMM yyyy|yyyy-M-d"
425 Provides textcyrillic
428 # not yet supported by polyglossia
430 GuiName "English (Canada)"
432 # PolyglossiaName english
433 # PolyglossiaOpts "variant=canadian"
437 DateFormats "MMMM d, yyyy|d MMM yyyy|yyyy-MM-dd"
441 # not yet supported by polyglossia
442 # Note: If polyglossia support gets implemented, french needs
443 # PolyglossiaOpts "variant=french"
445 GuiName "French (Canada)"
447 # PolyglossiaName french
448 # PolyglossiaOpts "variant=canadien"
452 DateFormats "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
460 PolyglossiaName catalan
461 PolyglossiaOpts "babelshorthands=true"
465 DateFormats "d / MMMM / yyyy|d / MMM / yyyy|dd/MM/yyyy"
470 Language chinese-simplified
471 GuiName "Chinese (simplified)"
476 DateFormats "yyyy年M月d日|yyyy-M-d|yy-M-d"
481 Language chinese-traditional
482 GuiName "Chinese (traditional)"
487 DateFormats "yyyy年M月d日|yyyy年M月d日|yy年M月d日"
491 # supported by polyglossia but not LyX:
492 # Language churchslavonic
493 # PolyglossiaName churchslavonic
495 # not supported by babel
499 PolyglossiaName coptic
507 PolyglossiaName croatian
511 DateFormats "d. MMMM yyyy.|d. MMM. yyyy.|dd.MM.yyyy."
519 PolyglossiaName czech
523 DateFormats "d. MMMM yyyy|d. MMM. yyyy|d.M.yyyy"
531 PolyglossiaName danish
535 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd/MM/yyyy"
539 # not supported by babel
541 GuiName "Divehi (Maldivian)"
542 PolyglossiaName divehi
544 DateFormats "yyyy MMMM dd|yyyy MMM dd|dd/MM/yyyy"
552 PolyglossiaName dutch
553 PolyglossiaOpts "babelshorthands=true"
557 DateFormats "d MMMM yyyy|d MMM yyyy|d-M-yyyy"
565 PolyglossiaName english
566 PolyglossiaOpts "variant=american"
568 DateFormats "MMMM dd, yyyy|MMM dd, yyyy|M/d/yyyy"
574 # Esperanto has no country code because it is an auxiliary language.
575 # We therefore use the name of its hunspell dictionary.
579 PolyglossiaName esperanto
582 FontEncoding IL3|T1|OT1
583 DateFormats "'la' d 'de' MMMM yyyy|'la' d 'de' MMM yyyy|MM/dd/yyyy"
590 PolyglossiaName estonian
594 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
597 \addto\extrasestonian{\bbl@deactivate{~}}
601 # the preamble definitions are only used due to bugs in the
602 # arabi-package -- remove them if they become unnecessary!
606 PolyglossiaName farsi
609 DateFormats "d MMMM yyyy|d MMM yyyy|yyyy/M/d"
614 \DeclareTextSymbol{\guillemotright}{LFE}{62}
615 \DeclareTextSymbol{\guillemotleft}{LFE}{60}
623 PolyglossiaName finnish
627 DateFormats "d. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
631 # We redefine \og and \fg (guillemets) for older french language definitions
636 PolyglossiaName french
640 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
643 \addto\extrasfrench{%
644 \providecommand{\og}{\leavevmode\flqq~}%
645 \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
654 PolyglossiaName friulan
658 DateFormats "d 'di' MMMM 'dal' yyyy|d 'di' MMM 'dal' yyyy|dd/MM/yyyy"
666 PolyglossiaName galician
670 DateFormats "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|dd/MM/yyyy"
673 \addto\shorthandsgalician{\galiciandeactivate{~}}
687 # german does not use a country code (due to the variety)
689 GuiName "German (old spelling)"
691 PolyglossiaName german
692 PolyglossiaOpts "variant=german,spelling=old,babelshorthands=true"
696 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
705 PolyglossiaName german
706 PolyglossiaOpts "variant=german,spelling=new,babelshorthands=true"
710 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
714 # In Babel, this is supported since release 2.7 of babel-german (Dec 2013)
715 # We introduce it with LyX 2.2 to give the support time to settle.
716 # In polyglossia, this is supported since release 1.33.6 (May 2015)
717 # We introduce it with LyX 2.3 to give the support time to settle.
719 GuiName "German (Switzerland)"
720 BabelName nswissgerman
721 PolyglossiaName german
722 PolyglossiaOpts "variant=swiss,spelling=new,babelshorthands=true"
726 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
730 # In Babel, this is supported since release 2.7 of babel-german (Dec 2013)
731 # In polyglossia, this is supported since release 1.33.6 (May 2015)
732 # We introduce it with LyX 2.3 to give the support time to settle.
733 Language german-ch-old
734 GuiName "German (Switzerland, old spelling)"
735 BabelName swissgerman
736 PolyglossiaName german
737 PolyglossiaOpts "variant=swiss,spelling=old,babelshorthands=true"
741 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
749 PolyglossiaName greek
750 PolyglossiaOpts "variant=monotonic"
753 InternalEncoding true
755 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
760 Language polutonikogreek
761 GuiName "Greek (polytonic)"
762 BabelName polutonikogreek
763 PolyglossiaName greek
764 PolyglossiaOpts "variant=polytonic"
767 InternalEncoding true
769 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
778 PolyglossiaName hebrew
781 InternalEncoding true
782 # babel-hebrew expects the encoding for *other* languages last:
784 # Define the font encoding the babel-hebrew way and
785 # work around too simple test for article-like classes in rlbabel.def.
787 \providecommand{\l@chapter}{\relax}
789 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
794 # not supported by babel
797 PolyglossiaName hindi
799 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd-MM-yyyy"
803 # Currently not supported (file format change!)
804 # "hungarian" is a synonym for the "magyar" babel language option
805 # "hungarian" might be used for special purposes,
806 # see http://www.math.bme.hu/latex/magyar_pre_tug2004.pdf
808 # GuiName "Hungarian"
809 # BabelName hungarian
815 # FontEncoding: OT1 misses ð and Þ
819 PolyglossiaName icelandic
823 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
827 # Interlingua has no official country code because it is an auxiliary
828 # language. We therefore the name of its hunspell dictionary.
830 GuiName "Interlingua"
832 BabelName interlingua
833 PolyglossiaName interlingua
837 DateFormats "'le' d 'de' MMMM yyyy|'le' d 'de' MMM yyyy|yyyy-mm-dd"
844 PolyglossiaName irish
848 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd/MM/yyyy"
856 PolyglossiaName italian
860 DateFormats "dd MMMM yyyy|dd/MMM/yyyy|dd/MM/yyyy"
864 # Since 2016-12-18, babel-japanese works with non-TeX fonts (Xe/LuaTeX), too
865 # (use with "Japanese (bxjs)" or standard document classes)
874 DateFormats "yyyy年M月d日|yyyy/MM/dd|yy/MM/dd"
879 Language japanese-cjk
880 GuiName "Japanese (CJK)"
882 DateFormats "yyyy年M月d日|yyyy/MM/dd|yy/MM/dd"
888 # not supported by babel
891 PolyglossiaName kannada
893 DateFormats "dd MMMM yyyy|dd MMMM yyyy|dd-MM-yyyy"
897 # not yet supported by polyglossia
898 # not supported by babel
902 # FontEncoding T2A # not set (no Babel support)
903 DateFormats "dd MMMM yyyy|dd MMMM yyyy|yyyy-dd-MM"
907 # not supported by babel
910 PolyglossiaName khmer
912 DateFormats "d MMMM yyyy|d MMMM yyyy|dd/MM/yyyy"
916 # Fixme: activate Polyglossia support (file format change)
919 #PolyglossiaName korean
922 DateFormats "yyyy년 M월 d일|yyyy. M. d.|yy. M. d."
927 # not yet supported by polyglossia
933 DateFormats "d. MMMM yyyy|d. M. yyyy|yyyy-MM-dd"
937 # not supported by babel
942 DateFormats "dd MMMM yyyy|dd MMMM yyyy|dd/MM/yyyy"
946 # There is no country code for Latin because it is a dead language.
947 # We therefore the name of its hunspell dictionary.
952 PolyglossiaName latin
958 # latvian must be loaded locally with babel options,
959 # not globally via class options
960 # FontEncoding: L7x required for hyphenation but not set by Babel
964 PolyglossiaName latvian
967 FontEncoding L7x|T1|OT1
968 DateFormats "yyyy. 'gada' d. MMMM|yyyy. 'gada' d. MMM|dd.MM.yyyy"
972 # lithuanian must be loaded locally with babel options,
973 # not globally via class options
974 # FontEncoding: L7x set by Babel
978 PolyglossiaName lithuanian
982 # L7x defines \copyright as TextSymbol which leads to an endless loop
983 # when it is used in other font encodings.
985 % restore \coyright definition corrupted by l7xenc.def
986 \DeclareRobustCommand{\copyright}{%
987 \ifmmode{\nfss@text{\textcopyright}}\else\textcopyright\fi}
989 DateFormats "yyyy 'm.' MMMM d 'd.'|yyyy 'm.' MMMM d 'd.'|yyyy-MM-dd"
993 Language lowersorbian
994 GuiName "Lower Sorbian"
995 BabelName lowersorbian
996 PolyglossiaName lsorbian
1000 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1008 PolyglossiaName magyar
1012 DateFormats "yyyy. MMMM d.|yyyy. MMM d.|yyyy.MM.dd."
1016 # not yet supported by polyglossia
1018 GuiName "Macedonian"
1019 BabelName macedonian
1023 DateFormats "dd MMMM yyyy|d MMM yyyy|d.M.yyyy"
1025 Provides textcyrillic
1028 # not supported by babel
1031 PolyglossiaName malayalam
1034 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1038 # not supported by babel
1041 PolyglossiaName marathi
1043 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1047 # mongolian must be loaded locally with babel options,
1048 # not globally via class options
1049 # not yet supported by polyglossia
1055 DateFormats "yyyy оны M сарын d|d-M-yyyy|dd-MM-yyyy"
1057 Provides textcyrillic
1061 GuiName "English (New Zealand)"
1062 BabelName newzealand
1063 PolyglossiaName english
1064 PolyglossiaOpts "variant=newzealand"
1068 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1073 GuiName "Norwegian (Bokmaal)"
1076 PolyglossiaName norsk
1080 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1084 # supported by polyglossia but not LyX:
1087 # PolyglossiaName nko
1090 GuiName "Norwegian (Nynorsk)"
1093 PolyglossiaName nynorsk
1097 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1101 # not supported by babel
1104 PolyglossiaName occitan
1107 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1111 # Currently not supported (file format change!)
1112 # Russian orthography from the Petrine orthographic reforms of
1113 # 1708 to the 1917 orthographic reform
1114 # Note: If this is enabled, russian needs to get
1115 # PolyglossiaOpts "spelling=modern"
1116 # Language oldrussian
1117 # GuiName "Russian (Petrine orthography)"
1118 # PolyglossiaName russian
1119 # PolyglossiaOpts "spelling=old"
1120 # LangCode ru_petr1708
1121 # QuoteStyle russian
1125 Language piedmontese
1126 GuiName "Piedmontese"
1128 BabelName piedmontese
1129 PolyglossiaName piedmontese
1136 # FontEncoding: QX required for hyphenation but not set by babel
1141 PolyglossiaName polish
1144 FontEncoding QX|T1|OT1
1145 DateFormats "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
1150 GuiName "Portuguese"
1153 PolyglossiaName portuges
1157 DateFormats "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|yyyy/MM/dd"
1165 PolyglossiaName romanian
1169 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1177 PolyglossiaName romansh
1181 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1189 PolyglossiaName russian
1193 DateFormats "d MMMM yyyy 'г'.|d MMM yyyy 'г'.|dd.MM.yyyy"
1195 Provides textcyrillic
1198 # FontEncoding: no hyphenation, but diacritics
1200 GuiName "North Sami"
1202 PolyglossiaName samin
1205 DateFormats "MMMM d. 'b'. yyyy|MMM d. 'b'. yyyy|d.M.yyyy"
1209 # not supported by babel
1212 PolyglossiaName sanskrit
1214 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1218 # Gaidhlig (Scottish Gaelic)
1219 # FontEncoding: no hyphenation, grave accent (à, è, ì, ò, ù)
1223 PolyglossiaName scottish
1227 DateFormats "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1231 # Serbian with Cyrillic script.
1232 # Up to Version 3.0 (2019-01-12), input encoding and
1233 # font encoding were set document-wide to "utf8x" and "T2A" respectively
1234 # by "babel-serbianc", overriding LyX settings and leading to errors
1235 # in mulit-lingual documents.
1240 PolyglossiaName serbian
1241 PolyglossiaOpts "script=Cyrillic"
1242 # Note: script option is uppercase, even if the polyglossia
1243 # manual states otherwise.
1247 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1251 # Note: script option is uppercase, even if the polyglossia
1252 # manual states otherwise.
1253 Language serbian-latin
1254 GuiName "Serbian (Latin)"
1256 PolyglossiaName serbian
1257 PolyglossiaOpts "script=Latin"
1261 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1262 LangCode sr_RS-Latin
1269 PolyglossiaName slovak
1273 DateFormats "d. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
1280 PolyglossiaName slovenian
1284 DateFormats "dd. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
1292 PolyglossiaName spanish
1296 DateFormats "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
1299 \addto\shorthandsspanish{\spanishdeactivate{~<>}}
1300 EndPostBabelPreamble
1303 # there are no spanish shorthands in polyglossia
1304 Language spanish-mexico
1305 GuiName "Spanish (Mexico)"
1307 PolyglossiaName spanish
1311 DateFormats "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
1314 \addto\shorthandsspanish{\spanishdeactivate{~<>.}}
1315 EndPostBabelPreamble
1322 PolyglossiaName swedish
1326 DateFormats "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
1330 # not supported by babel
1333 PolyglossiaName syriac
1336 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1340 # not supported by babel
1343 PolyglossiaName tamil
1345 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1349 # not supported by babel
1352 PolyglossiaName telugu
1354 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1358 # alternative support with CJK package and Babel name "thaicjk"
1362 PolyglossiaName thai
1366 DateFormats "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1369 % restore \coyright definition corrupted by lthenc.def
1370 \DeclareRobustCommand{\copyright}{%
1371 \ifmmode{\nfss@text{\textcopyright}}\else\textcopyright\fi}
1372 \DeclareTextSymbol{\textcopyright}{LTH}{8}
1373 EndPostBabelPreamble
1374 # Fixme: load font package?
1375 # +1 support for font attributes in thai emphasizing etc.
1376 # -1 forces ComputerModern as "non-thai" font
1378 # \usepackage{fonts-tlwg}
1379 # EndPostBabelPreamble
1382 # not supported by babel
1386 PolyglossiaName tibetan
1395 PolyglossiaName turkish
1400 DateFormats "d MMMM yyyy|dd.MMM.yyyy|dd.MM.yyyy"
1402 \usepackage{xkeyval}
1403 EndPostBabelPreamble
1406 # turkmen must be loaded locally with babel options,
1407 # not globally via class options
1411 PolyglossiaName turkmen
1415 DateFormats "yyyy ý. MMMM d|dd.MM.yyyy ý.|dd.MM.yy ý."
1423 PolyglossiaName ukrainian
1427 DateFormats "dd MMMM yyyy|d MM yyyy|dd.MM.yyyy"
1429 Provides textcyrillic
1432 Language uppersorbian
1433 GuiName "Upper Sorbian"
1434 BabelName uppersorbian
1435 PolyglossiaName usorbian
1439 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1443 # not supported by babel
1446 PolyglossiaName urdu
1448 DateFormats "d MMMM, yyyy|d MMM yyyy|dd/MM/yyyy"
1454 GuiName "Vietnamese"
1455 BabelName vietnamese
1456 PolyglossiaName vietnamese
1459 DateFormats "dd 'tháng' MMMM yyyy|dd-MM-yyyy|dd/MM/yyyy"
1467 PolyglossiaName welsh
1470 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"