Super User is a question and answer site for computer enthusiasts and power users. 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

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

migrated from Dec 11 '12 at 10:32

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

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: voting for close. – complex857 Dec 11 '12 at 10:13

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .