Before Aliyun the above application CentOS 7 The default language is English, although said that does not have the big question to see English. Suddenly want to change the system language to Chinese how to change it.
First, use the locale command to see the language configuration. I was originally in English "en_US." UTF-8 ", change then become" ZH_CN. UTF-8 "
I. Interim SOLUTION
Use lang= "ZH_CN. UTF-8 ", this command is implemented, but will return to English when you log in again. This is not a permanent method.
Ii. Changing system parameters
If the system does not have Chinese support, you can download and install the Chinese language pack via the Internet, using the command: Yum Groupinstall chinese-support
Generally speaking on the internet is to modify the/etc/sysconfig/folder inside the i18n this file inside the parameters, but. I did not see this file under the same path as CENTOS7.
After finding data on the Internet, Centos 7 has not used/etc/sysconfig/i18n this file to do the configuration, but instead use/etc/locale.conf to do the language configuration.
Use VIM command to go in, vim/etc/locale.conf
Into the future only a simple sentence lang= "en_US." UTF-8 "This configuration, put" en_US. UTF-8 "Replace with" ZH_CN. UTF-8 "Save exit."
This is a reboot into the system, the system is also the Chinese configuration interface.
Reference articles:
Https://blog.zhengzi.me/224.html
Http://www.viblue.com/wiki/90152001.html