Detailed description of the/etc/sysconfig/i18n File

Source: Internet
Author: User
Tags i18n

Edit the/etc/sysconfig/i18n file,
Whether you have installed the Chinese version or the English version, delete the original settings and copy the following
Lang = "zh_cn.gb18030"
Supported = "zh_cn.gb18030: zh_cn: Zh: en_US.UTF-8: en_us: en"
Sysfont = "latarcyrheb-sun16"
Save, restart. OK
In this case, Chinese characters can be displayed on the Linux console,
The corresponding file in rhel5 is/usr/lib/locale/zh_cn.gb18030.

/Etc/sysconfig/i18n stores the regional language settings of the system.
The first line indicates the language environment variable settings of your current system. Here is zh_cn.gb18030
The second line indicates that the system has preset language support and the language not in the project cannot be properly displayed.
The third line defines the console terminal font, the font displayed when you log on to text is the latarcyrheb-sun16
Note:
I18n is short for internationalization. It means that there are 18 letters between I and N. It means the software is "internationalized ".
I18n supports multiple languages, but it can only be English or a selected language at the same time, such as English + Chinese, English + German, English + Korean, etc;
Original:
Lang = "zh_CN.UTF-8"
Supported = "zh_CN.UTF-8: zh_cn: ZH"
Sysfont = "latarcyrheb-sun16"

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.