Linux/etc/sysconfig/i18n file analysis

Source: Internet
Author: User
Edit the/etc/sysconfig/i18n file. delete the original settings, copy the following LANG & quot; zh_CN.GB18030 & quot; SUPPORTED & quot; zh_CN.GB18030: zh_CN: zh: en_US.UTF-8: en_US: en & quot; SYSFONT & q
Edit the/etc/sysconfig/i18n file. delete the original settings, 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. Now, Chinese characters can be displayed on the linux console, in RHEL5, the corresponding file is/usr/lib/locale/zh_CN.gb18030/etc/sysconfig/i18n. here, the first line of system Region language settings indicates the language environment of your current system. variable settings, here is zh_CN.GB18030 second line shows that the system preset those language support, not in the project language cannot normally display the third line definition console terminal font, you text login to display the font is the latarcyrheb-sun16 note: I18N is the abbreviation form of 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. The original: LANG = "zh_CN.UTF-8" SUPPORTED = "zh_CN.UTF-8: zh_CN: zh" SYSFONT = "latarcyrheb-sun16" this article is from the guest network
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: 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.