Take the 2-minute tour ×

I am trying to switch from French to English.

I did:

export LANG="en_EN.UTF-8"

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

share|improve this question
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

