Linux. Modify environment variables such as Lang in/etc/sysconfig/i18n in the default language

Source: Internet
Author: User
Tags i18n
/Etc/ Sysconfig/i18n

Controls the system font settings. The language variables are used in/etc/profile. d/lang. Sh. An example i18n file:

LANG="en_US"LC_ALL="en_US"LINGUAS="en_US"

Options:

  • Lang = set locale for all categories, can be any two letter ISO language code.
  • Lc_ctype = localedata configuration for classification and conversion of characters.
  • Lc_collate = localedata configuration for collation (sort order) of strings.
  • Lc_messages = localedata configuration for translation of yes and no messages.
  • Lc_numeric = localedata configuration for non-monetary numeric data.
  • Lc_monetary = localedata configuration for monetary data.
  • Lc_time = localedata configuration for date and time.
  • Lc_all = localedata configuration overriding all of the above.
  • Language = Can Be A: separated list of ISO language codes.
  • Linguas = can be a' separated list of ISO language codes.
  • Sysfont = any font that is legal when used as/usr/bin/lelechars-F $ sysfont... (see console-Tools Package for lelechars command)
  • Unimap = any SFM (screen font map, formerly called Unicode mapping table-see consolechars (8 ))

    /Usr/bin/consolechars-F $ sysfont -- SFM $ unimap

  • Sysfontacm = any ACM (Application charset map-see consolechars (8 ))

    /Usr/bin/consolechars-F $ sysfont -- ACM $ sysfontacm

    The above is used by the/sbin/setsysfont command (which is run by RC. sysinit at boot time .)

#VI/etc/sysconfig/i18n
Lang = "zh_cn.gb18030"
Language = "zh_cn.gb18030: zh_cn.gb2312: zh_cn"
Supported = "zh_cn.gb18030: zh_cn: Zh: en_US.UTF-8: en_us: en"
Sysfont = "lat0-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.