Operating System - Linux
1827807 Members
2278 Online
109969 Solutions
New Discussion

change the language locale

 
SOLVED
Go to solution
peterchu
Super Advisor

change the language locale

Now We have set to the language as "us" , how to change it to other language ? thx.
5 REPLIES 5
Alexander Chuzhoy
Honored Contributor
Solution

Re: change the language locale

you have to set the variable like this:

LANG=us
export LANG



insert two lines to the .bashrc and you're set
peterchu
Super Advisor

Re: change the language locale

thx Alex 's reply .
if I want to change the system 's language locale , what can i do ? thx.
Alexander Chuzhoy
Honored Contributor

Re: change the language locale

do the mentioned above...
to check what the language is set :
echo $LANG
Kodjo Agbenu
Honored Contributor

Re: change the language locale

Hi,

On Red Hat, check /etc/sysconfig/i18n.

Good luck.

Kodjo
Learn and explain...
peterchu
Super Advisor

Re: change the language locale

thx Kodjo Agbenu,

one more question
I modified the language setting to the file , do I need to re-start the server ? thx in advance.