-1

I am using Centos 5.x. I have set the system-config-language in /etc/sysconfig/i18n file as

LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"

But when i type echo $LANG it shows as :

fr_FR.UTF_8

Please let me know where can i change the settings so that i will get English language as default.

Thanks Rajasekhar

user1770589
  • 375
  • 1
  • 6
  • 19
  • 1
    You have made the configuration, but not loaded it. Try restarting the system after making the changes, if you can. – skrtbhtngr Jun 08 '15 at 05:35
  • @skrtbhtngr Ofcourse I have done that boss, still problem is there. – user1770589 Jun 08 '15 at 06:14
  • Probably something in your personal `.bashrc` or similar is overriding the global setting. See e.g. http://unix.stackexchange.com/questions/36762/where-is-the-system-profile-that-gets-sourced-at-login-on-centos-5-8 for some pointers to files to look at. – tripleee Jun 08 '15 at 09:43
  • @tripleee thanks for the reply, it worked.Make it as answer i will mark it. – user1770589 Jun 08 '15 at 10:12
  • Without proper diagnostics, this is pure guesswork. This is not a programming question, anyway. But feel free to post a detailed description of how you fixed the problem as an answer yourself, and accept it so that this question no longer comes up as unresolved. (You may have to wait before you can click the big friendly check mark to accept it.) – tripleee Jun 08 '15 at 10:30

1 Answers1

0

Try running the source command on the file:

source /etc/sysconfig/i18n

skrtbhtngr
  • 2,223
  • 23
  • 29