]> git.lyx.org Git - features.git/commitdiff
languages: also for trunk: add missing language codes, fixes bug #8183
authorUwe Stöhr <uwestoehr@lyx.org>
Mon, 4 Jun 2012 20:33:05 +0000 (22:33 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Mon, 4 Jun 2012 20:33:05 +0000 (22:33 +0200)
lib/languages
status.20x

index dac019c4f13f2db54496fa12379e2a6a661bbc24..30d802ff2e670536ed113c3f029c410942a861f8 100644 (file)
@@ -310,13 +310,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 +330,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}
@@ -460,13 +460,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
@@ -510,11 +511,10 @@ 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!)
@@ -531,13 +531,14 @@ End
 #      LangCode         lo
 # 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,
index 41de7807dc5c940eab38f537f06138a977ab4bda..5a09fe889ff72918c9fb3c367da9752847ac9cd2 100644 (file)
@@ -231,6 +231,9 @@ What's new
 
 * DOCUMENTATION AND LOCALIZATION
 
+- Enable spell-checking for the languages Esperanto, Farsi, Interlingua,
+  Korean and Latin (bug 8183).
+
 - Fixed problem that the example file knitr.lyx could not be opened.
 
 - Re-enable the compilation of the modernCV.lyx example file (bug 8064).