Page 1 of 1

[Tip] Add languages to the spell check utility (eg in Gedit)

Posted: Mon May 09, 2011 7:36 am
by TinyTony
Hey, everybody,

You may have noticed that even with the good locales and the Gnome interface being all translated in your language, the spell checker utility included in various software (Gedit, Pidgin, Bluefish, etc) only supports english. Here is how to add languages to this spell checker - orthograph utility.

The spell checker utility is aspell. More precisely, software as Gedit depends on libenchant1c2a (Enchant unifies spell checking software in Linux), which depends on libaspell15, wich depends on aspell. For other software as Pidgin, there is another level of abstraction : they use the libgtkspell0 library, which depends on libenchant1c2a, etc.

To add new languages and dictionnaries for spell checking, just use your favorite package manager (as Synaptic or apt-get) to install the package aspell-yourlanguage. Example :

Code: Select all

sudo apt-get install aspell-fr
Hope that can help !

Re: [Tip] Add languages to the spell check utility (eg in Ge

Posted: Tue May 10, 2011 4:50 am
by TinyTony
Now I need help... I noticed that the spell checker marks proper nouns, starting with an uppercase, as miscorrect, so there are a lot of false positives. This is the case in Lyx, Gedit, Bluefish, etc.Do you know how to change this behaviour and make it ignore words starting with an uppercase ?