Modify the/etc/sysconfig/i18n file, such as
Lang= "en_US. UTF-8 ", Xwindow will display the English interface,
Lang= "ZH_CN. GB18030 ", Xwindow will display the Chinese interface.
There is also a way to cp/etc/sysconfig/i18n $HOME/.i18n modify $HOME/.i18n files, such as
Lang= "en_US. UTF-8 ", Xwindow will display the English interface,
Lang= "ZH_CN. GB18030 ", Xwindow will display the Chinese interface.
This will change the personal interface language without affecting other users.
The modified/etc/sysconfig/i18n file is:
The code is as follows:
Lang= "en_US. UTF-8 "
Supported= "ZH_CN. GB18030:zh_CN:zh:en_US. Utf-8:en_us:en "
Sysfont= "Latarcyrheb-sun16"
Lc_all= "en_US. UTF-8 "
Export Lc_all
Reboot after Setup or use rc.local to make it effective
or modify the. bash_profile file of the logged-on user
The code is as follows:
Export LANG=ZH_CN. GB18030
Export LANGUAGE=ZH_CN.GB18030:ZH_CN.GB2312:ZH_CN
Ubuntu
For example, the Ubuntu system language environment changed to English en_US. UTF-8:
View the current system locale, edit the configuration file, and Zh_us. UTF-8 changed to en_US. Utf-8,zh changed en
The code is as follows:
sudo nano/etc/default/locale
Lang= "en_US. UTF-8 "
Language= "En_us:en"
Centos:
Method One, the use of optical discs or the equivalent of optical media
The code is as follows:
# Mount/dev/cdrom/mnt/cdrom
# Cd/mnt/cdrom
# RPM-IVH Fonts-chinese
Method Two,
The code is as follows:
# yum Install Fonts-chinese
After installation, set the language of the system, using the desktop or character mode can be modified to include the following content can be:
The code is as follows:
The code is as follows:
Lang= "ZH_CN. GB2312 "
Language= "Zh_CN.GB18030:zh_CN.GB2312:zh_CN"
Supported= "ZH_CN. Gb18030:zh_cn. Gb2312:zh_cn. Utf-8:zh:en_us. Utf-8:en_us:en:ja_jp. Utf-8:ja_jp:ja "
Sysfont= "Lat0-sun16"
Sysfontacm= "8859-15"