Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After I've installed some language packs and spell checking dictionaries (I'd like to use with Firefox and OpenOffice) I've got tons of language variations installed. This makes very inconvenient to maintain dictionary additions, for example. Sometimes Firefox decides to switch to Australian, sometimes to UK dictionary, sometimes to US, etc.

For me, a Russian, English is just English, and German is just German. I think every English-speaking will understand me, may I write "color" or "colour", "dialog", or "dialogue" (I usually prefer classic UK spelling though, as a matter of a habit (as I was taught at school)). How to remove all those dialects?

share|improve this question
add comment

4 Answers

Emi Bcn from Launchpad said:

Look at /usr/share/hunspell/ and delete all files you don't need/want. It's all!!

It worked for me except just in case I went to myspell and aspell folders too and erased the ones I didn't need.

share|improve this answer
add comment

The problem is known, take look at bug 28226 and its duplicates. Feel free to vote for the bug using the "This bug affects me too" feature.

To summarize, English in Ubuntu means all variants (en-au, en-za, etc.), not just one. You could delete the individual spelling packages, myspell-en-* and hunspell-en-*, but that would also remove language-support-en, and I don't think that's what you want.

share|improve this answer
add comment

sudo apt-get install bleachbit

Then open bleachbit as a root, the first time it prompts you for the locales you want to left behind.. then, mark the corresponding checkbox under "system".

Click on "preview", then on "delete"

and that's it :)

share|improve this answer
    
Thanks, I'll try this. –  Ivan Oct 3 '10 at 20:48
    
Did it work? If yes, please accept the answer. –  Agmenor Jul 29 '11 at 13:19
    
Do not use bleachbit! A mistake can result in data loss, unwanted changes in configuration or a misbehaving desktop. –  Cumulus007 Aug 30 '12 at 8:47
add comment

To backup all non-US English dictionaries (remove --no-act after verifying what it'll do):

sudo rename --no-act 's/$/.bak/' /usr/share/hunspell/en_!(US).{aff,dic} 

Then restart your browser and only US English shows up.

In the case of languages which are redundant since the files are symlinks to the canonical language files (like fr_BE):

sudo find /usr/share/hunspell/ -type l \( -name '*.aff' -o -name '*.dic' \) -exec mv {} {}.bak \;
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.