Modify the system default language in CentOS
Change the original Chinese environment to an English environment
Modify the i18n File
# Vi/etc/sysconfig/i18n
LANG = "en_US.UTF-8"
Another way is to change the environment variable LANG.
# Export LANG = "en_US.UTF-8"
However, this is not a new start, so you need to add it to/etc/profile, so that the variable will run when the machine is started.
LANG = "en_US.UTF-8"
Export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC LANG
Change the redhat System Language/Character Set
Modify the/etc/sysconfig/i18n file, as shown in figure
LANG = "en_US", xwindow will display the English interface,
LANG = "zh_CN.GB18030", xwindow displays the Chinese interface.
Another method
Cp/etc/sysconfig/i18n $ HOME/. i18n
Vi $ HOME/. i18n file, such
LANG = "en_US", xwindow will display the English interface,
LANG = "zh_CN.GB18030", xwindow displays the Chinese interface.
In this way, the user interface language can be changed without affecting other users.