If you change the Locale to Chinese, the system will not automatically install Chinese fonts. The direct effect is that many information of the system is displayed in Chinese, but because no fonts are installed, all of them become blocks, so you don't know what the content of the information is. As a system installation tool, I think there is a problem, Because this will directly cause system unavailability, Debian based Raspbian has the same problem.
So if you accidentally set the Locale of the system to zh_CN.UTF-8 during the initial setting, when you enter the Raspbian image interface, you will be immediately dumbfounded and do not know what the icons and menus are, because they are all blocks. Therefore, it is recommended that the locale should try to use en_US.UTF-8 or en_GB for initial settings UTF-8。

Because foreign sources are too slow to use in China, we switch to domestic sources (requiring root permissions):
1. Use root permission: sudo su
two sudo rm -rf /etc/apt/sources.list. d Delete File
three sudo nano /etc/apt/sources.list Edit Source
4. Domestic source:

 deb  http://mirrors.neusoft.edu.cn/raspbian/raspbian/  wheezy main contrib non-free rpi deb-src  http://mirrors.neusoft.edu.cn/raspbian/raspbian/  wheezy main contrib non-free rpi deb  http://mirrors.ustc.edu.cn/raspbian/raspbian/  wheezy main contrib non-free rpi deb-src  http://mirrors.ustc.edu.cn/raspbian/raspbian/  wheezy main contrib non-free rpi

5. Ctrl+O Save, Ctrl+X Exit, and then sudo apt-get update to update

After completion, double click the computer display icon on the desktop, and enter the following when a prompt appears:
sudo apt-get install ttf-wqy-zenhei

Wenquanyi's open source Chinese font will be installed here to pay tribute to Wenquanyi. It seems that it is the only open source Chinese font library. Guo Jia has the money to build Confucius Institutes, but he never has the money to build a relatively complete open source Chinese font.

Chinese can be displayed. What about input? It has long been available under Linux, called SCIM (Smart Common Input Method), so just enter:
sudo apt-get install scim-pinyin

The Pinyin IME will be installed. After the installation is completed, you can directly enter scim for activation. It will start automatically next time. The shortcut key is also Ctrl+space. Or directly click the icon in the lower right corner to select.
Then run:
sudo raspi-config
Then select change_locale, and select zh_CN.UTF-8 in Default locale for the system environment:. Then restart the machine and find that the entire environment has become Chinese.

Keyboard definition
Select the default value on the screen in front of configure_keyboard: Generic 105 key (Intl) PC, but when the keyboard layout is:, English (UK) is displayed. Select Other, and then select English (US) in it. Otherwise, some symbols of the keyboard will be incorrect or transposed, such as quotation marks "and @ symbols, the # symbol will become pound symbol, and so on. You can select the default values in the next two screens. Here you go: Use Control+Alt+Backspace to terminate the X server? If Yes is selected, it means that the X Server can be terminated by using this. It can be used when the entire X-Window dies.

This LXDE is in Chinese.
Change the command line back to English Method: modify/etc/profile, add LANG=en_US.UTF-8

Last modification: November 17, 2017
If you think my article is useful to you, please feel free to appreciate it