I have a 22.10 Ubuntu system, system language is German. How to add German to gnome text editor? I have 5 flavors of English language, four of them I don't want to see, but I can't find any possibility to add some other languages for the spell checking.
3 Answers
Ok, somehow gnome-text-editor uses enchant for spell checking. Enchant looks for another spell checkers on system like hunspell, aspell, etc. The system is scanned for dictionaries and if they are present use them.
So I had to install hunspell-de-de to get German language into gnome-text-editor. That was not so difficult.
- 475
Author of Text Editor here.
Spell checking in GNOME Text Editor is provided by "Enchant 2". Enchant is itself an aggregator of spell-checking back-ends.
It supports a number of back-ends such as Hunspell, Aspell and others. So you'll want to install German support for one of those engines and Text Editor will pick it up on the next restart.
I don't use Ubuntu, so I can't give you the exact names of the packages you'll need to install.
- 31
- 2
-
It would be nice, if your text editor could automatically recognize an YAML header in markdown like a
lang=en-USto set a language for spell-check! – Vladimir S. Jan 13 '25 at 07:29 -
@vwduder your text editor can only spell check one language at a time, this is very unusual behavior, all other apps spell check all languages at the same time. – scorpio1441 Feb 28 '25 at 21:18
I had to install hunspell-pt-pt to get the Portuguese language.
sudo apt install hunspell-pt-pt
It's now working.
- 150
sudo apt install hunspell-pt-br(I wanted Brazilian Portuguese, but you can see all available dictionaries withapt search '^hunspell-') then restarting gnome-text-editor did the trick. Thanks! – Alexandre Schmidt Aug 03 '24 at 23:49