Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to switch from French to English.

I did:

export LANG="en_EN.UTF-8"
env-update

I appears to work, but when I open a new SSH window it remains in French!

share|improve this question
2  
This is (quite obviously) not a programming question. Voting to close and move to Super User. –  unwind Dec 11 '12 at 10:11
    
You are probably looking for ~/.bashrc, or /etc/env.d/02locale, see docs: gentoo.org/doc/en/guide-localization.xml#doc_chap2_pre1 voting for close. –  complex857 Dec 11 '12 at 10:13
add comment

migrated from stackoverflow.com Dec 11 '12 at 10:32

This question came from our site for professional and enthusiast programmers.

1 Answer

First, make sure you 'activated' the locale you want to use, edit /etc/locale.gen and uncomment the following line:

en_US.UTF-8 UTF-8.

Then, as root, you must run:

# locale-gen

You can now set the system locale by using eselect (which will create a file in env.d containing LANG="en_EN.UTF-8" and run env-update):

# eselect locale set en_US.utf8

share|improve this answer
add comment

Your Answer

 
discard

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