How to change the Chinese language in CentOS to English

Source: Internet
Author: User
Tags character set i18n centos
Modifying the system default language in CentOS


Change the original to the Chinese environment to the English environment

Modify the i18n file

#vim/etc/sysconfig/i18n

--------------Content---------------------

Lang= "en_US. UTF-8 "

-----------------------------------------

Another way is to change the environment variable Lang

#export lang= "en_US. UTF-8 "

However, such a reboot is not, so add to the/etc/profile inside, so that a boot will run this variable.

-----------------------------Content-------------------------------

Lang= "en_US. UTF-8 "

Export PATH USER LOGNAME MAIL HOSTNAME histsize INPUTRC LANG

-------------------------------------------------------------------

Change the system language/character set of Redhat
Modify the/etc/sysconfig/i18n file, as
Lang= "en_US", Xwindow will display the English interface,
Lang= "ZH_CN. GB18030 ", Xwindow will display the Chinese interface.
There's another way.
cp/etc/sysconfig/i18n $HOME/.i18n
Vim $HOME/.i18n files, such as
Lang= "en_US", Xwindow will display the English interface,
Lang= "ZH_CN. GB18030 ", Xwindow will display the Chinese interface.
This allows you to change your personal interface language without affecting other users.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.