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
- 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:
- LANG = en_US.UTF-8
- LANGUAGE = en_US: en
- LC_CTYPE = "en_US.UTF-8"
- LC_NUMERIC = "en_US.UTF-8"
- LC_TIME = "en_US.UTF-8"
- LC_COLLATE = "en_US.UTF-8"
- LC_MONETARY = "en_US.UTF-8"
- LC_MESSAGES = "en_US.UTF-8"
- LC_PAPER = "en_US.UTF-8"
- LC_NAME = "en_US.UTF-8"
- LC_ADDRESS = "en_US.UTF-8"
- LC_TELEPHONE = "en_US.UTF-8"
- LC_MEASUREMENT = "en_US.UTF-8"
- LC_IDENTIFICATION = "en_US.UTF-8"
- 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