Debian System Modification Language set to English

Source: Internet
Author: User
Tags locale

Debian System Modification Language set to EnglishJune 19, 2012 / East Dongdong /3 Reviews

Today installed a Debian virtual machine, when the installation was originally wanted to choose English, but the time zone can only use the United States time zone, so the Chinese language, no prompt to choose the time zone.

Found in the shell Chinese or garbled, so resolutely to change the language into English. Open file Locale

sudo vi/etc/default/locale

Show

Lang= "ZH_CN. UTF-8 "language=" Zh_cn:zh "

Change its contents to

Lang= "en_US. UTF-8 "language=" En_us:en "

Then restart the reboot machine.

In the process of modification, VI has forgotten almost, resulting in a very tangled change, reluctantly to modify the completion. Later, I want to install a vim for Debian, which indicates that the location source could not be found. Later, after running Apt-get update, you can install it.

——— –update on June 22--–

Although the previous ability to change the Chinese language to English, but in the use of locale commands always appear

Locale:cannot set LC_CTYPE to default locale:no such file or Directorylocale:cannot set Lc_messages to default locale: No such file or Directorylocale:cannot set Lc_all to default locale:no such file or directory

Ubuntu wiki Locale Modification is said to be because en-US.UTF-8 there is no installation. Learned to pass

Dpkg-reconfigure locales

Modify, select En-us.utf-8 in the options to select by space. Then simply press the OK button. This is the correct system to change the Chinese environment system into an English-speaking environment.

Reference:debian Locale Description

Debian System Modification Language set to English

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.