Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to change the system language to simplified Chinese by centos7

Shulou Source: shulou.com Published: 2022-06-01 14:01:45 11月15日 Update

This article mainly introduces "how to modify the system language to simplified Chinese by centos7". In daily operation, I believe that many people have doubts about how to modify the system language into simplified Chinese by centos7. The editor has consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the doubts about "how to modify the system language to simplified Chinese by centos7". Next, please follow the editor to study!

When you install your own system, you can generally customize and choose the system language. But cloud servers are generally installed images, the default system language is English, and there may be computer words that beginners don't understand. Here is a brief description of how centos7 changes the system language to Chinese.

Modify centos7 system language

View the current language pack

Locale

Check that the system has a language pack

Locale-a

(zh_CN.UTF-8 is in simplified Chinese. If there is no zh_CN.UTF-8, install the language pack. If it exists, you can set it directly.)

Install simplified Chinese language Pack

Yum install kde-l10n-Chinese

Set to Chinese

Temporary modification, the previous settings will be restored after restarting the server

LANG= "zh_CN.UTF-8" # modified to Chinese LANG= "en_US.UTF-8" # modified to English

Permanent modification requires the configuration to be written into the file

Method (1)

Vi / etc/locale.conf # # add the following to the first line and set the Chinese .UTF8

Method (2)

Localectl set-locale.UTF8 at this point, the study of "how to modify the system language to simplified Chinese by centos7" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: Language system Chinese learning method more server English help service practical next line cloud content beginner file article theory knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Docker Redmi OPPO Reno MariaDB