Ubuntu – Missing dictionaries for spell-checking with kate and kile

14.10katekilespell-checkingunity

Spell-checking works in Kate and Kile, but only for English texts. It is not possible to select another language and dictionary.

The selection of the dict is available for Kate/Kile at:
Settings -> Configure Kate/Kile… -> Editor Component -> Editing

The Editing Options contains a tab named "Spellcheck". At the top is a drop down menu named "Default language". The menu is nearly empty. It contains two entries one blank and ellipse "()".

Starting Kate from the command line shows many messages:
Enchant dict for "en"

Selecting the "()" as default language exchanges the "en" with "en_ZA".

I installed systemsettings from KDE (I am using ubuntu-desktop/unity). Selecting Locale -> Spell Checker contains the same drop down menu as it is available from Kate and Kile.

I suppose that the problem was introduced during one many upgrades in the past. I installed the system some years ago …

Any ideas how I get a German language and dictionary?

Using gedit the German dict is selectable.

These are my installed dictionaries/language packages:

ii  aspell-de                20120607-1                        all   German dictionary for aspell
ii  hunspell-de-de           20120607-1                        all   German dictionary for hunspell
ii  hyphen-de                1:3.3.0-2ubuntu3                  all   German hyphenation patterns for LibreOffice/OpenOffice.org
ii  kde-l10n-de              4:4.11.5-0ubuntu0.1               all   German (de) localization for KDE
ii  language-pack-de         1:13.10+20131012                  all   translation updates for language German
ii  language-pack-gnome-de   1:13.10+20131012                  all   GNOME translation updates for language German

System is an up-to-date Ubuntu 13.10 Saucy, 64-bit. I am still facing this problem after update to 14.04 Trusty. This is still true on 14.10 Utopic.

Any ideas about how to get the German dictionary into Kate?

Best Answer

Just install for example hunspell-de-de package, restart Kate and you should be good to go, German added to spelling dictionaries.

sudo apt-get install hunspell-de-de

I used muon package manager myself.