View and set the system language in Linux

Source: Internet
Author: User

View and set the system language in Linux
I. Introduction errors caused by character sets often occur in Linux systems. This article summarizes the steps for setting and modifying the system language environment. 2. Execute the following command to view the currently used system language echo $ LANG and execute the following command. Check that the Language Pack locale has zh_CN, which indicates that the Chinese language has been installed, if you do not have a chinese language, run the following command to install the chinese language package yum groupinstall chinese-support to temporarily change the language. You can enter the LANG = language name, the following LANG = "Zn_CN.UTF-8" modifies the default system language (note to restart the system after the change) echo "LANG = \" zh_CN.UTF-8 \ ">/etc/sysconfig/i18n

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.