How to change the Linux system to Chinese version (GO)

Source: Internet
Author: User

How to change the Linux system to Chinese version after installation? Today to introduce to you the Linux system to the Chinese version of the method, I hope to help everyone!

Here are four ways to change to the Chinese version of the Linux system, and look at:

Method 1: Write Environment variables

echo "Export lang=" ZH_CN. UTF8 "" >>/etc/profile

Source/etc/profile

method 2:system-config-language, will open a graphical interface, the first Chinese can be .

Note :

Locale-a See what kind of character set, if there is Chinese, change to Chinese character set can be

Modify the/root/.bash_profile file to add export LANG=ZH_CN. GB18030

For other users, you must also modify the file accordingly

When using this method putty can display Chinese, but the desktop system is in English, and all the pages in Chinese display or garbled

Method 3: Modify the/etc/sysconfig/i18n file

#LANG = "en_US. UTF-8 "

#SUPPORTED = "en_US. Utf-8:en_us:en "

#SYSFONT = "Latarcyrheb-sun16"

Switch

Lang= "ZH_CN. GB18030 "

Language= "Zh_CN.GB18030:zh_CN.GB2312:zh_CN"

Supported= "Zh_CN.GB18030:zh_CN:zh"

Sysfont= "Lat0-sun16"

Sysfontacm= "8859-15"

Method 4: The system installation is not installed in Chinese support, resulting in the subsequent application of Chinese block garbled phenomenon

1, install the Chinese package:

#yum-y groupinstall chinese-support Install all packages related to Chinese support

2. Modify character encoding configuration file

vim/etc/sysconfig/i18n

The following changes are included:

Lang= "ZH_CN. UTF-8 "

Supported= "Zh_CN:zh:en_US. Utf-8:en_us:en:zh_cn. GB18030 "

Sysfont= "Latarcyrheb-sun16"

3. Finally restart the server:

Reboot

By either of these methods, you can change the Linux system to the Chinese version.

Http://www.uzzf.com/news/7505.html

How to change the Linux system to Chinese version (GO)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.