Bash language variables

A current language query
locale
Query the current system language
LANG: defines the system subject variable
LC_ALL: variables that define the overall language family
echo $LONG
View the current language of the system
locale -a|more
See all languages ​​supported by Linux.
2. The default language of the query system
[root@localhost ~]# cat /etc/sysconfig/i18n
The language to use at the next boot
Three Linux Chinese support
As a prerequisite, correctly install Chinese fonts and Chinese language system.
If there is a graphical interface, it can correctly support Chinese display.
If you use a third-party remote attack, as long as the language system is set correctly, it can support Chinese display
If you use a pure character interface, you must use a third-party plugin (such as zhcon, etc.)
 
 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326182288&siteId=291194637
Recommended