Ubuntu12.04 switch the Chinese system back to English

Source: Internet
Author: User
Sometimes colleagues may install Ubuntu12.04 in Chinese. It is not a poor Chinese character, but an error message or a Chinese character that cannot be found on the Internet. The following method can be used to restore the English system. 1. In the/etc/default/locale file, replace all zh_CN with en_USzh to en2. install the en_US Language Pack sudoapt-getinstalllanguage-pa.

Sometimes colleagues may accidentally install the Ubuntu 12.04 Chinese version. It is not a poor Chinese character, but an error message or a Chinese character that cannot be found on the Internet.

The following method can be used to restore the English system.

1. Replace all zh_CN with en_US in the/etc/default/locale file.

En with en

2. Install the en_US Language Pack

  1. Sudo apt-get install language-pack-en

3. Use the locale command to check

The output may have write problems. For example, LC_ALL is not set, and zh is used.

Copy the locale output result in/etc/environment and modify it as needed:

  1. LANG = en_US.UTF-8
  2. LANGUAGE = en_US: en
  3. LC_CTYPE = "en_US.UTF-8"
  4. LC_NUMERIC = "en_US.UTF-8"
  5. LC_TIME = "en_US.UTF-8"
  6. LC_COLLATE = "en_US.UTF-8"
  7. LC_MONETARY = "en_US.UTF-8"
  8. LC_MESSAGES = "en_US.UTF-8"
  9. LC_PAPER = "en_US.UTF-8"
  10. LC_NAME = "en_US.UTF-8"
  11. LC_ADDRESS = "en_US.UTF-8"
  12. LC_TELEPHONE = "en_US.UTF-8"
  13. LC_MEASUREMENT = "en_US.UTF-8"
  14. LC_IDENTIFICATION = "en_US.UTF-8"
  15. Lc_all= en_US.UTF-8
4. Restart

Check with locale. Everything is OK.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.