Linux Centos cambiar variable Locale

En todo el sistema:
please open the file /etc/environment and add the lines below:
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8


Solo para el la consola actual:

  • o see list of available locales type following in terminal
  • Now to change the locale type

locale -a
export LANG=<some_locale>
For Example to change to Japanese locale do the following
export LANG=ja_JP.utf8
Type locale in terminal to confirm the change.
This sets the locale to Japanese for CURRENT CONSOLE only.
Applications started from this console will open in Japanese locale, If you open a new console or start application from somewhere else then it will open in default system Language.


Comentarios

Entradas populares