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
I can confirm this for KF 5.29. Perhaps this bug should be reassigned to the frameworks-sonnet product?
I think so.