]> git.lyx.org Git - lyx.git/blobdiff - lib/languages
PDF-comment.lyx: description of the pdfcomment module
[lyx.git] / lib / languages
index acb5a1c6e4b88438a134a86daf606ea6b3483548..e4c0dd5c941037eaaa1f4bf76ec5879ce633facf 100644 (file)
@@ -120,7 +120,7 @@ Language ancientgreek
        GuiName          "Greek (ancient)"
        PolyglossiaName  greek
        PolyglossiaOpts  variant=ancient
-       QuoteStyle        french
+       QuoteStyle       french
        Encoding         iso8859-7
        LangCode         grc_GR
 End
@@ -167,19 +167,25 @@ Language australian
        LangCode         en_AU
 End
 
-# not yet supported by polyglossia
+# 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.
 Language austrian
        GuiName          "German (Austria, old spelling)"
        BabelName        austrian
+       PolyglossiaName  german
+       PolyglossiaOpts  "variant=austrian,spelling=old,babelshorthands=true"
        QuoteStyle       german
        Encoding         iso8859-15
        LangCode         de_AT
 End
 
-# not yet supported by polyglossia
+# 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.
 Language naustrian
        GuiName          "German (Austria)"
        BabelName        naustrian
+       PolyglossiaName  german
+       PolyglossiaOpts  "variant=austrian,babelshorthands=true"
        QuoteStyle       german
        Encoding         iso8859-15
        LangCode         de_AT
@@ -308,7 +314,7 @@ Language chinese-traditional
        GuiName         "Chinese (traditional)"
        QuoteStyle       english
        Encoding        utf8-cjk
-       LangCode        zh_CN
+       LangCode        zh_TW
        Requires         CJK
 End
 
@@ -471,18 +477,33 @@ Language ngerman
        LangCode         de_DE
 End
 
-# Swiss German is not supported by babel and polyglossia yet
-# We use ngerman for now (spellchecking is supported though!)
+# In Babel, this is supported since release 2.7 of babel-german (Dec 2013)
+# We introduce it with LyX 2.2 to give the support time to settle.
+# Polyglossia does not yet support Swiss German. We use ngerman for now.
 Language german-ch
        GuiName          "German (Switzerland)"
-       BabelName        ngerman
+       BabelName        nswissgerman
        PolyglossiaName  german
        PolyglossiaOpts  "babelshorthands=true"
+#      PolyglossiaOpts  "variant=swiss,babelshorthands=true"
        QuoteStyle       danish
        Encoding         iso8859-15
        LangCode         de_CH
 End
 
+# In Babel, this is supported since release 2.7 of babel-german (Dec 2013)
+# Polyglossia does not yet support Swiss German. We use german for now.
+Language german-ch-old
+       GuiName          "German (Switzerland, old spelling)"
+       BabelName        swissgerman
+       PolyglossiaName  german
+       PolyglossiaOpts  "spelling=old,babelshorthands=true"
+#      PolyglossiaOpts  "variant=swiss,spelling=old,babelshorthands=true"
+       QuoteStyle       danish
+       Encoding         iso8859-15
+       LangCode         de_CH
+End
+
 Language greek
        GuiName           "Greek"
        BabelName         greek
@@ -598,7 +619,7 @@ End
 # not supported by babel
 Language kazakh
        GuiName         "Kazakh"
-       Encoding        pt154
+       Encoding        ascii
        LangCode        kk_KZ
        PostBabelPreamble
        \input{t2aenc.def}
@@ -883,12 +904,13 @@ Language swedish
 End
 
 # not supported by babel
-Language syriac
-       GuiName          "Syriac"
-       PolyglossiaName  syriac
-       Encoding         utf8
-       LangCode         syr_SY
-End
+#Language syriac
+#      GuiName          "Syriac"
+#      PolyglossiaName  syriac
+#      Encoding         utf8
+#      RTL              true
+#      LangCode         syr_SY
+#End
 
 # not supported by babel
 Language tamil
@@ -918,6 +940,14 @@ Language thai
        EndPostBabelPreamble
 End
 
+# not supported by babel
+Language tibetan
+       GuiName          "Tibetan"
+       PolyglossiaName  tibetan
+       Encoding         utf8
+       LangCode         bo_CN
+End
+
 Language turkish
        GuiName          "Turkish"
        BabelName        turkish
@@ -961,12 +991,13 @@ Language uppersorbian
 End
 
 # not supported by babel
-Language urdu
-       GuiName          "Urdu"
-       PolyglossiaName  urdu
-       Encoding         utf8
-       LangCode         ur_PK
-End
+#Language urdu
+#      GuiName          "Urdu"
+#      PolyglossiaName  urdu
+#      Encoding         utf8
+#      RTL              true
+#      LangCode         ur_PK
+#End
 
 # vietnam must be loaded locally with babel options,
 # not globally via class options, see