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" and "use non-TeX fonts" is FALSE.
85 # Encoding "inherit" means: keep encoding of the context (used by
87 # * FontEncoding is a bar-separated list of font encodings.
88 # The first value is the required font encoding for correct hyphenation with
89 # 8-bit TeX (http://www.hyphenation.org). Eventually following values may be
90 # used if the selected font is unavailable in FontEncoding. They provide all
91 # letters used in the language, but some only as "surrogate pairs" with
92 # possible problems for hyphenation and drag-and-drop from the generated
93 # documents. Default: "ASCII".
94 # * "FontEncoding ASCII" means: "works with any standard text encoding
95 # (T<n>) as well as OT1".
96 # * "FontEncoding none" tells LyX that fontenc should not be loaded with
98 # * InternalEncoding is used to tell LyX that babel internally sets a
99 # non-standard font encoding (such as hebrew to LHE or greek to LGR).
100 # If True, LyX takes care for characters/macros that do not exist in
101 # some font encodings ("<", ">", "|" and straight quote).
102 # It is not required for standard encodings like T2A. See bug #5091.
103 # * AsBabelOptions advices LyX to pass the languages locally to babel, not
104 # globally to the class. In the old days, some languages (basically those
105 # not natively supported by babel) needed this.
106 # FIXME: in this case, we might still need to pass the other languages
107 # globally, for the use of other packages (such as varioref).
108 # * LangCode is also used for spellchecking and thesaurus, where the
109 # dictionaries are named accordingly. Thus, check this when introducing/
110 # changing language codes (especially aspell, thesaurus).
111 # TODO: maybe use Best Current Practice (BCP 47) codes for LangCode
112 # http://www.rfc-editor.org/rfc/bcp/bcp47.txt
113 # http://www.w3.org/International/articles/language-tags/
114 # http://www.iana.org/assignments/language-subtag-registry
115 # * LangVariety is used by the aspell spellchecker to differentiate
116 # dictionaries for different varieties of a given language (e.g. German
117 # pre-1998 and post-1998 spelling). The aspell dictionaries are named
118 # language[_REGION][-variety].multi, e.g. de-alt.multi for "German (old
119 # spelling)" (see http://aspell.net/man-html/Dictionary-Naming.html)
120 # * Provides lists features that are provided by specific Babel languages,
121 # but are available globally if this language is used (not only for this
122 # language. Examples are \textgreek (Greek) and \textcyrillic (Russian).
124 ##########################################################################
127 # LyX-internal languages
133 PolyglossiaName ignore
148 # not yet supported by polyglossia
155 DateFormats "dd MMMM yyyy|dd MMM yyyy|yyyy/MM/dd"
159 # FontEncoding: no hyphenation, but uses Ç/ç und Ë/ë
163 PolyglossiaName albanian
167 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
172 GuiName "English (USA)"
174 PolyglossiaName english
175 PolyglossiaOpts "variant=american"
179 DateFormats "MMMM dd, yyyy|MMM dd, yyyy|M/d/yyyy"
183 # not supported by babel
186 PolyglossiaName amharic
188 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
192 # In Babel, this is supported since v. 1.8a of babel-greek (2013-12-03)
193 # We introduce it with LyX 2.2 to give the support time to settle.
194 Language ancientgreek
195 GuiName "Greek (ancient)"
198 \languageattribute{greek}{ancient}
200 PolyglossiaName greek
201 PolyglossiaOpts "variant=ancient"
204 InternalEncoding true
206 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
211 # FIXME: dummy babel language for arabic_arabtex to be able
212 # to switch the language the way of the ArabTeX-package
213 Language arabic_arabtex
214 GuiName "Arabic (ArabTeX)"
219 DateFormats "d MMMM، yyyy|dd/MM/yyyy|d/M/yyyy"
224 # polyglossia uses "Arabic" for the lang environment
225 Language arabic_arabi
226 GuiName "Arabic (Arabi)"
228 PolyglossiaName arabic
232 DateFormats "d MMMM، yyyy|dd/MM/yyyy|d/M/yyyy"
237 # not supported by babel
240 PolyglossiaName armenian
243 DateFormats "d MMMM، yyyy|d MMM، yyyy|d/M/yyyy"
247 # not supported by babel
250 PolyglossiaName asturian
253 DateFormats "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
259 GuiName "English (Australia)"
261 PolyglossiaName english
262 PolyglossiaOpts "variant=australian"
265 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
270 # In polyglossia, this is supported since release 1.33.4 (May 2014)
271 # We introduce it with LyX 2.2 to give the support time to settle.
272 # Due to the variety, we use no country code.
274 GuiName "German (Austria, old spelling)"
276 PolyglossiaName german
277 PolyglossiaOpts "variant=austrian,spelling=old,babelshorthands=true"
281 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
286 # In polyglossia, this is supported since release 1.33.4 (May 2014)
287 # We introduce it with LyX 2.2 to give the support time to settle.
289 GuiName "German (Austria)"
291 PolyglossiaName german
292 PolyglossiaOpts "variant=austrian,spelling=new,babelshorthands=true"
296 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
304 PolyglossiaName bahasai
308 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
315 PolyglossiaName bahasam
318 DateFormats "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
326 PolyglossiaName basque
330 DateFormats "yyyy MMMM dd|yyyy MMM dd|yyyy/MM/dd"
333 \addto\extrasbasque{\bbl@deactivate{~}}
337 # not yet supported by polyglossia
344 DateFormats "dd MMMM yyyy|d MMM yyyy|d.M.yyyy"
348 # not yet supported by polyglossia
355 DateFormats "d. MMMM yyyy|d. MMM yyyy|yyyy-MM-dd"
360 GuiName "Portuguese (Brazil)"
363 PolyglossiaName brazil
367 DateFormats "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|dd/MM/yyyy"
371 # FontEncoding: # ? no hyphenation, but uses ñ
375 PolyglossiaName breton
379 DateFormats "dd MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
384 GuiName "English (UK)"
386 PolyglossiaName english
387 PolyglossiaOpts "variant=british"
391 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
398 PolyglossiaName bulgarian
402 DateFormats "dd MMMM yyyy|d MMM yyyy|yyyy-M-d"
404 Provides textcyrillic
407 # not yet supported by polyglossia
409 GuiName "English (Canada)"
411 # PolyglossiaName english
412 # PolyglossiaOpts "variant=canadian"
416 DateFormats "MMMM d, yyyy|d MMM yyyy|yyyy-MM-dd"
420 # not yet supported by polyglossia
421 # Note: If polyglossia support gets implemented, french needs
422 # PolyglossiaOpts "variant=french"
424 GuiName "French (Canada)"
426 # PolyglossiaName french
427 # PolyglossiaOpts "variant=canadien"
431 DateFormats "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
439 PolyglossiaName catalan
440 PolyglossiaOpts "babelshorthands=true"
444 DateFormats "d / MMMM / yyyy|d / MMM / yyyy|dd/MM/yyyy"
449 Language chinese-simplified
450 GuiName "Chinese (simplified)"
455 DateFormats "yyyy年M月d日|yyyy-M-d|yy-M-d"
460 Language chinese-traditional
461 GuiName "Chinese (traditional)"
466 DateFormats "yyyy年M月d日|yyyy年M月d日|yy年M月d日"
470 # not supported by babel
474 PolyglossiaName coptic
482 PolyglossiaName croatian
486 DateFormats "d. MMMM yyyy.|d. MMM. yyyy.|dd.MM.yyyy."
494 PolyglossiaName czech
498 DateFormats "d. MMMM yyyy|d. MMM. yyyy|d.M.yyyy"
506 PolyglossiaName danish
510 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd/MM/yyyy"
514 # not supported by babel
516 GuiName "Divehi (Maldivian)"
517 PolyglossiaName divehi
519 DateFormats "yyyy MMMM dd|yyyy MMM dd|dd/MM/yyyy"
527 PolyglossiaName dutch
528 PolyglossiaOpts "babelshorthands=true"
532 DateFormats "d MMMM yyyy|d MMM yyyy|d-M-yyyy"
540 PolyglossiaName english
541 PolyglossiaOpts "variant=american"
543 DateFormats "MMMM dd, yyyy|MMM dd, yyyy|M/d/yyyy"
549 # Esperanto has no country code because it is an auxiliary language.
550 # We therefore use the name of its hunspell dictionary.
554 PolyglossiaName esperanto
557 FontEncoding IL3|T1|OT1
558 DateFormats "'la' d 'de' MMMM yyyy|'la' d 'de' MMM yyyy|MM/dd/yyyy"
565 PolyglossiaName estonian
569 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
572 \addto\extrasestonian{\bbl@deactivate{~}}
576 # the preamble definitions are only used due to bugs in the
577 # arabi-package -- remove them if they become unnecessary!
581 PolyglossiaName farsi
584 DateFormats "d MMMM yyyy|d MMM yyyy|yyyy/M/d"
589 \DeclareTextSymbol{\guillemotright}{LFE}{62}
590 \DeclareTextSymbol{\guillemotleft}{LFE}{60}
598 PolyglossiaName finnish
602 DateFormats "d. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
606 # We redefine \og and \fg (guillemets) for older french language definitions
611 PolyglossiaName french
615 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
618 \addto\extrasfrench{%
619 \providecommand{\og}{\leavevmode\flqq~}%
620 \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
629 PolyglossiaName friulan
633 DateFormats "d 'di' MMMM 'dal' yyyy|d 'di' MMM 'dal' yyyy|dd/MM/yyyy"
641 PolyglossiaName galician
645 DateFormats "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|dd/MM/yyyy"
648 \addto\shorthandsgalician{\galiciandeactivate{~}}
662 # german does not use a country code (due to the variety)
664 GuiName "German (old spelling)"
666 PolyglossiaName german
667 PolyglossiaOpts "variant=german,spelling=old,babelshorthands=true"
671 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
680 PolyglossiaName german
681 PolyglossiaOpts "variant=german,spelling=new,babelshorthands=true"
685 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
689 # In Babel, this is supported since release 2.7 of babel-german (Dec 2013)
690 # We introduce it with LyX 2.2 to give the support time to settle.
691 # In polyglossia, this is supported since release 1.33.6 (May 2015)
692 # We introduce it with LyX 2.3 to give the support time to settle.
694 GuiName "German (Switzerland)"
695 BabelName nswissgerman
696 PolyglossiaName german
697 PolyglossiaOpts "variant=swiss,spelling=new,babelshorthands=true"
701 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
705 # In Babel, this is supported since release 2.7 of babel-german (Dec 2013)
706 # In polyglossia, this is supported since release 1.33.6 (May 2015)
707 # We introduce it with LyX 2.3 to give the support time to settle.
708 Language german-ch-old
709 GuiName "German (Switzerland, old spelling)"
710 BabelName swissgerman
711 PolyglossiaName german
712 PolyglossiaOpts "variant=swiss,spelling=old,babelshorthands=true"
716 DateFormats "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
724 PolyglossiaName greek
725 PolyglossiaOpts "variant=monotonic"
728 InternalEncoding true
730 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
735 Language polutonikogreek
736 GuiName "Greek (polytonic)"
737 BabelName polutonikogreek
738 PolyglossiaName greek
739 PolyglossiaOpts "variant=polytonic"
742 InternalEncoding true
744 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
753 PolyglossiaName hebrew
756 InternalEncoding true
757 # babel-hebrew expects the encoding for *other* languages last:
759 # Define the font encoding the babel-hebrew way and
760 # work around too simple test for article-like classes in rlbabel.def.
762 \def\HeblatexEncoding{HE8}
763 \def\HeblatexEncodingFile{he8enc}
764 \providecommand{\l@chapter}{\relax}
766 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
771 # not supported by babel
774 PolyglossiaName hindi
776 DateFormats "dd MMMM yyyy|dd MMM yyyy|dd-MM-yyyy"
780 # Currently not supported (file format change!)
781 # "hungarian" is a synonym for the "magyar" babel language option
782 # "hungarian" might be used for special purposes,
783 # see http://www.math.bme.hu/latex/magyar_pre_tug2004.pdf
785 # GuiName "Hungarian"
786 # BabelName hungarian
792 # FontEncoding: OT1 misses ð and Þ
796 PolyglossiaName icelandic
800 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
804 # Interlingua has no official country code because it is an auxiliary
805 # language. We therefore the name of its hunspell dictionary.
807 GuiName "Interlingua"
809 BabelName interlingua
810 PolyglossiaName interlingua
814 DateFormats "'le' d 'de' MMMM yyyy|'le' d 'de' MMM yyyy|yyyy-mm-dd"
821 PolyglossiaName irish
825 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd/MM/yyyy"
833 PolyglossiaName italian
837 DateFormats "dd MMMM yyyy|dd/MMM/yyyy|dd/MM/yyyy"
841 # japanese must be loaded locally with babel options,
842 # not globally via class options
843 # http://www.lyx.org/trac/ticket/4597#c4
844 # Since japanese does not load fontenc, we set
845 # InternalEncoding to true.
853 InternalEncoding true
855 DateFormats "yyyy年M月d日|yyyy/MM/dd|yy/MM/dd"
860 Language japanese-cjk
861 GuiName "Japanese (CJK)"
863 DateFormats "yyyy年M月d日|yyyy/MM/dd|yy/MM/dd"
869 # not supported by babel
872 PolyglossiaName kannada
874 DateFormats "dd MMMM yyyy|dd MMMM yyyy|dd-MM-yyyy"
878 # not yet supported by polyglossia
879 # not supported by babel
884 DateFormats "dd MMMM yyyy|dd MMMM yyyy|yyyy-dd-MM"
888 \AtBeginDocument{\fontencoding{T2A}\selectfont}
892 # not supported by babel
895 PolyglossiaName khmer
897 DateFormats "d MMMM yyyy|d MMMM yyyy|dd/MM/yyyy"
905 DateFormats "yyyy년 M월 d일|yyyy. M. d.|yy. M. d."
910 # not yet supported by polyglossia
916 DateFormats "d. MMMM yyyy|d. M. yyyy|yyyy-MM-dd"
920 # not supported by babel
925 DateFormats "dd MMMM yyyy|dd MMMM yyyy|dd/MM/yyyy"
929 # There is no country code for Latin because it is a dead language.
930 # We therefore the name of its hunspell dictionary.
935 PolyglossiaName latin
941 # latvian must be loaded locally with babel options,
942 # not globally via class options
943 # FontEncoding: L7x required for hyphenation but not set by Babel
947 PolyglossiaName latvian
950 FontEncoding L7x|T1|OT1
951 DateFormats "yyyy. 'gada' d. MMMM|yyyy. 'gada' d. MMM|dd.MM.yyyy"
955 # lithuanian must be loaded locally with babel options,
956 # not globally via class options
957 # FontEncoding: L7x set by Babel
961 PolyglossiaName lithuanian
965 DateFormats "yyyy 'm.' MMMM d 'd.'|yyyy 'm.' MMMM d 'd.'|yyyy-MM-dd"
969 Language lowersorbian
970 GuiName "Lower Sorbian"
971 BabelName lowersorbian
972 PolyglossiaName lsorbian
976 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
984 PolyglossiaName magyar
988 DateFormats "yyyy. MMMM d.|yyyy. MMM d.|yyyy.MM.dd."
992 # not yet supported by polyglossia
999 DateFormats "dd MMMM yyyy|d MMM yyyy|d.M.yyyy"
1001 Provides textcyrillic
1004 # not yet supported by babel
1007 PolyglossiaName malayalam
1010 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1014 # not supported by babel
1017 PolyglossiaName marathi
1019 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1023 # mongolian must be loaded locally with babel options,
1024 # not globally via class options
1025 # not yet supported by polyglossia
1031 DateFormats "yyyy оны M сарын d|d-M-yyyy|dd-MM-yyyy"
1033 Provides textcyrillic
1037 GuiName "English (New Zealand)"
1038 BabelName newzealand
1039 PolyglossiaName english
1040 PolyglossiaOpts "variant=newzealand"
1044 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1049 GuiName "Norwegian (Bokmaal)"
1052 PolyglossiaName norsk
1056 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1061 GuiName "Norwegian (Nynorsk)"
1064 PolyglossiaName nynorsk
1068 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1072 # not supported by babel
1075 PolyglossiaName occitan
1078 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1082 # Currently not supported (file format change!)
1083 # Russian orthography from the Petrine orthographic reforms of
1084 # 1708 to the 1917 orthographic reform
1085 # Note: If this is enabled, russian needs to get
1086 # PolyglossiaOpts "spelling=modern"
1087 # Language oldrussian
1088 # GuiName "Russian (Petrine orthography)"
1089 # PolyglossiaName russian
1090 # PolyglossiaOpts "spelling=old"
1091 # LangCode ru_petr1708
1092 # QuoteStyle russian
1096 Language piedmontese
1097 GuiName "Piedmontese"
1099 BabelName piedmontese
1100 PolyglossiaName piedmontese
1107 # FontEncoding: QX required for hyphenation but not set by babel
1112 PolyglossiaName polish
1115 FontEncoding QX|T1|OT1
1116 DateFormats "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
1121 GuiName "Portuguese"
1124 PolyglossiaName portuges
1128 DateFormats "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|yyyy/MM/dd"
1136 PolyglossiaName romanian
1140 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1148 PolyglossiaName romansh
1152 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1160 PolyglossiaName russian
1164 DateFormats "d MMMM yyyy 'г'.|d MMM yyyy 'г'.|dd.MM.yyyy"
1166 Provides textcyrillic
1169 # FontEncoding: no hyphenation, but diacritics
1171 GuiName "North Sami"
1173 PolyglossiaName samin
1176 DateFormats "MMMM d. 'b'. yyyy|MMM d. 'b'. yyyy|d.M.yyyy"
1180 # not supported by babel
1183 PolyglossiaName sanskrit
1185 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1189 # Gaidhlig (Scottish Gaelic)
1190 # FontEncoding: no hyphenation, grave accent (à, è, ì, ò, ù)
1194 PolyglossiaName scottish
1198 DateFormats "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1202 # Note: script option is uppercase, even if the polyglossia
1203 # manual states otherwise.
1208 PolyglossiaName serbian
1209 PolyglossiaOpts "script=Cyrillic"
1213 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1217 # Note: script option is uppercase, even if the polyglossia
1218 # manual states otherwise.
1219 Language serbian-latin
1220 GuiName "Serbian (Latin)"
1222 PolyglossiaName serbian
1223 PolyglossiaOpts "script=Latin"
1227 DateFormats "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
1228 LangCode sr_RS-Latin
1235 PolyglossiaName slovak
1239 DateFormats "d. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
1246 PolyglossiaName slovenian
1250 DateFormats "dd. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
1258 PolyglossiaName spanish
1262 DateFormats "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
1265 \addto\shorthandsspanish{\spanishdeactivate{~<>}}
1266 EndPostBabelPreamble
1269 # there are no spanish shorthands in polyglossia
1270 Language spanish-mexico
1271 GuiName "Spanish (Mexico)"
1273 PolyglossiaName spanish
1277 DateFormats "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
1280 \addto\shorthandsspanish{\spanishdeactivate{~<>.}}
1281 EndPostBabelPreamble
1288 PolyglossiaName swedish
1292 DateFormats "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
1296 # not supported by babel
1299 PolyglossiaName syriac
1302 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1306 # not supported by babel
1309 PolyglossiaName tamil
1311 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1315 # not supported by babel
1318 PolyglossiaName telugu
1320 DateFormats "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
1327 PolyglossiaName thai
1331 DateFormats "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
1334 \usepackage{thswitch}
1335 EndPostBabelPreamble
1338 # not supported by babel
1342 PolyglossiaName tibetan
1351 PolyglossiaName turkish
1356 DateFormats "d MMMM yyyy|dd.MMM.yyyy|dd.MM.yyyy"
1358 \usepackage{xkeyval}
1359 EndPostBabelPreamble
1362 # turkmen must be loaded locally with babel options,
1363 # not globally via class options
1367 PolyglossiaName turkmen
1371 DateFormats "yyyy ý. MMMM d|dd.MM.yyyy ý.|dd.MM.yy ý."
1379 PolyglossiaName ukrainian
1383 DateFormats "dd MMMM yyyy|d MM yyyy|dd.MM.yyyy"
1385 Provides textcyrillic
1388 Language uppersorbian
1389 GuiName "Upper Sorbian"
1390 BabelName uppersorbian
1391 PolyglossiaName usorbian
1395 DateFormats "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
1399 # not supported by babel
1402 PolyglossiaName urdu
1404 DateFormats "d MMMM, yyyy|d MMM yyyy|dd/MM/yyyy"
1410 GuiName "Vietnamese"
1411 BabelName vietnamese
1412 PolyglossiaName vietnamese
1415 DateFormats "dd 'tháng' MMMM yyyy|dd-MM-yyyy|dd/MM/yyyy"
1423 PolyglossiaName welsh
1426 DateFormats "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"