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}
988 \addto\noextraslithuanian{\latintext}
990 DateFormats "yyyy 'm.' MMMM d 'd.'|yyyy 'm.' MMMM d 'd.'|yyyy-MM-dd"
994 Language lowersorbian
995 GuiName "Lower Sorbian"
996 BabelName lowersorbian
997 PolyglossiaName lsorbian
1001 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1009 PolyglossiaName magyar
1013 DateFormats "yyyy. MMMM d.|yyyy. MMM d.|yyyy.MM.dd."
1017 # not yet supported by polyglossia
1019 GuiName "Macedonian"
1020 BabelName macedonian
1024 DateFormats "dd MMMM yyyy|d MMM yyyy|d.M.yyyy"
1026 Provides textcyrillic
1029 # not supported by babel
1032 PolyglossiaName malayalam
1035 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1039 # not supported by babel
1042 PolyglossiaName marathi
1044 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1048 # mongolian must be loaded locally with babel options,
1049 # not globally via class options
1050 # not yet supported by polyglossia
1056 DateFormats "yyyy оны M сарын d|d-M-yyyy|dd-MM-yyyy"
1058 Provides textcyrillic
1062 GuiName "English (New Zealand)"
1063 BabelName newzealand
1064 PolyglossiaName english
1065 PolyglossiaOpts "variant=newzealand"
1069 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1074 GuiName "Norwegian (Bokmaal)"
1077 PolyglossiaName norsk
1081 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1085 # supported by polyglossia but not LyX:
1088 # PolyglossiaName nko
1091 GuiName "Norwegian (Nynorsk)"
1094 PolyglossiaName nynorsk
1098 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1102 # not supported by babel
1105 PolyglossiaName occitan
1108 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1112 # Currently not supported (file format change!)
1113 # Russian orthography from the Petrine orthographic reforms of
1114 # 1708 to the 1917 orthographic reform
1115 # Note: If this is enabled, russian needs to get
1116 # PolyglossiaOpts "spelling=modern"
1117 # Language oldrussian
1118 # GuiName "Russian (Petrine orthography)"
1119 # PolyglossiaName russian
1120 # PolyglossiaOpts "spelling=old"
1121 # LangCode ru_petr1708
1122 # QuoteStyle russian
1126 Language piedmontese
1127 GuiName "Piedmontese"
1129 BabelName piedmontese
1130 PolyglossiaName piedmontese
1137 # FontEncoding: QX required for hyphenation but not set by babel
1142 PolyglossiaName polish
1145 FontEncoding QX|T1|OT1
1146 DateFormats "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
1151 GuiName "Portuguese"
1154 PolyglossiaName portuges
1158 DateFormats "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|yyyy/MM/dd"
1166 PolyglossiaName romanian
1170 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1178 PolyglossiaName romansh
1182 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1190 PolyglossiaName russian
1194 DateFormats "d MMMM yyyy 'г'.|d MMM yyyy 'г'.|dd.MM.yyyy"
1196 Provides textcyrillic
1199 # FontEncoding: no hyphenation, but diacritics
1201 GuiName "North Sami"
1203 PolyglossiaName samin
1206 DateFormats "MMMM d. 'b'. yyyy|MMM d. 'b'. yyyy|d.M.yyyy"
1210 # not supported by babel
1213 PolyglossiaName sanskrit
1215 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1219 # Gaidhlig (Scottish Gaelic)
1220 # FontEncoding: no hyphenation, grave accent (à, è, ì, ò, ù)
1224 PolyglossiaName scottish
1228 DateFormats "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1232 # Serbian with Cyrillic script.
1233 # Up to Version 3.0 (2019-01-12), input encoding and
1234 # font encoding were set document-wide to "utf8x" and "T2A" respectively
1235 # by "babel-serbianc", overriding LyX settings and leading to errors
1236 # in mulit-lingual documents.
1241 PolyglossiaName serbian
1242 PolyglossiaOpts "script=Cyrillic"
1243 # Note: script option is uppercase, even if the polyglossia
1244 # manual states otherwise.
1248 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1252 # Note: script option is uppercase, even if the polyglossia
1253 # manual states otherwise.
1254 Language serbian-latin
1255 GuiName "Serbian (Latin)"
1257 PolyglossiaName serbian
1258 PolyglossiaOpts "script=Latin"
1262 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1263 LangCode sr_RS-Latin
1270 PolyglossiaName slovak
1274 DateFormats "d. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
1281 PolyglossiaName slovenian
1285 DateFormats "dd. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
1293 PolyglossiaName spanish
1297 DateFormats "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
1300 \addto\shorthandsspanish{\spanishdeactivate{~<>}}
1301 EndPostBabelPreamble
1304 # there are no spanish shorthands in polyglossia
1305 Language spanish-mexico
1306 GuiName "Spanish (Mexico)"
1308 PolyglossiaName spanish
1312 DateFormats "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
1315 \addto\shorthandsspanish{\spanishdeactivate{~<>.}}
1316 EndPostBabelPreamble
1323 PolyglossiaName swedish
1327 DateFormats "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
1331 # not supported by babel
1334 PolyglossiaName syriac
1337 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1341 # not supported by babel
1344 PolyglossiaName tamil
1346 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1350 # not supported by babel
1353 PolyglossiaName telugu
1355 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1359 # There is an alternative support with CJK package and Babel name "thaicjk".
1364 PolyglossiaName thai
1368 DateFormats "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1371 % Restore \coyright definition corrupted by lthenc.def
1372 \DeclareRobustCommand{\copyright}{%
1373 \ifmmode{\nfss@text{\textcopyright}}\else\textcopyright\fi}
1374 \DeclareTextSymbol{\textcopyright}{LTH}{8}
1375 % Restore catcodes changed by thai.ldf (active characters required for inputenc)
1377 \@whilenum\@tempcnta<252\do{%
1378 \catcode\@tempcnta=13
1379 \advance\@tempcnta\@ne
1381 EndPostBabelPreamble
1382 # Fixme: load font package?
1383 # +1 support for font attributes in thai emphasizing etc.
1384 # -1 forces ComputerModern as "non-thai" font
1385 # TODO: set norasi as surrogate font for LTH (substitutefont.sty)
1387 # \usepackage{fonts-tlwg}
1388 # EndPostBabelPreamble
1391 # not supported by babel
1395 PolyglossiaName tibetan
1404 PolyglossiaName turkish
1409 DateFormats "d MMMM yyyy|dd.MMM.yyyy|dd.MM.yyyy"
1411 \usepackage{xkeyval}
1412 EndPostBabelPreamble
1415 # turkmen must be loaded locally with babel options,
1416 # not globally via class options
1420 PolyglossiaName turkmen
1424 DateFormats "yyyy ý. MMMM d|dd.MM.yyyy ý.|dd.MM.yy ý."
1432 PolyglossiaName ukrainian
1436 DateFormats "dd MMMM yyyy|d MM yyyy|dd.MM.yyyy"
1438 Provides textcyrillic
1441 Language uppersorbian
1442 GuiName "Upper Sorbian"
1443 BabelName uppersorbian
1444 PolyglossiaName usorbian
1448 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1452 # not supported by babel
1455 PolyglossiaName urdu
1457 DateFormats "d MMMM, yyyy|d MMM yyyy|dd/MM/yyyy"
1463 GuiName "Vietnamese"
1464 BabelName vietnamese
1465 PolyglossiaName vietnamese
1468 DateFormats "dd 'tháng' MMMM yyyy|dd-MM-yyyy|dd/MM/yyyy"
1476 PolyglossiaName welsh
1479 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"