]> git.lyx.org Git - lyx.git/blobdiff - lib/languages
ctest update.
[lyx.git] / lib / languages
index c9c21ac7e51734f2b202649bd15c13cfbaa2bd04..a39c5c75286e4eb6bceb95ea5dc1d6c604ea83df 100644 (file)
@@ -12,8 +12,9 @@
 #      PolyglossiaOpts    "<language-specific options>"
 #      QuoteStyle         <british|danish|english|french|frenchin|
 #                           german|polish|russian|swedish|swedishg|swiss|plain>
 #      PolyglossiaOpts    "<language-specific options>"
 #      QuoteStyle         <british|danish|english|french|frenchin|
 #                           german|polish|russian|swedish|swedishg|swiss|plain>
+#      DateFormats        "<long>|<medium>|<short>"
 #      Encoding           <encoding>
 #      Encoding           <encoding>
-#      FontEncoding       <font encoding|font encoding|...]>
+#      FontEncoding       <font encoding|font encoding|...>
 #      InternalEncoding   <true|false>
 #      RTL                <true|false>
 #      AsBabelOptions     <true|false>
 #      InternalEncoding   <true|false>
 #      RTL                <true|false>
 #      AsBabelOptions     <true|false>
 #   Note that the option names have been selected (rather arbitrarily)
 #   because the respective styles are common in the respective countries.
 #   Of course this does not imply any fixed relation to those countries.
 #   Note that the option names have been selected (rather arbitrarily)
 #   because the respective styles are common in the respective countries.
 #   Of course this does not imply any fixed relation to those countries.
+# * DateFormats lists the localized conventions for three date forms:
+#   - Long: December 1, 2018
+#   - Medium: Dec 1, 2018
+#   - Short: 1/12/2018
+#   These are separated by | and use the QDate syntax:
+#   * d        the day as number without a leading zero (1 to 31)
+#   * dd       the day as number with a leading zero (01 to 31)
+#   * ddd      the abbreviated localized day name (e.g. 'Mon' to 'Sun')
+#   * dddd     the long localized day name (e.g. 'Monday' to 'Sunday')
+#   * M        the month as number without a leading zero (1 to 12)
+#   * MM       the month as number with a leading zero (01 to 12)
+#   * MMM      the abbreviated localized month name (e.g. 'Jan' to 'Dec')
+#   * MMMM     the long localized month name (e.g. 'January' to 'December')
+#   * yy       the year as two digit number (00 to 99)
+#   * yyyy     the year as four digit number
 # * Encoding is the default encoding used with TeX fonts.
 #   It is only used if Document > Settings > Language > Encoding
 # * Encoding is the default encoding used with TeX fonts.
 #   It is only used if Document > Settings > Language > Encoding
-#   is set to "Language Default" and "use non-TeX fonts" is FALSE.
+#   is set to "Language Default" or "Language Default (no inputenc)"
+#   and "use non-TeX fonts" is FALSE.
 #   Encoding "inherit" means: keep encoding of the context (used by
 #   latex_language).
 # * FontEncoding is a bar-separated list of font encodings.
 #   Encoding "inherit" means: keep encoding of the context (used by
 #   latex_language).
 # * FontEncoding is a bar-separated list of font encodings.
 #   used if the selected font is unavailable in FontEncoding. They provide all
 #   letters used in the language, but some only as "surrogate pairs" with
 #   possible problems for hyphenation and drag-and-drop from the generated
 #   used if the selected font is unavailable in FontEncoding. They provide all
 #   letters used in the language, but some only as "surrogate pairs" with
 #   possible problems for hyphenation and drag-and-drop from the generated
-#   documents.
-#   If not given, all standard text encodings (T<n>) as well as OT1 work.
-# * "FontEncoding none" tells LyX that fontenc should not be loaded with this
-#   language.
-# * "FontEncoding ASCII" means: "works with any standard text encoding
-#   as well as OT1".
+#   documents. Default: "ASCII".
+#   * "FontEncoding ASCII" means: "works with any standard text encoding
+#     (T<n>) as well as OT1".
+#   * "FontEncoding none" tells LyX that fontenc should not be loaded with
+#     this language.
 # * InternalEncoding is used to tell LyX that babel internally sets a
 #   non-standard font encoding (such as hebrew to LHE or greek to LGR).
 #   If True, LyX takes care for characters/macros that do not exist in
 #   some font encodings ("<", ">", "|" and straight quote).
 #   It is not required for standard encodings like T2A. See bug #5091.
 # * AsBabelOptions advices LyX to pass the languages locally to babel, not
 # * InternalEncoding is used to tell LyX that babel internally sets a
 #   non-standard font encoding (such as hebrew to LHE or greek to LGR).
 #   If True, LyX takes care for characters/macros that do not exist in
 #   some font encodings ("<", ">", "|" and straight quote).
 #   It is not required for standard encodings like T2A. See bug #5091.
 # * AsBabelOptions advices LyX to pass the languages locally to babel, not
-#   globally to the class. Some languages (basically those not directly
-#   supported by babel) need this.
+#   globally to the class. In the old days, some languages (basically those
+#   not natively supported by babel) needed this.
 #   FIXME: in this case, we might still need to pass the other languages
 #          globally, for the use of other packages (such as varioref).
 # * LangCode is also used for spellchecking and thesaurus, where the
 #   FIXME: in this case, we might still need to pass the other languages
 #          globally, for the use of other packages (such as varioref).
 # * LangCode is also used for spellchecking and thesaurus, where the
@@ -137,6 +153,7 @@ Language afrikaans
        QuoteStyle       polish
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       polish
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "dd MMMM yyyy|dd MMM yyyy|yyyy/MM/dd"
        LangCode         af_ZA
 End
 
        LangCode         af_ZA
 End
 
@@ -148,6 +165,7 @@ Language albanian
        QuoteStyle       swiss
        Encoding         iso8859-2
        FontEncoding     T1|OT1
        QuoteStyle       swiss
        Encoding         iso8859-2
        FontEncoding     T1|OT1
+       DateFormats      "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
        LangCode         sq_AL
 End
 
        LangCode         sq_AL
 End
 
@@ -159,6 +177,7 @@ Language american
        QuoteStyle       english
        Encoding         iso8859-15
        FontEncoding     ASCII
        QuoteStyle       english
        Encoding         iso8859-15
        FontEncoding     ASCII
+       DateFormats      "MMMM dd, yyyy|MMM dd, yyyy|M/d/yyyy"
        LangCode         en_US
 End
 
        LangCode         en_US
 End
 
@@ -167,6 +186,7 @@ Language amharic
        GuiName          "Amharic"
        PolyglossiaName  amharic
        Encoding         utf8
        GuiName          "Amharic"
        PolyglossiaName  amharic
        Encoding         utf8
+       DateFormats      "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
        LangCode         am_ET
 End
 
        LangCode         am_ET
 End
 
@@ -184,6 +204,7 @@ Language ancientgreek
        Encoding          iso8859-7
        InternalEncoding  true
        FontEncoding      LGR
        Encoding          iso8859-7
        InternalEncoding  true
        FontEncoding      LGR
+       DateFormats      "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
        LangCode          grc_GR
        Provides          textgreek
 End
        LangCode          grc_GR
        Provides          textgreek
 End
@@ -196,6 +217,7 @@ Language arabic_arabtex
        BabelName        arabtex
        QuoteStyle       french
        Encoding         cp1256
        BabelName        arabtex
        QuoteStyle       french
        Encoding         cp1256
+       DateFormats      "d MMMM، yyyy|dd/MM/yyyy|d/M/yyyy"
        RTL              true
        LangCode         ar_SA
 End
        RTL              true
        LangCode         ar_SA
 End
@@ -208,8 +230,13 @@ Language arabic_arabi
        QuoteStyle       french
        Encoding         cp1256
        FontEncoding     LAE
        QuoteStyle       french
        Encoding         cp1256
        FontEncoding     LAE
+       DateFormats      "d MMMM، yyyy|dd/MM/yyyy|d/M/yyyy"
        RTL              true
        RTL              true
-       AsBabelOptions   true
+       PostBabelPreamble
+         % arabi + hyperref redefines \noboundary as local textcommand
+         \let\orig@noboundary\noboundary
+         \DeclareTextCommandDefault{\noboundary}{\orig@noboundary}
+       EndPostBabelPreamble
        LangCode         ar_SA
 End
 
        LangCode         ar_SA
 End
 
@@ -219,6 +246,7 @@ Language armenian
        PolyglossiaName  armenian
        QuoteStyle       swiss
        Encoding         utf8
        PolyglossiaName  armenian
        QuoteStyle       swiss
        Encoding         utf8
+       DateFormats      "d MMMM، yyyy|d MMM، yyyy|d/M/yyyy"
        LangCode         hy_AM
 End
 
        LangCode         hy_AM
 End
 
@@ -228,6 +256,7 @@ Language asturian
        PolyglossiaName  asturian
        QuoteStyle       french
        Encoding         iso8859-15
        PolyglossiaName  asturian
        QuoteStyle       french
        Encoding         iso8859-15
+       DateFormats      "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
        LangCode         ast_ES
 End
 
        LangCode         ast_ES
 End
 
@@ -239,12 +268,14 @@ Language australian
        PolyglossiaOpts  "variant=australian"
        Encoding         iso8859-15
        FontEncoding     ASCII
        PolyglossiaOpts  "variant=australian"
        Encoding         iso8859-15
        FontEncoding     ASCII
+       DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
        QuoteStyle       english
        LangCode         en_AU
 End
 
 # In polyglossia, this is supported since release 1.33.4 (May 2014)
 # We introduce it with LyX 2.2 to give the support time to settle.
        QuoteStyle       english
        LangCode         en_AU
 End
 
 # In polyglossia, this is supported since release 1.33.4 (May 2014)
 # We introduce it with LyX 2.2 to give the support time to settle.
+# Due to the variety, we use no country code.
 Language austrian
        GuiName          "German (Austria, old spelling)"
        BabelName        austrian
 Language austrian
        GuiName          "German (Austria, old spelling)"
        BabelName        austrian
@@ -253,7 +284,9 @@ Language austrian
        QuoteStyle       german
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       german
        Encoding         iso8859-15
        FontEncoding     T1|OT1
-       LangCode         de_AT
+       DateFormats      "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
+       LangCode         de
+       LangVariety      alt
 End
 
 # In polyglossia, this is supported since release 1.33.4 (May 2014)
 End
 
 # In polyglossia, this is supported since release 1.33.4 (May 2014)
@@ -266,6 +299,7 @@ Language naustrian
        QuoteStyle       german
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       german
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
        LangCode         de_AT
 End
 
        LangCode         de_AT
 End
 
@@ -277,6 +311,7 @@ Language bahasa
        QuoteStyle       english
        Encoding         iso8859-15
        FontEncoding     ASCII
        QuoteStyle       english
        Encoding         iso8859-15
        FontEncoding     ASCII
+       DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
        LangCode         id_ID
 End
 
        LangCode         id_ID
 End
 
@@ -286,6 +321,7 @@ Language bahasam
        PolyglossiaName  bahasam
        QuoteStyle       english
        Encoding         iso8859-15
        PolyglossiaName  bahasam
        QuoteStyle       english
        Encoding         iso8859-15
+       DateFormats      "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
        LangCode         ms_MY
 End
 
        LangCode         ms_MY
 End
 
@@ -297,6 +333,7 @@ Language basque
        QuoteStyle       swiss
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       swiss
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "yyyy MMMM dd|yyyy MMM dd|yyyy/MM/dd"
        LangCode         eu_ES
        PostBabelPreamble
        \addto\extrasbasque{\bbl@deactivate{~}}
        LangCode         eu_ES
        PostBabelPreamble
        \addto\extrasbasque{\bbl@deactivate{~}}
@@ -304,23 +341,27 @@ Language basque
 End
 
 # not yet supported by polyglossia
 End
 
 # not yet supported by polyglossia
+# Up to 2018-08-25 (babel-belarusian 1.4), the babel option is "belarusianb"
+# but the language name "belarusian" (without trailing "b").
 Language belarusian
        GuiName          "Belarusian"
        BabelName        belarusian
        QuoteStyle       french
        Encoding         cp1251
        FontEncoding     T2A
 Language belarusian
        GuiName          "Belarusian"
        BabelName        belarusian
        QuoteStyle       french
        Encoding         cp1251
        FontEncoding     T2A
+       DateFormats      "dd MMMM yyyy|d MMM yyyy|d.M.yyyy"
        LangCode         be_BY
        LangCode         be_BY
-       AsBabelOptions   true
 End
 
 # not yet supported by polyglossia
 End
 
 # not yet supported by polyglossia
+# The (rarely used) Cyrillic script is not supported (try serbian).
 Language bosnian
        GuiName          "Bosnian"
        BabelName        bosnian
        QuoteStyle       polish
        Encoding         iso8859-2
        FontEncoding     T1|OT1
 Language bosnian
        GuiName          "Bosnian"
        BabelName        bosnian
        QuoteStyle       polish
        Encoding         iso8859-2
        FontEncoding     T1|OT1
+       DateFormats      "d. MMMM yyyy|d. MMM yyyy|yyyy-MM-dd"
        LangCode         bs_BA
 End
 
        LangCode         bs_BA
 End
 
@@ -332,6 +373,7 @@ Language brazilian
        QuoteStyle       english
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       english
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|dd/MM/yyyy"
        LangCode         pt_BR
 End
 
        LangCode         pt_BR
 End
 
@@ -343,6 +385,7 @@ Language breton
        QuoteStyle       french
        Encoding         iso8859-15
        #FontEncoding    T1
        QuoteStyle       french
        Encoding         iso8859-15
        #FontEncoding    T1
+       DateFormats      "dd MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
        LangCode         br_FR
 End
 
        LangCode         br_FR
 End
 
@@ -354,6 +397,7 @@ Language british
        QuoteStyle       british
        Encoding         iso8859-15
        FontEncoding     ASCII
        QuoteStyle       british
        Encoding         iso8859-15
        FontEncoding     ASCII
+       DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
        LangCode         en_GB
 End
 
        LangCode         en_GB
 End
 
@@ -364,6 +408,7 @@ Language bulgarian
        QuoteStyle       german
        Encoding         cp1251
        FontEncoding     T2A
        QuoteStyle       german
        Encoding         cp1251
        FontEncoding     T2A
+       DateFormats      "dd MMMM yyyy|d MMM yyyy|yyyy-M-d"
        LangCode         bg_BG
        Provides         textcyrillic
 End
        LangCode         bg_BG
        Provides         textcyrillic
 End
@@ -377,6 +422,7 @@ Language canadian
        QuoteStyle       english
        Encoding         iso8859-15
        FontEncoding     ASCII
        QuoteStyle       english
        Encoding         iso8859-15
        FontEncoding     ASCII
+       DateFormats      "MMMM d, yyyy|d MMM yyyy|yyyy-MM-dd"
        LangCode         en_CA
 End
 
        LangCode         en_CA
 End
 
@@ -391,6 +437,7 @@ Language canadien
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
        LangCode         fr_CA
 End
 
        LangCode         fr_CA
 End
 
@@ -403,6 +450,7 @@ Language catalan
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d / MMMM / yyyy|d / MMM / yyyy|dd/MM/yyyy"
        LangCode         ca_ES
 End
 
        LangCode         ca_ES
 End
 
@@ -413,6 +461,7 @@ Language chinese-simplified
        Encoding         euc-cn
        QuoteStyle       english
        LangCode         zh_CN
        Encoding         euc-cn
        QuoteStyle       english
        LangCode         zh_CN
+       DateFormats      "yyyy年M月d日|yyyy-M-d|yy-M-d"
        Requires         CJK
 End
 
        Requires         CJK
 End
 
@@ -423,10 +472,12 @@ Language chinese-traditional
        QuoteStyle       cjk
        Encoding         utf8-cjk
        LangCode         zh_TW
        QuoteStyle       cjk
        Encoding         utf8-cjk
        LangCode         zh_TW
+       DateFormats      "yyyy年M月d日|yyyy年M月d日|yy年M月d日"
        Requires         CJK
 End
 
 # not supported by babel
        Requires         CJK
 End
 
 # not supported by babel
+# FIXME DateFormats
 Language coptic
        GuiName          "Coptic"
        PolyglossiaName  coptic
 Language coptic
        GuiName          "Coptic"
        PolyglossiaName  coptic
@@ -441,6 +492,7 @@ Language croatian
        QuoteStyle       polish
        Encoding         iso8859-2
        FontEncoding     T1|OT1
        QuoteStyle       polish
        Encoding         iso8859-2
        FontEncoding     T1|OT1
+       DateFormats      "d. MMMM yyyy.|d. MMM. yyyy.|dd.MM.yyyy."
        LangCode         hr_HR
 End
 
        LangCode         hr_HR
 End
 
@@ -452,6 +504,7 @@ Language czech
        QuoteStyle       german
        Encoding         iso8859-2
        FontEncoding     T1|OT1
        QuoteStyle       german
        Encoding         iso8859-2
        FontEncoding     T1|OT1
+       DateFormats      "d. MMMM yyyy|d. MMM. yyyy|d.M.yyyy"
        LangCode         cs_CZ
 End
 
        LangCode         cs_CZ
 End
 
@@ -463,6 +516,7 @@ Language danish
        QuoteStyle       danish
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       danish
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd/MM/yyyy"
        LangCode         da_DK
 End
 
        LangCode         da_DK
 End
 
@@ -471,6 +525,7 @@ Language divehi
        GuiName          "Divehi (Maldivian)"
        PolyglossiaName  divehi
        Encoding         utf8
        GuiName          "Divehi (Maldivian)"
        PolyglossiaName  divehi
        Encoding         utf8
+       DateFormats      "yyyy MMMM dd|yyyy MMM dd|dd/MM/yyyy"
        LangCode         dv_MV
 End
 
        LangCode         dv_MV
 End
 
@@ -483,6 +538,7 @@ Language dutch
        QuoteStyle       polish
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       polish
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d MMMM yyyy|d MMM yyyy|d-M-yyyy"
        LangCode         nl_NL
 End
 
        LangCode         nl_NL
 End
 
@@ -493,13 +549,14 @@ Language english
        PolyglossiaName  english
        PolyglossiaOpts  "variant=american"
        QuoteStyle       english
        PolyglossiaName  english
        PolyglossiaOpts  "variant=american"
        QuoteStyle       english
+       DateFormats      "MMMM dd, yyyy|MMM dd, yyyy|M/d/yyyy"
        Encoding         iso8859-15
        FontEncoding     ASCII
        LangCode         en_US
 End
 
 # Esperanto has no country code because it is an auxiliary language.
        Encoding         iso8859-15
        FontEncoding     ASCII
        LangCode         en_US
 End
 
 # Esperanto has no country code because it is an auxiliary language.
-# We therefore the name of its hunspell dictionary.
+# We therefore use the name of its hunspell dictionary.
 Language esperanto
        GuiName          "Esperanto"
        BabelName        esperanto
 Language esperanto
        GuiName          "Esperanto"
        BabelName        esperanto
@@ -507,6 +564,7 @@ Language esperanto
        QuoteStyle       english
        Encoding         iso8859-3
        FontEncoding     IL3|T1|OT1
        QuoteStyle       english
        Encoding         iso8859-3
        FontEncoding     IL3|T1|OT1
+       DateFormats      "'la' d 'de' MMMM yyyy|'la' d 'de' MMM yyyy|MM/dd/yyyy"
        LangCode         eo_EO
 End
 
        LangCode         eo_EO
 End
 
@@ -517,6 +575,7 @@ Language estonian
        QuoteStyle       german
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       german
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
        LangCode         et_EE
        PostBabelPreamble
        \addto\extrasestonian{\bbl@deactivate{~}}
        LangCode         et_EE
        PostBabelPreamble
        \addto\extrasestonian{\bbl@deactivate{~}}
@@ -531,6 +590,7 @@ Language farsi
        PolyglossiaName  farsi
        Encoding         utf8
        FontEncoding     LAE,LFE
        PolyglossiaName  farsi
        Encoding         utf8
        FontEncoding     LAE,LFE
+       DateFormats      "d MMMM yyyy|d MMM yyyy|yyyy/M/d"
        RTL              true
        LangCode         fa_IR
        QuoteStyle       english
        RTL              true
        LangCode         fa_IR
        QuoteStyle       english
@@ -548,6 +608,7 @@ Language finnish
        QuoteStyle       swedish
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       swedish
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
        LangCode         fi_FI
 End
 
        LangCode         fi_FI
 End
 
@@ -560,6 +621,7 @@ Language french
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
        LangCode         fr_FR
        PostBabelPreamble
        \addto\extrasfrench{%
        LangCode         fr_FR
        PostBabelPreamble
        \addto\extrasfrench{%
@@ -577,6 +639,7 @@ Language friulan
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d 'di' MMMM 'dal' yyyy|d 'di' MMM 'dal' yyyy|dd/MM/yyyy"
        LangCode         fur_IT
 End
 
        LangCode         fur_IT
 End
 
@@ -588,12 +651,14 @@ Language galician
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|dd/MM/yyyy"
        LangCode         gl_ES
        PostBabelPreamble
        \addto\shorthandsgalician{\galiciandeactivate{~}}
        EndPostBabelPreamble
 End
 
        LangCode         gl_ES
        PostBabelPreamble
        \addto\shorthandsgalician{\galiciandeactivate{~}}
        EndPostBabelPreamble
 End
 
+# FIXME DateFormats
 Language georgian
        GuiName          "Georgian"
        BabelName        georgian
 Language georgian
        GuiName          "Georgian"
        BabelName        georgian
@@ -612,6 +677,7 @@ Language german
        QuoteStyle       german
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       german
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
        LangCode         de
        LangVariety      alt
 End
        LangCode         de
        LangVariety      alt
 End
@@ -625,6 +691,7 @@ Language ngerman
        QuoteStyle       german
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       german
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
        LangCode         de_DE
 End
 
        LangCode         de_DE
 End
 
@@ -640,6 +707,7 @@ Language german-ch
        QuoteStyle       swiss
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       swiss
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
        LangCode         de_CH
 End
 
        LangCode         de_CH
 End
 
@@ -654,6 +722,7 @@ Language german-ch-old
        QuoteStyle       swiss
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       swiss
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "dd. MMMM yyyy|dd. MMM yyyy|dd.MM.yyyy"
        LangCode         de_CH
 End
 
        LangCode         de_CH
 End
 
@@ -667,6 +736,7 @@ Language greek
        Encoding          iso8859-7
        InternalEncoding  true
        FontEncoding      LGR
        Encoding          iso8859-7
        InternalEncoding  true
        FontEncoding      LGR
+       DateFormats      "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
        LangCode          el_GR
        Provides          textgreek
 End
        LangCode          el_GR
        Provides          textgreek
 End
@@ -680,6 +750,7 @@ Language polutonikogreek
        Encoding          iso8859-7
        InternalEncoding  true
        FontEncoding      LGR
        Encoding          iso8859-7
        InternalEncoding  true
        FontEncoding      LGR
+       DateFormats      "dd MMMM yyyy|dd MMM yyyy|dd/MM/yyyy"
        LangCode          el_GR
        Provides          textgreek
 End
        LangCode          el_GR
        Provides          textgreek
 End
@@ -692,9 +763,14 @@ Language hebrew
        Encoding          cp1255
        QuoteStyle        english
        InternalEncoding  true
        Encoding          cp1255
        QuoteStyle        english
        InternalEncoding  true
-# Hebrew babel loads the font encodings
-# itself in the appropriate order
-#      FontEncoding      LHE
+       # babel-hebrew expects the encoding for *other* languages last:
+       # FontEncoding      HE8
+       # Define the font encoding the babel-hebrew way and
+       # work around too simple test for article-like classes in rlbabel.def.
+       PreBabelPreamble
+         \providecommand{\l@chapter}{\relax}
+       EndPreBabelPreamble
+       DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
        RTL               true
        LangCode          he_IL
 End
        RTL               true
        LangCode          he_IL
 End
@@ -704,6 +780,7 @@ Language hindi
        GuiName          "Hindi"
        PolyglossiaName  hindi
        Encoding         utf8
        GuiName          "Hindi"
        PolyglossiaName  hindi
        Encoding         utf8
+       DateFormats      "dd MMMM yyyy|dd MMM yyyy|dd-MM-yyyy"
        LangCode         hi_IN
 End
 
        LangCode         hi_IN
 End
 
@@ -727,6 +804,7 @@ Language icelandic
        QuoteStyle       german
        Encoding         iso8859-15
        FontEncoding     T1
        QuoteStyle       german
        Encoding         iso8859-15
        FontEncoding     T1
+       DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
        LangCode         is_IS
 End
 
        LangCode         is_IS
 End
 
@@ -740,6 +818,7 @@ Language interlingua
        Encoding         iso8859-15
        FontEncoding     ASCII
        LangCode         ia_IA
        Encoding         iso8859-15
        FontEncoding     ASCII
        LangCode         ia_IA
+       DateFormats      "'le' d 'de' MMMM yyyy|'le' d 'de' MMM yyyy|yyyy-mm-dd"
        QuoteStyle       english
 End
 
        QuoteStyle       english
 End
 
@@ -750,6 +829,7 @@ Language irish
        QuoteStyle       english
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       english
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd/MM/yyyy"
        LangCode         ga_IE
 End
 
        LangCode         ga_IE
 End
 
@@ -761,6 +841,7 @@ Language italian
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     ASCII
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     ASCII
+       DateFormats      "dd MMMM yyyy|dd/MMM/yyyy|dd/MM/yyyy"
        LangCode         it_IT
 End
 
        LangCode         it_IT
 End
 
@@ -775,10 +856,10 @@ Language japanese
        BabelName        japanese
        Encoding         jis-platex
        LangCode         ja_JP
        BabelName        japanese
        Encoding         jis-platex
        LangCode         ja_JP
-       AsBabelOptions   true
        Requires         japanese
        InternalEncoding true
        FontEncoding     None
        Requires         japanese
        InternalEncoding true
        FontEncoding     None
+       DateFormats      "yyyy年M月d日|yyyy/MM/dd|yy/MM/dd"
        QuoteStyle       cjk
 End
 
        QuoteStyle       cjk
 End
 
@@ -786,6 +867,7 @@ End
 Language japanese-cjk
        GuiName         "Japanese (CJK)"
        Encoding        euc-jp
 Language japanese-cjk
        GuiName         "Japanese (CJK)"
        Encoding        euc-jp
+       DateFormats      "yyyy年M月d日|yyyy/MM/dd|yy/MM/dd"
        LangCode        ja_JP
        Requires        CJK
        QuoteStyle      cjk
        LangCode        ja_JP
        Requires        CJK
        QuoteStyle      cjk
@@ -796,6 +878,7 @@ Language kannada
        GuiName          "Kannada"
        PolyglossiaName  kannada
        Encoding         utf8
        GuiName          "Kannada"
        PolyglossiaName  kannada
        Encoding         utf8
+       DateFormats      "dd MMMM yyyy|dd MMMM yyyy|dd-MM-yyyy"
        LangCode         kn_IN
 End
 
        LangCode         kn_IN
 End
 
@@ -805,7 +888,10 @@ Language kazakh
        GuiName          "Kazakh"
        Encoding         ascii
        FontEncoding     T2A
        GuiName          "Kazakh"
        Encoding         ascii
        FontEncoding     T2A
+       DateFormats      "dd MMMM yyyy|dd MMMM yyyy|yyyy-dd-MM"
        LangCode         kk_KZ
        LangCode         kk_KZ
+       # FIXME: this sets the global font encoding also
+       # if Kazakh is only used as secondary language.
        PostBabelPreamble
        \input{t2aenc.def}
        \AtBeginDocument{\fontencoding{T2A}\selectfont}
        PostBabelPreamble
        \input{t2aenc.def}
        \AtBeginDocument{\fontencoding{T2A}\selectfont}
@@ -817,6 +903,7 @@ Language khmer
        GuiName          "Khmer"
        PolyglossiaName  khmer
        Encoding         utf8
        GuiName          "Khmer"
        PolyglossiaName  khmer
        Encoding         utf8
+       DateFormats      "d MMMM yyyy|d MMMM yyyy|dd/MM/yyyy"
        LangCode         km_KH
 End
 
        LangCode         km_KH
 End
 
@@ -824,6 +911,7 @@ Language korean
        GuiName         "Korean"
        Encoding        euc-kr
        QuoteStyle      cjkangle
        GuiName         "Korean"
        Encoding        euc-kr
        QuoteStyle      cjkangle
+       DateFormats     "yyyy년 M월 d일|yyyy. M. d.|yy. M. d."
        LangCode        ko_KR
        Requires        CJK
 End
        LangCode        ko_KR
        Requires        CJK
 End
@@ -834,8 +922,8 @@ Language kurmanji
        BabelName        kurmanji
        Encoding         utf8
        FontEncoding     T1|OT1
        BabelName        kurmanji
        Encoding         utf8
        FontEncoding     T1|OT1
+       DateFormats      "d. MMMM yyyy|d. M. yyyy|yyyy-MM-dd"
        LangCode         kmr
        LangCode         kmr
-       AsBabelOptions   true
 End
 
 # not supported by babel
 End
 
 # not supported by babel
@@ -843,11 +931,13 @@ Language lao
        GuiName          "Lao"
        PolyglossiaName  lao
        Encoding         utf8
        GuiName          "Lao"
        PolyglossiaName  lao
        Encoding         utf8
+       DateFormats      "dd MMMM yyyy|dd MMMM yyyy|dd/MM/yyyy"
        LangCode         lo_LA
 End
 
 # There is no country code for Latin because it is a dead language.
 # We therefore the name of its hunspell dictionary.
        LangCode         lo_LA
 End
 
 # There is no country code for Latin because it is a dead language.
 # We therefore the name of its hunspell dictionary.
+# FIXME DateFormats
 Language latin
        GuiName          "Latin"
        BabelName        latin
 Language latin
        GuiName          "Latin"
        BabelName        latin
@@ -867,8 +957,8 @@ Language latvian
        QuoteStyle       german
        Encoding         iso8859-4
        FontEncoding     L7x|T1|OT1
        QuoteStyle       german
        Encoding         iso8859-4
        FontEncoding     L7x|T1|OT1
+       DateFormats      "yyyy. 'gada' d. MMMM|yyyy. 'gada' d. MMM|dd.MM.yyyy"
        LangCode         lv_LV
        LangCode         lv_LV
-       AsBabelOptions   true
 End
 
 # lithuanian must be loaded locally with babel options,
 End
 
 # lithuanian must be loaded locally with babel options,
@@ -881,8 +971,8 @@ Language lithuanian
        QuoteStyle       german
        Encoding         iso8859-13
        FontEncoding     L7x
        QuoteStyle       german
        Encoding         iso8859-13
        FontEncoding     L7x
+       DateFormats      "yyyy 'm.' MMMM d 'd.'|yyyy 'm.' MMMM d 'd.'|yyyy-MM-dd"
        LangCode         lt_LT
        LangCode         lt_LT
-       AsBabelOptions   true
 End
 
 Language lowersorbian
 End
 
 Language lowersorbian
@@ -892,6 +982,7 @@ Language lowersorbian
        QuoteStyle       german
        Encoding         iso8859-2
        FontEncoding     T1|OT1
        QuoteStyle       german
        Encoding         iso8859-2
        FontEncoding     T1|OT1
+       DateFormats      "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
        LangCode         dsb_DE
 End
 
        LangCode         dsb_DE
 End
 
@@ -903,6 +994,7 @@ Language magyar
        QuoteStyle       polish
        Encoding         iso8859-2
        FontEncoding     T1|OT1
        QuoteStyle       polish
        Encoding         iso8859-2
        FontEncoding     T1|OT1
+       DateFormats      "yyyy. MMMM d.|yyyy. MMM d.|yyyy.MM.dd."
        LangCode         hu_HU
 End
 
        LangCode         hu_HU
 End
 
@@ -913,15 +1005,27 @@ Language macedonian
        QuoteStyle       german
        Encoding         cp1251
        FontEncoding     T2A
        QuoteStyle       german
        Encoding         cp1251
        FontEncoding     T2A
+       DateFormats      "dd MMMM yyyy|d MMM yyyy|d.M.yyyy"
        LangCode         mk_MK
        Provides         textcyrillic
 End
 
        LangCode         mk_MK
        Provides         textcyrillic
 End
 
+# not supported by babel
+Language malayalam
+       GuiName          "Malayalam"
+       PolyglossiaName  malayalam
+       Encoding         utf8
+       QuoteStyle       english
+       DateFormats      "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
+       LangCode         ml_IN
+End
+
 # not supported by babel
 Language marathi
        GuiName          "Marathi"
        PolyglossiaName  marathi
        Encoding         utf8
 # not supported by babel
 Language marathi
        GuiName          "Marathi"
        PolyglossiaName  marathi
        Encoding         utf8
+       DateFormats      "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
        LangCode         mr_IN
 End
 
        LangCode         mr_IN
 End
 
@@ -933,8 +1037,8 @@ Language mongolian
        BabelName        mongolian
        Encoding         utf8
        FontEncoding     T2A
        BabelName        mongolian
        Encoding         utf8
        FontEncoding     T2A
+       DateFormats      "yyyy оны M сарын d|d-M-yyyy|dd-MM-yyyy"
        LangCode         mn_MN
        LangCode         mn_MN
-       AsBabelOptions   true
        Provides         textcyrillic
 End
 
        Provides         textcyrillic
 End
 
@@ -946,6 +1050,7 @@ Language newzealand
        QuoteStyle       english
        Encoding         iso8859-15
        FontEncoding     ASCII
        QuoteStyle       english
        Encoding         iso8859-15
        FontEncoding     ASCII
+       DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
        LangCode         en_NZ
 End
 
        LangCode         en_NZ
 End
 
@@ -957,6 +1062,7 @@ Language norsk
        QuoteStyle       swiss
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       swiss
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
        LangCode         nb_NO
 End
 
        LangCode         nb_NO
 End
 
@@ -968,6 +1074,7 @@ Language nynorsk
        QuoteStyle       swiss
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       swiss
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
        LangCode         nn_NO
 End
 
        LangCode         nn_NO
 End
 
@@ -977,6 +1084,7 @@ Language occitan
        PolyglossiaName  occitan
        QuoteStyle       french
        Encoding         utf8
        PolyglossiaName  occitan
        QuoteStyle       french
        Encoding         utf8
+       DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
        LangCode         oc_FR
 End
 
        LangCode         oc_FR
 End
 
@@ -993,6 +1101,7 @@ End
 #       QuoteStyle       russian
 # End
 
 #       QuoteStyle       russian
 # End
 
+# FIXME DateFormats
 Language piedmontese
        GuiName          "Piedmontese"
        HasGuiSupport    true
 Language piedmontese
        GuiName          "Piedmontese"
        HasGuiSupport    true
@@ -1013,6 +1122,7 @@ Language polish
        QuoteStyle       polish
        Encoding         iso8859-2
        FontEncoding     QX|T1|OT1
        QuoteStyle       polish
        Encoding         iso8859-2
        FontEncoding     QX|T1|OT1
+       DateFormats      "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
        LangCode         pl_PL
 End
 
        LangCode         pl_PL
 End
 
@@ -1024,6 +1134,7 @@ Language portuguese
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d 'de' MMMM 'de' yyyy|d 'de' MMM 'de' yyyy|yyyy/MM/dd"
        LangCode         pt_PT
 End
 
        LangCode         pt_PT
 End
 
@@ -1035,6 +1146,7 @@ Language romanian
        QuoteStyle       polish
        Encoding         iso8859-16
        FontEncoding     T1|OT1
        QuoteStyle       polish
        Encoding         iso8859-16
        FontEncoding     T1|OT1
+       DateFormats      "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
        LangCode         ro_RO
 End
 
        LangCode         ro_RO
 End
 
@@ -1046,6 +1158,7 @@ Language romansh
        QuoteStyle       german
        Encoding         iso8859-15
        FontEncoding     ASCII
        QuoteStyle       german
        Encoding         iso8859-15
        FontEncoding     ASCII
+       DateFormats      "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
        LangCode         rm_CH
 End
 
        LangCode         rm_CH
 End
 
@@ -1057,6 +1170,7 @@ Language russian
        QuoteStyle       russian
        Encoding         koi8-r
        FontEncoding     T2A
        QuoteStyle       russian
        Encoding         koi8-r
        FontEncoding     T2A
+       DateFormats      "d MMMM yyyy 'г'.|d MMM yyyy 'г'.|dd.MM.yyyy"
        LangCode         ru_RU
        Provides         textcyrillic
 End
        LangCode         ru_RU
        Provides         textcyrillic
 End
@@ -1068,6 +1182,7 @@ Language samin
        PolyglossiaName  samin
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        PolyglossiaName  samin
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "MMMM d. 'b'. yyyy|MMM d. 'b'. yyyy|d.M.yyyy"
        LangCode         se_NO
 End
 
        LangCode         se_NO
 End
 
@@ -1076,6 +1191,7 @@ Language sanskrit
        GuiName          "Sanskrit"
        PolyglossiaName  sanskrit
        Encoding         utf8
        GuiName          "Sanskrit"
        PolyglossiaName  sanskrit
        Encoding         utf8
+       DateFormats      "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
        LangCode         sa_IN
 End
 
        LangCode         sa_IN
 End
 
@@ -1088,6 +1204,7 @@ Language scottish
        QuoteStyle       english
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       english
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
        LangCode         gd_GB
 End
 
        LangCode         gd_GB
 End
 
@@ -1101,9 +1218,10 @@ Language serbian
        PolyglossiaOpts  "script=Cyrillic"
        QuoteStyle       polish
        Encoding         utf8
        PolyglossiaOpts  "script=Cyrillic"
        QuoteStyle       polish
        Encoding         utf8
-       FontEncoding     T2A
+        # Cyrillic font encoding required but not set by "serbianc".
+       # FontEncoding     T2A
+       DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
        LangCode         sr_RS
        LangCode         sr_RS
-       AsBabelOptions   true
 End
 
 # Note: script option is uppercase, even if the polyglossia
 End
 
 # Note: script option is uppercase, even if the polyglossia
@@ -1116,6 +1234,7 @@ Language serbian-latin
        QuoteStyle       polish
        Encoding         iso8859-2
        FontEncoding     T1|OT1
        QuoteStyle       polish
        Encoding         iso8859-2
        FontEncoding     T1|OT1
+       DateFormats      "d. MMMM yyyy|d. MMM yyyy|dd.MM.yyyy"
        LangCode         sr_RS-Latin
 End
 
        LangCode         sr_RS-Latin
 End
 
@@ -1127,6 +1246,7 @@ Language slovak
        QuoteStyle       german
        Encoding         iso8859-2
        FontEncoding     T1|OT1
        QuoteStyle       german
        Encoding         iso8859-2
        FontEncoding     T1|OT1
+       DateFormats      "d. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
        LangCode         sk_SK
 End
 
        LangCode         sk_SK
 End
 
@@ -1137,6 +1257,7 @@ Language slovene
        QuoteStyle       german
        Encoding         iso8859-2
        FontEncoding     T1|OT1
        QuoteStyle       german
        Encoding         iso8859-2
        FontEncoding     T1|OT1
+       DateFormats      "dd. MMMM yyyy|d. MMM yyyy|d.M.yyyy"
        LangCode         sl_SI
 End
 
        LangCode         sl_SI
 End
 
@@ -1148,6 +1269,7 @@ Language spanish
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
        LangCode         es_ES
        PostBabelPreamble
        \addto\shorthandsspanish{\spanishdeactivate{~<>}}
        LangCode         es_ES
        PostBabelPreamble
        \addto\shorthandsspanish{\spanishdeactivate{~<>}}
@@ -1162,6 +1284,7 @@ Language spanish-mexico
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       french
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d 'de' MMMM 'de' yyyy|d MMM yyyy|dd/MM/yyyy"
        LangCode         es_MX
        PostBabelPreamble
        \addto\shorthandsspanish{\spanishdeactivate{~<>.}}
        LangCode         es_MX
        PostBabelPreamble
        \addto\shorthandsspanish{\spanishdeactivate{~<>.}}
@@ -1176,6 +1299,7 @@ Language swedish
        QuoteStyle       swedish
        Encoding         iso8859-15
        FontEncoding     T1|OT1
        QuoteStyle       swedish
        Encoding         iso8859-15
        FontEncoding     T1|OT1
+       DateFormats      "d MMMM yyyy|d MMM yyyy|yyyy-MM-dd"
        LangCode         sv_SE
 End
 
        LangCode         sv_SE
 End
 
@@ -1185,6 +1309,7 @@ Language syriac
        PolyglossiaName  syriac
        Encoding         utf8
        RTL              true
        PolyglossiaName  syriac
        Encoding         utf8
        RTL              true
+       DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
        LangCode         syr_SY
 End
 
        LangCode         syr_SY
 End
 
@@ -1193,6 +1318,7 @@ Language tamil
        GuiName          "Tamil"
        PolyglossiaName  tamil
        Encoding         utf8
        GuiName          "Tamil"
        PolyglossiaName  tamil
        Encoding         utf8
+       DateFormats      "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
        LangCode         ta_IN
 End
 
        LangCode         ta_IN
 End
 
@@ -1201,6 +1327,7 @@ Language telugu
        GuiName          "Telugu"
        PolyglossiaName  telugu
        Encoding         utf8
        GuiName          "Telugu"
        PolyglossiaName  telugu
        Encoding         utf8
+       DateFormats      "dd MMMM yyyy|d MMM yyyy|dd-MM-yyyy"
        LangCode         te_IN
 End
 
        LangCode         te_IN
 End
 
@@ -1211,13 +1338,18 @@ Language thai
        QuoteStyle       english
        Encoding         tis620-0
        FontEncoding     LTH
        QuoteStyle       english
        Encoding         tis620-0
        FontEncoding     LTH
+       DateFormats      "dd MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
        LangCode         th_TH
        LangCode         th_TH
-       PostBabelPreamble
-       \usepackage{thswitch}
-       EndPostBabelPreamble
+       # Fixme: load font package?
+       # +1 support for font attributes in thai emphasizing etc.
+       # -1 conflict with custom font settings and other languages' fonts
+       # PostBabelPreamble
+       # \usepackage{fonts-tlwg}
+       # EndPostBabelPreamble
 End
 
 # not supported by babel
 End
 
 # not supported by babel
+#FIXME DateFormats
 Language tibetan
        GuiName          "Tibetan"
        PolyglossiaName  tibetan
 Language tibetan
        GuiName          "Tibetan"
        PolyglossiaName  tibetan
@@ -1234,6 +1366,7 @@ Language turkish
        Encoding         iso8859-9
        FontEncoding     T1|OT1
        LangCode         tr_TR
        Encoding         iso8859-9
        FontEncoding     T1|OT1
        LangCode         tr_TR
+       DateFormats      "d MMMM yyyy|dd.MMM.yyyy|dd.MM.yyyy"
        PostBabelPreamble
        \usepackage{xkeyval}
        EndPostBabelPreamble
        PostBabelPreamble
        \usepackage{xkeyval}
        EndPostBabelPreamble
@@ -1248,8 +1381,8 @@ Language turkmen
        QuoteStyle       swiss
        Encoding         utf8
        FontEncoding     T1|OT1
        QuoteStyle       swiss
        Encoding         utf8
        FontEncoding     T1|OT1
+       DateFormats      "yyyy ý. MMMM d|dd.MM.yyyy ý.|dd.MM.yy ý."
        LangCode         tk_TM
        LangCode         tk_TM
-       AsBabelOptions   true
 End
 
 Language ukrainian
 End
 
 Language ukrainian
@@ -1260,6 +1393,7 @@ Language ukrainian
        QuoteStyle       russian
        Encoding         koi8-u
        FontEncoding     T2A
        QuoteStyle       russian
        Encoding         koi8-u
        FontEncoding     T2A
+       DateFormats      "dd MMMM yyyy|d MM yyyy|dd.MM.yyyy"
        LangCode         uk_UA
        Provides         textcyrillic
 End
        LangCode         uk_UA
        Provides         textcyrillic
 End
@@ -1271,6 +1405,7 @@ Language uppersorbian
        QuoteStyle       german
        Encoding         iso8859-2
        FontEncoding     T1|OT1
        QuoteStyle       german
        Encoding         iso8859-2
        FontEncoding     T1|OT1
+       DateFormats      "d MMMM yyyy|d MMM yyyy|dd.MM.yyyy"
        LangCode         hsb_DE
 End
 
        LangCode         hsb_DE
 End
 
@@ -1279,6 +1414,7 @@ Language urdu
        GuiName          "Urdu"
        PolyglossiaName  urdu
        Encoding         utf8
        GuiName          "Urdu"
        PolyglossiaName  urdu
        Encoding         utf8
+       DateFormats      "d MMMM, yyyy|d MMM yyyy|dd/MM/yyyy"
        RTL              true
        LangCode         ur_PK
 End
        RTL              true
        LangCode         ur_PK
 End
@@ -1289,6 +1425,7 @@ Language vietnamese
        PolyglossiaName  vietnamese
        QuoteStyle       english
        Encoding         utf8
        PolyglossiaName  vietnamese
        QuoteStyle       english
        Encoding         utf8
+       DateFormats      "dd 'tháng' MMMM yyyy|dd-MM-yyyy|dd/MM/yyyy"
        FontEncoding     T5
        LangCode         vi_VN
 End
        FontEncoding     T5
        LangCode         vi_VN
 End
@@ -1299,6 +1436,7 @@ Language welsh
        PolyglossiaName  welsh
        QuoteStyle       british
        Encoding         iso8859-15
        PolyglossiaName  welsh
        QuoteStyle       british
        Encoding         iso8859-15
+       DateFormats      "d MMMM yyyy|d MMM yyyy|dd/MM/yyyy"
        FontEncoding     T1|OT1
        LangCode         cy_GB
 End
        FontEncoding     T1|OT1
        LangCode         cy_GB
 End