Home>Article>Operation and Maintenance> What should I do if Chinese is not displayed under centos system?

What should I do if Chinese is not displayed under centos system?

王林
王林 Original
2020-03-27 17:06:10 5663browse

What should I do if Chinese is not displayed under centos system?

1. View the current system language

Enter echo $LANG to view the currently used system language. Such as

What should I do if Chinese is not displayed under centos system?

(recommended tutorial:centos tutorial)

2. Check the installed language package

to see if There is a Chinese language pack. You can enter the locale command in the terminal. If there is zh cn, it means that the Chinese language has been installed.

What should I do if Chinese is not displayed under centos system?

3. If there is no Chinese language, you can download and install the Chinese language package from the Internet.

yum groupinstall chinese-support

4. Modify the system default language

Vi /etc/sysconfig/i18n

(Be careful to restart the system after changing it)

LANG="zh_CN.UTF-8"

5. Restart the system.

Recommended related video tutorials:linux video tutorial

The above is the detailed content of What should I do if Chinese is not displayed under centos system?. 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