View All locale languages
[[Email protected] ~] # Locale-A ...... protected [[email protected]~] #
1. permanent effect-set the system locale language to English environment, if you want to set to Chinese, Lang set to zh_CN.UTF-8
[[Email protected] ~] #VI/Etc/sysconfig/I18n Lang="En_US.UTF-8"Sysfont="Latarcyrheb-sun16"
/Etc/sysconfig/i18n the region language settings of the system are stored here, And i18n is the abbreviation of internationalization, Which is exactly 18 letters between I and N.
The first line indicates your current system's language environment variable settings, here is the en_US.UTF-8
The second line defines the console terminal font, the font displayed when you log on to text is the latarcyrheb-sun16
2. Temporarily effective -- exit this logon and immediately expire
[[Email protected] ~] # Export lang = en_us.utf-8
Modify the default centos Language