]> git.lyx.org Git - lyx.git/blobdiff - lib/languages
Whitespace
[lyx.git] / lib / languages
index dac019c4f13f2db54496fa12379e2a6a661bbc24..25169dc8517fb37cd85ca88555f8a79ebba07446 100644 (file)
@@ -75,6 +75,7 @@ End
 # Real languages
 #
 
+# not yet supported by polyglossia
 Language afrikaans
        GuiName          "Afrikaans"
        BabelName        afrikaans
@@ -99,13 +100,14 @@ Language american
        LangCode         en_US
 End
 
-# Currently not supported (file format change!)
-# Language ancientgreek
-#      GuiName          "Greek (ancient)"
-#      PolyglossiaName  greek
-#      PolyglossiaOpts  variant=ancient
-#      LangCode         grc
-# End
+# not supported by babel
+Language ancientgreek
+       GuiName          "Greek (ancient)"
+       PolyglossiaName  greek
+       PolyglossiaOpts  variant=ancient
+       Encoding         iso8859-7
+       LangCode         grc_GR
+End
 
 # FIXME: dummy babel language for arabic_arabtex to be able
 # to switch the language the way of the ArabTeX-package
@@ -127,6 +129,7 @@ Language arabic_arabi
        LangCode         ar_SA
 End
 
+# not supported by babel
 Language armenian
        GuiName          "Armenian"
        PolyglossiaName  armenian
@@ -134,6 +137,16 @@ Language armenian
        LangCode         hy_AM
 End
 
+Language australian
+       GuiName          "English (Australia)"
+       BabelName        australian
+       PolyglossiaName  english
+       PolyglossiaOpts  "variant=australian"
+       Encoding         iso8859-15
+       LangCode         en_AU
+End
+
+# not yet supported by polyglossia
 Language austrian
        GuiName          "German (Austria, old spelling)"
        BabelName        austrian
@@ -141,6 +154,7 @@ Language austrian
        LangCode         de_AT
 End
 
+# not yet supported by polyglossia
 Language naustrian
        GuiName          "German (Austria)"
        BabelName        naustrian
@@ -172,6 +186,7 @@ Language basque
        LangCode         eu_ES
 End
 
+# not yet supported by polyglossia
 Language belarusian
        GuiName          "Belarusian"
        BabelName        belarusian
@@ -255,12 +270,13 @@ Language chinese-traditional
        LangCode        zh_CN
 End
 
-# Currently not supported (file format change!)
-# Language coptic
-#      GuiName          "Coptic"
-#      PolyglossiaName  coptic
-#      LangCode         cop
-# End
+# not supported by babel
+Language coptic
+       GuiName          "Coptic"
+       PolyglossiaName  coptic
+       Encoding         utf8
+       LangCode         cop_EG
+End
 
 Language croatian
        GuiName          "Croatian"
@@ -286,12 +302,13 @@ Language danish
        LangCode         da_DK
 End
 
-# Currently not supported (file format change!)
-# Language divehi
-#      GuiName          "Divehi (Maldivian)"
-#      PolyglossiaName  divehi
-#      LangCode         dv
-# End
+# not supported by babel
+Language divehi
+       GuiName          "Divehi (Maldivian)"
+       PolyglossiaName  divehi
+       Encoding         utf8
+       LangCode         dv_MV
+End
 
 Language dutch
        GuiName          "Dutch"
@@ -310,13 +327,14 @@ Language english
        LangCode         en_US
 End
 
-# Esperanto has no country code because it is an auxiliary language
+# Esperanto has no country code because it is an auxiliary language.
+# We therefore the name of its hunspell dictionary.
 Language esperanto
        GuiName          "Esperanto"
        BabelName        esperanto
        PolyglossiaName  esperanto
        Encoding         iso8859-3
-       LangCode         eo
+       LangCode         eo_EO
 End
 
 Language estonian
@@ -329,14 +347,13 @@ End
 
 # the preamble definitions are only used due to bugs in the
 # arabi-package -- remove them if they become unnecessary!
-# The country code is omitted because of the aspell dic naming.
 Language farsi
        GuiName          "Farsi"
        BabelName        farsi
        PolyglossiaName  farsi
        Encoding         utf8
        RTL              true
-       LangCode         fa
+       LangCode         fa_IR
        PostBabelPreamble
        \DeclareTextSymbol{\guillemotright}{LFE}{62}
        \DeclareTextSymbol{\guillemotleft}{LFE}{60}
@@ -434,12 +451,13 @@ Language hebrew
        LangCode          he_IL
 End
 
-# Currently not supported (file format change!)
-# Language hindi
-#      GuiName          "Hindi"
-#      PolyglossiaName  hindi
-#      LangCode         hi
-# End
+# not supported by babel
+Language hindi
+       GuiName          "Hindi"
+       PolyglossiaName  hindi
+       Encoding         utf8
+       LangCode         hi_IN
+End
 
 # Currently not supported (file format change!)
 # "hungarian" is a synonym for the "magyar" babel language option
@@ -460,13 +478,14 @@ Language icelandic
        LangCode         is_IS
 End
 
-# Interlingua has no country code because it is an auxiliary language
+# Interlingua has no official country code because it is an auxiliary
+# language. We therefore the name of its hunspell dictionary.
 Language interlingua
        GuiName          "Interlingua"
        BabelName        interlingua
        PolyglossiaName  interlingua
        Encoding         iso8859-15
-       LangCode         ia
+       LangCode         ia_IA
 End
 
 Language irish
@@ -503,6 +522,7 @@ Language japanese-cjk
        LangCode        ja_JP
 End
 
+# not yet supported by polyglossia
 Language kazakh
        GuiName         "Kazakh"
        BabelName       kazakh
@@ -510,34 +530,36 @@ Language kazakh
        LangCode        kk_KZ
 End
 
-# there is no country code for Korean because ko_KR is the same as ko_KI
 Language korean
        GuiName         "Korean"
        Encoding        euc-kr
-       LangCode        ko
+       LangCode        ko_KR
 End
 
-# Currently not supported (file format change!)
-# Language kurmanji
-#      GuiName          "Kurmanji"
-#      BabelName        kurmanji
-#      LangCode         kmr
-# End
+# not supported by babel
+Language kurmanji
+       GuiName          "Kurmanji"
+       PolyglossiaName  kurmanji
+       Encoding         utf8
+       LangCode         kmr
+End
 
-# Currently not supported (file format change!)
-# Language lao
-#      GuiName          "Lao"
-#      PolyglossiaName  lao
-#      LangCode         lo
-# End
+# not supported by babel
+Language lao
+       GuiName          "Lao"
+       PolyglossiaName  lao
+       Encoding         utf8
+       LangCode         lo_LA
+End
 
-# there is no country code for Latin because it is a dead language
+# There is no country code for Latin because it is a dead language.
+# We therefore the name of its hunspell dictionary.
 Language latin
        GuiName          "Latin"
        BabelName        latin
        PolyglossiaName  latin
        Encoding         iso8859-15
-       LangCode         la
+       LangCode         la_LA
 End
 
 # latvian must be loaded locally with babel options,
@@ -578,15 +600,17 @@ Language magyar
        LangCode         hu_HU
 End
 
-# Currently not supported (file format change!)
-# Language marathi
-#      GuiName          "Marathi"
-#      PolyglossiaName  marathi
-#      LangCode         mr
-# End
+# not supported by babel
+Language marathi
+       GuiName          "Marathi"
+       PolyglossiaName  marathi
+       Encoding         utf8
+       LangCode         mr_IN
+End
 
 # mongolian must be loaded locally with babel options,
 # not globally via class options
+# not yet supported by polyglossia
 Language mongolian
        GuiName          "Mongolian"
        BabelName        mongolian
@@ -595,6 +619,15 @@ Language mongolian
        AsBabelOptions   true
 End
 
+Language newzealand
+       GuiName          "English (New Zealand)"
+       BabelName        newzealand
+       PolyglossiaName  english
+       PolyglossiaOpts  "variant=newzealand"
+       Encoding         iso8859-15
+       LangCode         en_NZ
+End
+
 Language norsk
        GuiName          "Norwegian (Bokmaal)"
        BabelName        norsk
@@ -611,12 +644,13 @@ Language nynorsk
        LangCode         nn_NO
 End
 
-# Currently not supported (file format change!)
-# Language occitan
-#      GuiName          "Occitan"
-#      PolyglossiaName  occitan
-#      LangCode         oc
-# End
+# not supported by babel
+Language occitan
+       GuiName          "Occitan"
+       PolyglossiaName  occitan
+       Encoding         utf8
+       LangCode         oc_FR
+End
 
 # Currently not supported (file format change!)
 # Russian orthography from the Petrine orthographic reforms of
@@ -668,12 +702,13 @@ Language samin
        LangCode         se_NO
 End
 
-# Currently not supported (file format change!)
-# Language sanskrit
-#      GuiName          "Sanskrit"
-#      PolyglossiaName  sanskrit
-#      LangCode         sa
-# End
+# not supported by babel
+Language sanskrit
+       GuiName          "Sanskrit"
+       PolyglossiaName  sanskrit
+       Encoding         utf8
+       LangCode         sa_IN
+End
 
 Language scottish
        GuiName          "Scottish"
@@ -747,26 +782,29 @@ Language swedish
        LangCode         sv_SE
 End
 
-# Currently not supported (file format change!)
-# Language syriac
-#      GuiName          "Syriac"
-#      PolyglossiaName  syriac
-#      LangCode         syr
-# End
+# not supported by babel
+Language syriac
+       GuiName          "Syriac"
+       PolyglossiaName  syriac
+       Encoding         utf8
+       LangCode         syr_SY
+End
 
-# Currently not supported (file format change!)
-# Language tamil
-#      GuiName          "Tamil"
-#      PolyglossiaName  tamil
-#      LangCode         Taml
-# End
+# not supported by babel
+Language tamil
+       GuiName          "Tamil"
+       PolyglossiaName  tamil
+       Encoding         utf8
+       LangCode         ta_IN
+End
 
-# Currently not supported (file format change!)
-# Language telugu
-#      GuiName          "Telugu"
-#      PolyglossiaName  telugu
-#      LangCode         te
-# End
+# not supported by babel
+Language telugu
+       GuiName          "Telugu"
+       PolyglossiaName  telugu
+       Encoding         utf8
+       LangCode         te_IN
+End
 
 Language thai
        GuiName          "Thai"
@@ -785,6 +823,9 @@ Language turkish
        PolyglossiaName  turkish
        Encoding         iso8859-9
        LangCode         tr_TR
+       PostBabelPreamble
+       \usepackage{xkeyval}
+       EndPostBabelPreamble
 End
 
 # turkmen must be loaded locally with babel options,
@@ -814,12 +855,13 @@ Language uppersorbian
        LangCode         hsb_DE
 End
 
-# Currently not supported (file format change!)
-# Language urdu
-#      GuiName          "Urdu"
-#      PolyglossiaName  urdu
-#      LangCode         ur
-# End
+# not supported by babel
+Language urdu
+       GuiName          "Urdu"
+       PolyglossiaName  urdu
+       Encoding         utf8
+       LangCode         ur_PK
+End
 
 # vietnam must be loaded locally with babel options,
 # not globally via class options, see