For more information about how to change the language settings in Linux, see Change the language settings in Linux.
In Linux, the language setting and localization setting are really complicated, and garbled characters may occur from time to time.
In general, the language displayed in linux is determined by environment variables.
These environment variables include:
$ LANG/$ LANGUAGE/$ LC_CTYPE ....
You can use the locale command to view the values of these variables.
To set these variables, run the export command. For example:
# Export LANG = uc_EN
# Export LC_CTYPE = c
You can add these commands ~ /. Bash_profile file.
In addition, the file/etc/sysconfig/i18n can also be configured with language options.
The following is the modification method. you can change the default language to English:
# Modify the following three lines in vi/etc/sysconfig/i18n:
LANG = "en_US.UTF-8"
SUPPORTED = "en_US.UTF-8: en_US: en"
SYSFONT = "latarcyrheb-sun16"