Home > Article > Operation and Maintenance > How to set the system language to Chinese in centos7
How to set the system language to Chinese in centos7:
Recommended tutorial: centos tutorial
1. Install Simplified Chinese language Package
yum install kde-l10n-Chinese
2. Set to Chinese
Temporary modification, the previous settings will be restored after restarting the server
LANG="zh_CN.UTF-8"
Permanent modification requires writing the configuration into the file
Method (1)
vi /etc/locale.conf
##Add the following content to the first line to set Chinese
LANG=zh_CN.UTF8
Method (2)
localectl set-locale LANG=zh_CN.UTF8
Related videos Tutorial recommendation: linux video tutorial
The above is the detailed content of How to set the system language to Chinese in centos7. For more information, please follow other related articles on the PHP Chinese website!