https://bugs.kde.org/show_bug.cgi?id=359265

            Bug ID: 359265
           Summary: Lots of "No language dictionaries for the language:
                    "foo" " messages when editing files
           Product: frameworks-ktexteditor
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: arichardson....@gmail.com

I get lots of stderr messages like

No language dictionaries for the language: "en" 
No language dictionaries for the language: "en" 
No language dictionaries for the language: "de"
No language dictionaries for the language: "de" 

whenever I open a file in Kate or KDevelop and I think also sometimes during
editing.
The error is printed in Sonnet::Loader::createSpeller() because there is only
/usr/share/hunspell/de_DE.aff, /usr/share/hunspell/de_DE.dic,
/usr/share/hunspell/en_US.aff, /usr/share/hunspell/en_US.dic, etc.

Symlinking /usr/share/hunspell/de_DE.{aff,dic} to
/usr/share/hunspell/de.{aff,dic} and the same with en_GB -> en silenced the
message, but to me it seems ktexteditor should not keep trying to open the "en"
or "de" Speller if it was not found the first time. (possibly fall back to the
first en_* and de_* file it finds? And of course similarly for other languages
that have multiple variants.

For now the symlink fixes it for me, but I think we should somehow guess the
right variant (or not have the no variant option at all for spell checking)



Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to