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

尚
Original
2020-03-30 15:51:0810983browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to fix IP in centos7Next article:How to fix IP in centos7