RedHatAS configuration in Chinese and English

Source: Internet
Author: User
Tags i18n
[Root @ jsjzhang ~] $ Cat/etc/environment # Chinese interface configuration LANGUAGE = "zh_CN: zh: en_US: en" LC_ALL = zh_CN.UTF-8LANG = zh_CN.UTF-8GST_ID3_TAG_ENCODING = GB2312 # English interface configuration # LANGUAGE = "en_US: en "# LC_CTYPE = zh_CN.UTF-8 # LANG = en_GB.UTF-[root @ jsjzhang ~] $ Cat/etc/environment

# Chinese interface configuration
LANGUAGE = "zh_CN: zh: en_US: en"
Lc_all= zh_CN.UTF-8
LANG = zh_CN.UTF-8
Ststst_id3_tag_encoding = GB2312

# English interface configuration
# LANGUAGE = "en_US: en"
# LC_CTYPE = zh_CN.UTF-8
# LANG = en_GB.UTF-8
# Ststst_id3_tag_encoding = GBK

[Root @ jsjzhang ~] $ Cat/etc/sysconfig/i18n
LANG = "zh_CN.UTF-8"
SUPPORTED = "zh_CN.UTF-8: zh_CN: zh"
SYSFONT = "latarcyrheb-sun16"

If you only modify the/etc/environment file without modifying the/etc/sysconfig/i18n file, the startup process is still Chinese, but the Gnome environment is changed to English.

You need to configure the English language from the startup process to the Gnome environment, and enable the Fcitx Chinese Input Method to work normally in the English environment, except by modifying the/etc/environment file as above, modify the/etc/sysconfig/i18n file as follows:

[Root @ jsjzhang ~] # Vim/etc/sysconfig/i18n
# LANG = "zh_CN.UTF-8"
# SUPPORTED = "zh_CN.UTF-8: zh_CN: zh"
LANG = "en_US.UTF-8"
Zh_CN.UTF-8: zh_CN: zh: zh_CN.GBK: zh_CN.GB18030: zh_CN.GB2312"
SYSFONT = "latarcyrheb-sun16"
Related Article

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.