Debian changes the system language environment (Chinese to English) instance

Source: Internet
Author: User

/***********************************************************
* Author:samson
* date:08/15/2015
* Test Platform:
* GCC 4.8.2
* GNU Bash, 4.3.11 (1)-release (X86_64-PC-LINUX-GNU)
* Debian 8
* *********************************************************/

Debian under how to set language items, in the daily system installation, there will be installed in the Chinese environment, if only in the terminal to operate, will encounter the Chinese error prompts and other information displayed as garbled, this time, most of them chose to reinstall the system, however, in fact, does not use to reinstall, Just switch to the language. The following cases switch to the English environment in the Chinese environment for example:


Execute the command first:

$ sudo export lang=en_us. UTF-8


Execute at the command line:

$ sudo dpkg-reconfigure locales


Opens a Selection language window in which you select the character set entry for the English environment, in this case select en_US. UTF-8 UTF-8, that is, press the empty cells check box, the Chinese environment of the package can be directly removed, that is, find the Zh_cn.utf8 item will check box to remove the selection, now all the way to determine the installation.


Use the following command to see if the installation was successful:

$ locale-a

C

C.utf-8

Posix

en_US. UTF-8


Then, restart the system.


REF:

Https://wiki.debian.org/ChangeLanguage


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Debian changes the system language environment (Chinese to English) instance

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.