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.

Ubuntu, where is the Locales configuration file. I want to leave en_us_utf8 and remove others like en_GB or en_zimbabwe. Is it the locale-archive file /usr/lib/locale, because I can't open this file.

share|improve this question
    
whats on your engine desktop, server, something custom? –  Josh Sep 19 '13 at 16:00
    
What file are you trying to open? What is the output of writing locale in your terminal? –  Braiam Sep 19 '13 at 16:37

2 Answers 2

If you like to remove dispensable language packs from your installation just enter:

sudo apt-get install localepurge

Now you see a debconf interface that asks you to select all languages like to keep.

This may take a while but is the easiest solution for newbies.

share|improve this answer

You can reconfigure your language with sudo dpkg-reconfigure locales, then answer the questions and let it regenerate the language cache.

On a side note: you shouldn't be tampering with languages manually, they're waaay too easy to break.

share|improve this answer

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.