Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For some reason I have an extra unneeded language installed on my system (more precisely, $LANGUAGE variable is ru:en_CA:en where supposed to be ru:en, and also apt tries to load addresses like precise/main Translation-en_CA).

How can I remove the unneeded en_CA language?

  • language-selector doesn't have an option to remove a language
  • localepurge doesn't help

Don't think I'm fake Dmitry Shachnev, I just had to drop my previous account…

share|improve this question
Aside, why did you have to remove your previous account? You can send an email to the team for account recovery. See the bottom of this page for the contact link. – Lekensteyn Feb 22 '12 at 15:27
up vote 1 down vote accepted

I would rather recommend using the standard GUI apps to do this. With Language Selector you can drag en_CA out of the list of languages (i.e. below the 'English' entry), and that should remove it from your LANGUAGE variable without having to manually edit system files.

You'll then need to log out and log back into your session for the changes to take effect.

share|improve this answer
Thanks, David! It's quite unobvious that it can be dragged down… – Dmitry Shachnev Feb 23 '12 at 7:59
It is indeed. Next cycle we might go with the upstream language widget and add language installation capabilities to it. – David Planella Feb 25 '12 at 9:26
sudoedit /etc/default/locale

Edit the LANGUAGE variable to remove en_CA. Then reboot.

After that you can run localepurge to remove old locale files.

share|improve this answer
Thanks, and other reader: You have to install it with sudo apt-get install localepurge – Dorian Jun 14 '13 at 8:44

Your Answer


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.