Saturday, November 27, 2010

Linux operating system to change language settings for the Shell command

The language setting in Linux and localization settings is really a very complicated thing, occasionally be garbled.

In General, what is the language displayed in linux is through the environment variable to confirm. These environment variables are: $ LANGUAGE/LANG/$ ... $ LC_CTYPE You can view these through the locale command variable value. To set these variables, you can use the export command. Example: # exportLANG = uc_EN # exportLC_CTYPE = c to these commands can be added to ~/.bash_profilebest product for hair loss file so that the default configuration. In addition, files can also be configured/etc/sysconfig/i18n language options. The following is the modified methods, you can set the default language to Englis: # vi/etc/sysconfig/i18n modify the following three lines: LANG = "en_US.UTF-8" SUPPORTED = "en_US.UTF-8: en_US: SYSFONT =" en "latarcyrheb-sun16"

No comments:

Post a Comment