Use the following command:
Export lang= "en_US. UTF-8 "
environment variables can be modified LANG , it takes effect immediately after the change, and then becomes the original language when the system restarts
Two other ways to modify a language:
1. Configure the following files:
vi/etc/sysconfig/i18n
The original configuration is as follows:
Lang= "ZH_CN. UTF-8 "
Revision changed to
Lang= "en_US. UTF-8 "
It will not take effect immediately after it is saved, but will take effect after reboot.
2. Modify The default locale variable values for the CentOS runtime environment:
Vi/etc/profile
Find Export statement, adding in front of the statement
Lang= "en_US. UTF-8 "
again in Export Append later LANG
Export PATH USER LOGNAME MAIL HOSTNAME histsize INPUTRC LANG
Save Configuration
Reference:
Http://www.360doc.com/content/13/0218/22/6496277_266442030.shtml
?
Post Scripts:
can also be in the file /etc/sysconfig/i18n Delete the original and add the following statement:
Lang= "ZH_CN. GB18030 "
Supported= "Zh_cn,gb18030:zh_cn:zh:en_us. Utf-8:en_us:en "
Sysfont= "Latarcyrheb-sun16"
and then save them, Linux The console can be real Chinese.
/etc/sysconfig/i18n This file is stored in the system's regional Settings
The first line indicates the locale variable setting of your current system
The second line indicates that the system has preset language support and the language does not display correctly in the project
The third line defines the console terminal font, which is the actual font when the text is logged in.
i18n is a Internationalization in the form of abbreviations, meaning I and the N between there - Letters, no wonder the name is so strange that it means the internationalization of the software.
i18n multiple languages are supported, but only in English and one selected language at a time.
Reference:
Http://linux.chinaunix.net/techdoc/system/2009/07/21/1125249.shtml
How CentOS modifies the system language