Although the language of the terminal is currently Japanese, how can it be made permanent English display?
Or, because I am low in both Linux and English, is it better to leave it as my mother tongue?
0. The following locale examples are taken from Triditional Chinese system :
command : locale
LANG=zh_TW.UTF-8
LANGUAGE=zh_TW:en_US:en
LC_CTYPE="zh_TW.UTF-8"
LC_NUMERIC=zh_TW.UTF-8
LC_TIME=zh_TW.UTF-8
LC_COLLATE="zh_TW.UTF-8"
LC_MONETARY=zh_TW.UTF-8
LC_MESSAGES="zh_TW.UTF-8"
LC_PAPER=zh_TW.UTF-8
LC_NAME=zh_TW.UTF-8
LC_ADDRESS=zh_TW.UTF-8
LC_TELEPHONE=zh_TW.UTF-8
LC_MEASUREMENT=zh_TW.UTF-8
LC_IDENTIFICATION=zh_TW.UTF-8
LC_ALL=
0-1. Refer to 4. for reference
for the meaning of the above locale variables.
1. For
per command usage only :
1-1. for
English display :
LANG=en_US.UTF-8 command
1-1-1. for example
LANG=en_US.UTF-8 wine xxxxxxx.exe
1-2. for
Japanese display :
LANG=ja_JP.UTF-8 command
1-2-1. for example
LANG=ja_JP.UTF-8 wine xxxxxxx.exe
1-3. You may change LANG to another locale variable to see the different effect.
2. For
per session usage only :
2-1. for
English display :
Copy some of the following commands and paste them into terminal then execute them :
for examples
export LANG=en_US.UTF-8
export LANGUAGE=en_US:en_US:en
export LC_CTYPE="en_US.UTF-8"
export LC_NUMERIC=en_US.UTF-8
export LC_TIME=en_US.UTF-8
export LC_COLLATE="en_US.UTF-8"
export LC_MONETARY=en_US.UTF-8
export LC_MESSAGES="en_US.UTF-8"
export LC_PAPER=en_US.UTF-8
export LC_NAME=en_US.UTF-8
export LC_ADDRESS=en_US.UTF-8
export LC_TELEPHONE=en_US.UTF-8
export LC_MEASUREMENT=en_US.UTF-8
export LC_IDENTIFICATION=en_US.UTF-8
export LC_ALL=en_US.UTF-8
2-1-1. Then run any command from your terminal and look at the effect.
2-2. for
Japanese display :
Copy some of the following commands and paste them into terminal thja execute them :
for examples
export LANG=ja_JP.UTF-8
export LANGUAGE=ja_JP:ja_JP:ja
export LC_CTYPE="ja_JP.UTF-8"
export LC_NUMERIC=ja_JP.UTF-8
export LC_TIME=ja_JP.UTF-8
export LC_COLLATE="ja_JP.UTF-8"
export LC_MONETARY=ja_JP.UTF-8
export LC_MESSAGES="ja_JP.UTF-8"
export LC_PAPER=ja_JP.UTF-8
export LC_NAME=ja_JP.UTF-8
export LC_ADDRESS=ja_JP.UTF-8
export LC_TELEPHONE=ja_JP.UTF-8
export LC_MEASUREMjaT=ja_JP.UTF-8
export LC_IDjaTIFICATION=ja_JP.UTF-8
export LC_ALL=ja_JP.UTF-8
2-2-1. Then run any command from your terminal and look at the effect.
3. for
permanent usage :
3-1. for
English display :
Add some of the following commands at the bottom line of the file ~/.bashrc.
for examples
export LANG=en_US.UTF-8
export LANGUAGE=en_US:en_US:en
export LC_CTYPE="en_US.UTF-8"
export LC_NUMERIC=en_US.UTF-8
export LC_TIME=en_US.UTF-8
export LC_COLLATE="en_US.UTF-8"
export LC_MONETARY=en_US.UTF-8
export LC_MESSAGES="en_US.UTF-8"
export LC_PAPER=en_US.UTF-8
export LC_NAME=en_US.UTF-8
export LC_ADDRESS=en_US.UTF-8
export LC_TELEPHONE=en_US.UTF-8
export LC_MEASUREMENT=en_US.UTF-8
export LC_IDENTIFICATION=en_US.UTF-8
export LC_ALL=en_US.UTF-8
3-1-1. logout then login again.
3-1-2. Then run any command from your terminal and look at the effect.
3-2. for
Japanese display :
Add some of the following commands at the bottom line of the file ~/.bashrc.
for examples
export LANG=ja_JP.UTF-8
export LANGUAGE=ja_JP:ja_JP:ja
export LC_CTYPE="ja_JP.UTF-8"
export LC_NUMERIC=ja_JP.UTF-8
export LC_TIME=ja_JP.UTF-8
export LC_COLLATE="ja_JP.UTF-8"
export LC_MONETARY=ja_JP.UTF-8
export LC_MESSAGES="ja_JP.UTF-8"
export LC_PAPER=ja_JP.UTF-8
export LC_NAME=ja_JP.UTF-8
export LC_ADDRESS=ja_JP.UTF-8
export LC_TELEPHONE=ja_JP.UTF-8
export LC_MEASUREMjaT=ja_JP.UTF-8
export LC_IDjaTIFICATION=ja_JP.UTF-8
export LC_ALL=ja_JP.UTF-8
3-2-1. logout then login again.
3-2-2. Then run any command from your terminal and look at the effect.
4. for reference :
4-1.
https://help.ubuntu.com/community/EnvironmentVariables
4-2.
https://help.ubuntu.com/community/Locale
4-3.
https://www.thomas-krenn.com/en/wiki/Co ... _in_Ubuntu
4-4.
http://manpages.ubuntu.com/manpages/xen ... ale.1.html
4-5.
https://wiki.archlinux.org/index.php/locale