1 ##########################################################################
3 # Languages supported by LyX.
9 # HasGuiSupport <true|false>
10 # BabelName <babelname>
11 # PolyglossiaName <polyglossianame>
12 # PolyglossiaOpts "<language-specific options>"
13 # XindyName <xindyname>
14 # ActiveChars <activated characters>
15 # QuoteStyle <british|danish|english|french|frenchin|
16 # german|polish|russian|swedish|swedishg|swiss|plain>
17 # DateFormats "<long>|<medium>|<short>"
19 # FontEncoding <font encoding|font encoding|...>
20 # InternalEncoding <true|false>
22 # WordWrap <true|false>
23 # LangCode <language_code>
24 # LangVariety <language_variety>
26 # <extra latex code inserted before babel>
29 # <extra latex code inserted after babel>
30 # EndPostBabelPreamble
31 # Requires <requirement>
32 # Provides <babel language feature>
38 # * If we provide Polyglossia languages with different options, the default
39 # options (such as "variant=american", "spelling=modern") should be
40 # explicitely spelled out (in order to provide mixing of such variants).
41 # * Omitted elements will be treated as empty (if string) or "false"
43 # * When HasGuiSupport is true, the language is candidate to appear in
44 # the list of possible GUI languages in the Preferences dialog. It
45 # will actually appear there only if a corresponding .mo file can be
46 # found among the translations. When several languages correspond to
47 # the same translation -- like English, English (US) and English
48 # (UK) -- try to select the entry that is most generic -- here
50 # * The QuoteStyle arguments correspond to the following styles:
52 # - british: `text' ``text'' (6_9 -- 66_99)
53 # - cjk: corner brackets white corner br.
54 # - cjk-angle: double angle br. angle br.
55 # - danish: >>text<< >text< (inward guillemets)
56 # - english: ``text'' `text' (66_99 -- 6_9)
57 # - french: <<text>> ``text'' (outward guillemets -- 66_99)
58 # - frenchin: <<text>> <<text>> (French Imprimerie Nationale style)
59 # - german: ,,text`` ,text` (99/66 -- 9/6)
60 # - polish: ,,text'' ,text' (99/99 -- 9/9)
61 # - russian: <<text>> ,,text`` (outward guillemets -- 99/66)
62 # - swedish: ''text'' 'text' (99_99 -- 9_9)
63 # - swedishg: >>text>> 'text' (Swedish Guillemets)
64 # - swiss: <<text>> <text> (outward guillemets)
65 # - plain: "text" 'text' (non-typographical quotes)
66 # Note that the option names have been selected (rather arbitrarily)
67 # because the respective styles are common in the respective countries.
68 # Of course this does not imply any fixed relation to those countries.
69 # * DateFormats lists the localized conventions for three date forms:
70 # - Long: December 1, 2018
71 # - Medium: Dec 1, 2018
73 # These are separated by | and use the QDate syntax:
74 # * d the day as number without a leading zero (1 to 31)
75 # * dd the day as number with a leading zero (01 to 31)
76 # * ddd the abbreviated localized day name (e.g. 'Mon' to 'Sun')
77 # * dddd the long localized day name (e.g. 'Monday' to 'Sunday')
78 # * M the month as number without a leading zero (1 to 12)
79 # * MM the month as number with a leading zero (01 to 12)
80 # * MMM the abbreviated localized month name (e.g. 'Jan' to 'Dec')
81 # * MMMM the long localized month name (e.g. 'January' to 'December')
82 # * yy the year as two digit number (00 to 99)
83 # * yyyy the year as four digit number
84 # * Encoding is the default encoding used with TeX fonts.
85 # It is only used if Document > Settings > Language > Encoding
86 # is set to "Language Default" or "Language Default (no inputenc)"
87 # and "use non-TeX fonts" is FALSE.
88 # Encoding "inherit" means: keep encoding of the context (used by
90 # * FontEncoding is a bar-separated list of font encodings.
91 # The first value is the required font encoding for correct hyphenation with
92 # 8-bit TeX (http://www.hyphenation.org). Eventually following values may be
93 # used if the selected font is unavailable in FontEncoding. They provide all
94 # letters used in the language, but some only as "surrogate pairs" with
95 # possible problems for hyphenation and drag-and-drop from the generated
96 # documents. Default: "ASCII".
97 # * "FontEncoding ASCII" means: "works with any standard text encoding
98 # (T<n>) as well as OT1".
99 # * "FontEncoding none" tells LyX that fontenc should not be loaded with
101 # * InternalEncoding is used to tell LyX that babel internally sets a
102 # non-standard font encoding (such as hebrew to LHE or greek to LGR).
103 # If True, LyX takes care for characters/macros that do not exist in
104 # some font encodings ("<", ">", "|" and straight quote).
105 # It is not required for standard encodings like T2A. See bug #5091.
106 # * WordWrap is only used for on-screen display: when is is true (the default), rows are broken
107 # at word boundary; otherwise, they can be ended at arbitrary position. This
108 # setting is useful for CJK languages.
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).
124 # * ActiveChars provides a string of the characters that are made active
125 # by the language. We record particularly those characters that have to
126 # be de-activated in some contexts (such as - or =).
127 # * XindyName holds the value to the (te)xindy -L option. We only give it
128 # if a corresponding language module exists.
130 ##########################################################################
133 # LyX-internal languages
139 PolyglossiaName ignore
157 PolyglossiaName afrikaans
161 DateFormats "dd MMMM yyyy|dd MMM yyyy|yyyy/MM/dd"
165 # FontEncoding: no hyphenation, but uses Ç/ç und Ë/ë
169 # babel-albanian (albanian.ldf) (re-)defines the functions
170 # \sh \ch \th \cth \arsh \arch \arth \arcth \tg \ctg \arctg
171 # as math operators. This clashes with \th == letter thorn
172 # in font encoding T1
174 % fix albanian: restore \th as LATIN LETTER THORN
175 \@ifl@aded{def}{t1enc}{\DeclareTextSymbol{\th}{T1}{254}}{}
177 PolyglossiaName albanian
182 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
187 GuiName "English (USA)"
189 PolyglossiaName english
190 PolyglossiaOpts "variant=american"
195 DateFormats "MMMM dd, yyyy|MMM dd, yyyy|M/d/yyyy"
199 # not supported by babel
202 PolyglossiaName amharic
204 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
208 # In Babel, this is supported since v. 1.8a of babel-greek (2013-12-03)
209 # We introduce it with LyX 2.2 to give the support time to settle.
210 Language ancientgreek
211 GuiName "Greek (ancient)"
214 \languageattribute{greek}{ancient}
216 PolyglossiaName greek
217 PolyglossiaOpts "variant=ancient"
221 InternalEncoding true
223 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
228 # FIXME: dummy babel language for arabic_arabtex to be able
229 # to switch the language the way of the ArabTeX-package
230 Language arabic_arabtex
231 GuiName "Arabic (ArabTeX)"
236 DateFormats "d MMMM، yyyy|dd/MM/yyyy|d/M/yyyy"
241 # polyglossia uses "Arabic" for the lang environment
242 Language arabic_arabi
243 GuiName "Arabic (Arabi)"
245 PolyglossiaName arabic
249 DateFormats "d MMMM، yyyy|dd/MM/yyyy|d/M/yyyy"
252 % arabic + hyperref redefines \noboundary as local textcommand
253 \let\orig@noboundary\noboundary
254 \DeclareTextCommandDefault{\noboundary}{\orig@noboundary}
255 % work around too simple test for article-like classes in arabicore.sty
256 \ifdefined\chapter\else
257 \def\thesection{\protect\if@rl\protect\I{\number\c@section}%
258 \protect\else\protect\textLR{\number\c@section}%
260 \def\thesubsection{\protect\if@rl\protect\I{\number\c@subsection.\number\c@section}%
261 \protect\else\protect\textLR{\number\c@section.\number\c@subsection}%
263 \def\thetable{\protect\if@rl\protect\I{\number\c@table}%
264 \protect\else\protect\textLR{\number\c@table}%
266 \def\thefigure{\protect\if@rl\protect\I{\number\c@figure}%
267 \protect\else\protect\textLR{\number\c@figure}%
274 # not supported by babel
277 PolyglossiaName armenian
280 DateFormats "d MMMM، yyyy|d MMM، yyyy|d/M/yyyy"
284 # not supported by babel
287 PolyglossiaName asturian
290 DateFormats "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
296 GuiName "English (Australia)"
298 PolyglossiaName english
299 PolyglossiaOpts "variant=australian"
303 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
308 # In polyglossia, this is supported since release 1.33.4 (May 2014)
309 # Due to the variety, we use no country code.
311 GuiName "German (Austria, old spelling)"
313 PolyglossiaName german
314 PolyglossiaOpts "variant=austrian,spelling=old,babelshorthands=true"
315 XindyName german-duden
319 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
324 # In polyglossia, this is supported since release 1.33.4 (May 2014)
326 GuiName "German (Austria)"
328 PolyglossiaName german
329 PolyglossiaOpts "variant=austrian,spelling=new,babelshorthands=true"
330 XindyName german-duden
334 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
339 GuiName "Azerbaijani"
340 BabelName azerbaijani
344 DateFormats "d MMMM yyyy|dd.MMM.yyyy|dd.MM.yyyy"
347 # use \cyrschwa in T1, allow hyphenation in remainder of word
349 \DeclareTextCommand{\textschwa}{T1}{\cyrschwa\bbl@allowhyphens}
350 \DeclareTextCommand{\textSchwa}{T1}{\CYRSCHWA\bbl@allowhyphens}
358 PolyglossiaName bahasai
362 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
369 PolyglossiaName bahasam
372 DateFormats "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
380 PolyglossiaName basque
384 DateFormats "yyyy MMMM dd|yyyy MMM dd|yyyy/MM/dd"
387 \addto\extrasbasque{\bbl@deactivate{~}}
391 # Up to 2018-08-25 (babel-belarusian 1.4), the babel option is "belarusianb"
392 # but the language name "belarusian" (without trailing "b").
396 PolyglossiaName belarusian
401 DateFormats "dd MMMM yyyy|d MMM yyyy|d.M.yyyy"
405 # supported by polyglossia but not babel:
408 PolyglossiaName bengali
415 # The (rarely used) Cyrillic script is not supported (try serbian).
419 PolyglossiaName bosnian
423 DateFormats "d. MMMM yyyy|d. MMM yyyy|yyyy-MM-dd"
428 GuiName "Portuguese (Brazil)"
431 PolyglossiaName brazil
436 DateFormats "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|dd/MM/yyyy"
440 # FontEncoding: # ? no hyphenation, but uses ñ
444 PolyglossiaName breton
448 DateFormats "dd MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
453 GuiName "English (UK)"
455 PolyglossiaName english
456 PolyglossiaOpts "variant=british"
461 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
469 PolyglossiaName bulgarian
474 DateFormats "dd MMMM yyyy|d MMM yyyy|yyyy-M-d"
476 Provides textcyrillic
480 GuiName "English (Canada)"
482 PolyglossiaName english
483 PolyglossiaOpts "variant=canadian"
488 DateFormats "MMMM d, yyyy|d MMM yyyy|yyyy-MM-dd"
493 GuiName "French (Canada)"
495 PolyglossiaName french
496 PolyglossiaOpts "variant=canadian"
501 DateFormats "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
509 PolyglossiaName catalan
510 PolyglossiaOpts "babelshorthands=true"
514 DateFormats "d / MMMM / yyyy|d / MMM / yyyy|dd/MM/yyyy"
519 Language chinese-simplified
520 GuiName "Chinese (simplified)"
526 DateFormats "yyyy年M月d日|yyyy-M-d|yy-M-d"
531 Language chinese-traditional
532 GuiName "Chinese (traditional)"
538 DateFormats "yyyy年M月d日|yyyy年M月d日|yy年M月d日"
542 # supported by polyglossia but not LyX:
543 Language churchslavonic
544 GuiName "Church Slavonic"
545 PolyglossiaName churchslavonic
549 DateFormats "d MMMM yyyy 'л'.|d MMM yyyy 'л'.|dd.MM.yyyy"
551 Provides textcyrillic
554 # not supported by babel
558 PolyglossiaName coptic
566 PolyglossiaName croatian
571 DateFormats "d. MMMM yyyy.|d. MMM. yyyy.|dd.MM.yyyy."
579 PolyglossiaName czech
585 DateFormats "d. MMMM yyyy|d. MMM. yyyy|d.M.yyyy"
593 PolyglossiaName danish
598 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd/MM/yyyy"
602 # not supported by babel
604 GuiName "Divehi (Maldivian)"
605 PolyglossiaName divehi
607 DateFormats "yyyy MMMM dd|yyyy MMM dd|dd/MM/yyyy"
615 PolyglossiaName dutch
616 PolyglossiaOpts "babelshorthands=true"
621 DateFormats "d MMMM yyyy|d MMM yyyy|d-M-yyyy"
629 PolyglossiaName english
630 PolyglossiaOpts "variant=american"
633 DateFormats "MMMM dd, yyyy|MMM dd, yyyy|M/d/yyyy"
639 # Esperanto has no country code because it is an auxiliary language.
640 # We therefore use the name of its hunspell dictionary.
644 PolyglossiaName esperanto
648 FontEncoding IL3|T1|OT1
649 DateFormats "'la' d 'de' MMMM yyyy|'la' d 'de' MMM yyyy|MM/dd/yyyy"
656 PolyglossiaName estonian
661 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
664 \addto\extrasestonian{\bbl@deactivate{~}}
668 # the preamble definitions are only used due to bugs in the
669 # arabi-package -- remove them if they become unnecessary!
673 PolyglossiaName farsi
677 DateFormats "d MMMM yyyy|d MMM yyyy|yyyy/M/d"
682 \DeclareTextSymbol{\guillemotright}{LFE}{62}
683 \DeclareTextSymbol{\guillemotleft}{LFE}{60}
691 PolyglossiaName finnish
696 DateFormats "d. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
704 PolyglossiaName french
709 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
717 PolyglossiaName friulan
721 DateFormats "d 'di' MMMM 'dal' yyyy|d 'di' MMM 'dal' yyyy|dd/MM/yyyy"
729 PolyglossiaName galician
733 DateFormats "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|dd/MM/yyyy"
736 \addto\shorthandsgalician{\galiciandeactivate{~}}
744 PolyglossiaName georgian
752 # german does not use a country code (due to the variety)
754 GuiName "German (old spelling)"
756 PolyglossiaName german
757 PolyglossiaOpts "variant=german,spelling=old,babelshorthands=true"
758 XindyName german-duden
762 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
771 PolyglossiaName german
772 PolyglossiaOpts "variant=german,spelling=new,babelshorthands=true"
773 XindyName german-duden
777 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
781 # In Babel, this is supported since release 2.7 of babel-german (Dec 2013)
782 # We introduce it with LyX 2.2 to give the support time to settle.
783 # In polyglossia, this is supported since release 1.33.6 (May 2015)
784 # We introduce it with LyX 2.3 to give the support time to settle.
786 GuiName "German (Switzerland)"
787 BabelName nswissgerman
788 PolyglossiaName german
789 PolyglossiaOpts "variant=swiss,spelling=new,babelshorthands=true"
790 XindyName german-duden
794 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
798 # In Babel, this is supported since release 2.7 of babel-german (Dec 2013)
799 # In polyglossia, this is supported since release 1.33.6 (May 2015)
800 # We introduce it with LyX 2.3 to give the support time to settle.
801 Language german-ch-old
802 GuiName "German (Switzerland, old spelling)"
803 BabelName swissgerman
804 PolyglossiaName german
805 PolyglossiaOpts "variant=swiss,spelling=old,babelshorthands=true"
806 XindyName german-duden
810 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
818 PolyglossiaName greek
819 PolyglossiaOpts "variant=monotonic"
823 InternalEncoding true
825 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
830 Language polutonikogreek
831 GuiName "Greek (polytonic)"
832 BabelName polutonikogreek
833 PolyglossiaName greek
834 PolyglossiaOpts "variant=polytonic"
838 InternalEncoding true
840 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
849 PolyglossiaName hebrew
853 InternalEncoding true
854 # babel-hebrew expects the encoding for *other* languages last:
855 FontEncoding HE8,T1|LHE,T1
856 ## Use font encoding HE8 if the Culmus fonts are installed and
857 # work around too simple test for article-like classes in rlbabel.def.
859 \IfFileExists{he8david.fd}{%
860 \providecommand{\HeblatexEncoding}{HE8}
861 \providecommand{\HeblatexEncodingFile}{he8enc}%
863 \providecommand{\l@chapter}{\relax}
865 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
870 # not supported by babel
873 PolyglossiaName hindi
875 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd-MM-yyyy"
879 # Currently not supported (file format change!)
880 # "hungarian" is a synonym for the "magyar" babel language option
881 # "hungarian" might be used for special purposes,
882 # see http://www.math.bme.hu/latex/magyar_pre_tug2004.pdf
884 # GuiName "Hungarian"
885 # BabelName hungarian
891 # FontEncoding: OT1 misses ð and Þ
895 PolyglossiaName icelandic
900 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
904 # Interlingua has no official country code because it is an auxiliary
905 # language. We use the name of its hunspell dictionary.
907 GuiName "Interlingua"
909 BabelName interlingua
910 PolyglossiaName interlingua
914 DateFormats "'le' d 'de' MMMM yyyy|'le' d 'de' MMM yyyy|yyyy-mm-dd"
921 PolyglossiaName irish
925 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd/MM/yyyy"
933 PolyglossiaName italian
938 DateFormats "dd MMMM yyyy|dd/MMM/yyyy|dd/MM/yyyy"
942 # Since 2016-12-18, babel-japanese works with non-TeX fonts (Xe/LuaTeX), too
943 # (use with "Japanese (bxjs)" or standard document classes)
953 DateFormats "yyyy年M月d日|yyyy/MM/dd|yy/MM/dd"
958 Language japanese-cjk
959 GuiName "Japanese (CJK)"
961 DateFormats "yyyy年M月d日|yyyy/MM/dd|yy/MM/dd"
968 # not supported by babel
971 PolyglossiaName kannada
973 DateFormats "dd MMMM yyyy|dd MMMM yyyy|dd-MM-yyyy"
977 # not yet supported by polyglossia
978 # not supported by babel
982 # FontEncoding T2A # not set (no Babel support)
983 DateFormats "dd MMMM yyyy|dd MMMM yyyy|yyyy-dd-MM"
987 # not supported by babel
990 PolyglossiaName khmer
992 DateFormats "d MMMM yyyy|d MMMM yyyy|dd/MM/yyyy"
998 PolyglossiaName korean
1002 DateFormats "yyyy년 M월 d일|yyyy. M. d.|yy. M. d."
1008 # Language korean-kotex
1009 # GuiName "Korean (koTeX)"
1011 # QuoteStyle cjkangle
1012 # DateFormats "yyyy년 M월 d일|yyyy. M. d.|yy. M. d."
1018 GuiName "Kurdish (Kurmanji)"
1020 PolyglossiaName kurdish
1021 XindyName kurdish-bedirxan
1022 PolyglossiaOpts "variant=kurmanji"
1025 DateFormats "d. MMMM yyyy|d. M. yyyy|yyyy-MM-dd"
1029 # not supported by babel
1034 DateFormats "dd MMMM yyyy|dd MMMM yyyy|dd/MM/yyyy"
1038 # There is no country code for Latin because it is a dead language.
1039 # We therefore the name of its hunspell dictionary.
1044 PolyglossiaName latin
1052 # latvian must be loaded locally with babel options,
1053 # not globally via class options
1054 # FontEncoding: L7x required for hyphenation but not set by Babel
1058 PolyglossiaName latvian
1062 FontEncoding L7x|T1|OT1
1063 DateFormats "yyyy. 'gada' d. MMMM|yyyy. 'gada' d. MMM|dd.MM.yyyy"
1067 # FontEncoding: L7x required for hyphenation but no longer set by Babel
1068 # (since 2017-12-06)
1070 GuiName "Lithuanian"
1071 BabelName lithuanian
1072 PolyglossiaName lithuanian
1073 XindyName lithuanian
1077 # L7x defines \copyright as TextSymbol which leads to an endless loop
1078 # when it is used in other font encodings.
1080 \@ifl@aded{def}{l7xenc}{
1081 % restore corrupted \coyright definition
1082 \DeclareRobustCommand{\copyright}{%
1083 \ifmmode{\nfss@text{\textcopyright}}\else\textcopyright\fi
1085 % Switch to L7x and back
1086 \addto\extraslithuanian{
1087 \let\bbl@lithuanian@cfencoding\cf@encoding
1088 \fontencoding{L7x}\selectfont
1089 \def\encodingdefault{L7x}
1091 \addto\noextraslithuanian{
1092 \def\encodingdefault{\bbl@lithuanian@cfencoding}
1093 \fontencoding{\encodingdefault}\selectfont
1096 EndPostBabelPreamble
1097 DateFormats "yyyy 'm.' MMMM d 'd.'|yyyy 'm.' MMMM d 'd.'|yyyy-MM-dd"
1101 Language lowersorbian
1102 GuiName "Lower Sorbian"
1103 BabelName lowersorbian
1104 PolyglossiaName lsorbian
1105 XindyName lower-sorbian
1109 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1117 PolyglossiaName magyar
1122 DateFormats "yyyy. MMMM d.|yyyy. MMM d.|yyyy.MM.dd."
1127 GuiName "Macedonian"
1128 BabelName macedonian
1129 PolyglossiaName macedonian
1130 XindyName macedonian
1134 DateFormats "dd MMMM yyyy|d MMM yyyy|d.M.yyyy"
1136 Provides textcyrillic
1139 # not supported by babel
1142 PolyglossiaName malayalam
1145 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1149 # not supported by babel
1152 PolyglossiaName marathi
1154 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1158 # mongolian must be loaded locally with babel options,
1159 # not globally via class options
1163 PolyglossiaName mongolian
1167 DateFormats "yyyy оны M сарын d|d-M-yyyy|dd-MM-yyyy"
1169 Provides textcyrillic
1173 GuiName "English (New Zealand)"
1174 BabelName newzealand
1175 PolyglossiaName english
1176 PolyglossiaOpts "variant=newzealand"
1181 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1186 GuiName "Norwegian (Bokmaal)"
1189 PolyglossiaName norsk
1194 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd./MM./yyyy"
1198 # supported by polyglossia but not LyX:
1201 # PolyglossiaName nko
1204 # FIXME: DateFormats "d MMMM، yyyy|dd/MM/yyyy|d/M/yyyy"
1205 # gloss-nko.ldf says:
1206 # In n'ko, this is an example of date :
1207 # ߂߀߁߃ ߞߏ߲ߞߏߜߍ ߕߟߋ߬ ߁߈ (RTL)
1208 # ( 18 February 2013 )
1209 # The word "ߕߟߋ߬" is mandatory between month name and day number.
1215 GuiName "Norwegian (Nynorsk)"
1218 PolyglossiaName nynorsk
1223 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1227 # not supported by babel
1230 PolyglossiaName occitan
1233 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1237 # Currently not supported (file format change!)
1238 # Russian orthography from the Petrine orthographic reforms of
1239 # 1708 to the 1917 orthographic reform
1241 GuiName "Russian (Petrine orthography)"
1242 PolyglossiaName russian
1243 PolyglossiaOpts "spelling=old"
1246 LangCode ru_petr1708
1250 Language piedmontese
1251 GuiName "Piedmontese"
1253 BabelName piedmontese
1254 PolyglossiaName piedmontese
1261 # FontEncoding: QX required for hyphenation but not set by babel
1266 PolyglossiaName polish
1270 FontEncoding QX|T1|OT1
1271 DateFormats "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
1276 GuiName "Portuguese"
1279 PolyglossiaName portuges
1280 XindyName portuguese
1284 DateFormats "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|yyyy/MM/dd"
1292 PolyglossiaName romanian
1297 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1305 PolyglossiaName romansh
1309 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1317 PolyglossiaName russian
1318 PolyglossiaOpts "spelling=modern"
1323 DateFormats "d MMMM yyyy 'г'.|d MMM yyyy 'г'.|dd.MM.yyyy"
1325 Provides textcyrillic
1328 # FontEncoding: no hyphenation, but diacritics
1330 GuiName "North Sami"
1332 PolyglossiaName samin
1335 DateFormats "MMMM d. 'b'. yyyy|MMM d. 'b'. yyyy|d.M.yyyy"
1339 # not supported by babel
1342 PolyglossiaName sanskrit
1344 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1348 # Gaidhlig (Scottish Gaelic)
1349 # FontEncoding: no hyphenation, grave accent (à, è, ì, ò, ù)
1353 PolyglossiaName scottish
1357 DateFormats "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1361 # Serbian with Cyrillic script.
1362 # Up to Version 3.0 (2019-01-12), input encoding and
1363 # font encoding were set document-wide to "utf8x" and "T2A" respectively
1364 # by "babel-serbianc", overriding LyX settings and leading to errors
1365 # in mulit-lingual documents.
1370 PolyglossiaName serbian
1371 PolyglossiaOpts "script=Cyrillic"
1373 # Note: script option is uppercase, even if the polyglossia
1374 # manual states otherwise.
1378 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1382 # We use croatian for Latin Serbian index ordering
1383 Language serbian-latin
1384 GuiName "Serbian (Latin)"
1386 PolyglossiaName serbian
1387 PolyglossiaOpts "script=Latin"
1392 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1393 LangCode sr_RS-Latin
1400 PolyglossiaName slovak
1401 XindyName slovak-large
1406 DateFormats "d. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
1413 PolyglossiaName slovenian
1418 DateFormats "dd. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
1426 PolyglossiaName spanish
1427 XindyName spanish-modern
1431 DateFormats "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
1434 \addto\shorthandsspanish{\spanishdeactivate{~<>}}
1435 EndPostBabelPreamble
1438 # there are no spanish shorthands in polyglossia
1439 Language spanish-mexico
1440 GuiName "Spanish (Mexico)"
1442 PolyglossiaName spanish
1443 XindyName spanish-modern
1447 DateFormats "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
1450 \addto\shorthandsspanish{\spanishdeactivate{~<>.}}
1451 EndPostBabelPreamble
1458 PolyglossiaName swedish
1463 DateFormats "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
1467 # not supported by babel
1470 PolyglossiaName syriac
1473 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1477 # not supported by babel
1480 PolyglossiaName tamil
1482 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1486 # not supported by babel
1489 PolyglossiaName telugu
1491 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1495 # There is an alternative support with CJK package and Babel name "thaicjk".
1500 PolyglossiaName thai
1504 DateFormats "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1506 # The first workaround requires loading inputenc after babel
1507 # (cf. BufferParams.cpp):
1509 % Restore catcodes changed by thai.ldf (active characters required for inputenc)
1511 \@whilenum\@tempcnta<252\do{%
1512 \catcode\@tempcnta=13
1513 \advance\@tempcnta\@ne
1515 % Restore \coyright definition corrupted by lthenc.def
1516 \DeclareRobustCommand{\copyright}{%
1517 \ifmmode{\nfss@text{\textcopyright}}\else\textcopyright\fi}
1518 \DeclareTextSymbol{\textcopyright}{LTH}{8}
1519 % set up Thai fonts as substitue for the default families
1520 \usepackage{substitutefont}
1521 \substitutefont{LTH}{\rmdefault}{norasi}
1522 \substitutefont{LTH}{\sfdefault}{garuda}
1523 \substitutefont{LTH}{\ttdefault}{ttypist}
1524 EndPostBabelPreamble
1527 # not supported by babel
1531 PolyglossiaName tibetan
1540 PolyglossiaName turkish
1547 DateFormats "d MMMM yyyy|dd.MMM.yyyy|dd.MM.yyyy"
1550 # turkmen must be loaded locally with babel options,
1551 # not globally via class options
1555 PolyglossiaName turkmen
1559 DateFormats "yyyy ý. MMMM d|dd.MM.yyyy ý.|dd.MM.yy ý."
1567 PolyglossiaName ukrainian
1572 DateFormats "dd MMMM yyyy|d MM yyyy|dd.MM.yyyy"
1574 Provides textcyrillic
1577 Language uppersorbian
1578 GuiName "Upper Sorbian"
1579 BabelName uppersorbian
1580 PolyglossiaName usorbian
1581 XindyName upper-sorbian
1585 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1589 # not supported by babel
1592 PolyglossiaName urdu
1594 DateFormats "d MMMM, yyyy|d MMM yyyy|dd/MM/yyyy"
1600 GuiName "Vietnamese"
1601 BabelName vietnamese
1602 PolyglossiaName vietnamese
1603 XindyName vietnamese
1606 DateFormats "dd 'tháng' MMMM yyyy|dd-MM-yyyy|dd/MM/yyyy"
1614 PolyglossiaName welsh
1617 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"