Home > Operation and Maintenance > CentOS > How to set the system language to Chinese in centos7

How to set the system language to Chinese in centos7

Release: 2020-03-30 15:51:08
Original
11025 people have browsed it

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
Copy after login

2. Set to Chinese

Temporary modification, the previous settings will be restored after restarting the server

LANG="zh_CN.UTF-8"
Copy after login

Permanent modification requires writing the configuration into the file

Method (1)

vi /etc/locale.conf
Copy after login

##Add the following content to the first line to set Chinese

LANG=zh_CN.UTF8
Copy after login

Method (2)

localectl  set-locale LANG=zh_CN.UTF8
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template