Ubuntu – Choose Languages for Spellcheck

languagespell-checking

I speak a number of languages and switch between them all the time. The user interface usually stays set to English and I switch the spell-check to the appropriate language. To this end, I went to "Language Support" in Ubuntu's system settings and installed all the required languages.

This works great, except for one annoyance. Every single variant of the languages I chose appear in the list when I want to switch languages! For instance, there are like half a dozen English variants: Australia, Canada, South Africa, United Kingdom, United States. The same is true for Dutch, French or German, and Spanish is even worse. This seems to happen everywhere I can choose a language for spell-check: Firefox, gedit, Libre Office, etc. Kind of cumbersome when I have to scroll through that LONG list several times a day!

How could I possibly limit the number of language variants in those lists? I usually only need one variant for each language: United States for English, Flemish for Dutch, Belgian for French, Spain for Spanish, etc.

Thanks for your input.

Best Answer

This is not a solution, but an attempt to bring some light on the topic.

There does not exist as many dictionaries for spellchecking as the number of options showed. If you for example run the command

ls /usr/share/hunspell

you see that the folder includes quite a few symlinks. Those symlinks have been installed by the various packages which install the dictionaries, and I suppose the reason is that the applications should be able to find a suitable dictionary based on the current locale (the value of the LANG variable).

It would be possible to limit the number of variants by deleting symlinks in the just mentioned folder and some other related folders. But it's indeed not a good idea, since they will be reinstalled next time respective package is updated.

I don't think there is an easy solution to this issue.

Related Question