Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
change language display and input
06-20-2018, 10:37 AM (This post was last modified: 06-20-2018 10:37 AM by cchen.)
Post: #1
change language display and input
After installing the centos system, it by default only supports English display and input. To add Chinese support, here are the steps:

P1). if you only want to modify the language info for your own account, you can simply modify the ~/.bashrc file:
export LANG=en_US.UTF-8    #use English
#export LANG=zh_CN.GB18030     #use Chinese

P2). You can also modify the language for the whole system by adding the following lines in /etc/profile file:

English settings:

Chinese settings:

P3). go to settings -> region & language, click on language to change the language. reboot the machine afterwards.

To add an input source, follow the steps below:

P1). go to settings -> region & language, click on the "+" sign to add an input source.
P2). (optional) you can go to Devices -> Keyboard to set the keyboard shortcut of switching input language
P3). reboot the machine

Note that if you choose Chinese to be the display language, the system will prompt you to choose whether to keep the original file and directory names. It's suggested to keep original names to avoid inconsistency and mixture of languages.
Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump: