Chinese Settings in CentOS 7 System

Time:2019-6-30

I. Viewing System Language

locale

LANG=zh_CN.utf8LANG=zh_CN.utf8 stands for installed simplified Chinese
LC_CTYPE=”zh_CN.utf8″
LC_NUMERIC=”zh_CN.utf8″
LC_TIME=”zh_CN.utf8″
LC_COLLATE=”zh_CN.utf8″
LC_MONETARY=”zh_CN.utf8″
LC_MESSAGES=”zh_CN.utf8″
LC_PAPER=”zh_CN.utf8″
LC_NAME=”zh_CN.utf8″
LC_ADDRESS=”zh_CN.utf8″
LC_TELEPHONE=”zh_CN.utf8″
LC_MEASUREMENT=”zh_CN.utf8″
LC_IDENTIFICATION=”zh_CN.utf8″
LC_ALL=


2. Viewing System Language Pack

locale -a

Chinese Settings in CentOS 7 System

There are zh_XX for Chinese language packages, and zh_CN for simplified Chinese.

If not, download it.

yum install kde-l10n-Chinese

Setting up System Language

vim /etc/locale.conf

Change LANG= “en_US.UTF-8” to LANG= “zh_CN.UTF-8”
Then restartreboot

OK!

Recommended Today

Ios15 adaptation

Need immediate modification 1. Uinavigationbar, uitoolbar and uitabbar styles Uinavigationbar, uitoolbar and uitabbar need to use uibarappearance APIs to set colors. // UINavigationBar let navigationBarAppearance = UINavigationBarAppearance() navigationBarAppearance.backgroundColor = .red navigationController?.navigationBar.scrollEdgeAppearance = navigationBarAppearance navigationController?.navigationBar.standardAppearance = navigationBarAppearance // UIToolbar let toolBarAppearance = UIToolbarAppearance() toolBarAppearance.backgroundColor = .blue navigationController?.toolbar.scrollEdgeAppearance = toolBarAppearance navigationController?.toolbar.standardAppearance = toolBarAppearance // UITabBar let tabBarAppearance […]