Set System Locale 2019/07/12 |
| Configure the System Locale of your System like follows. |
[1] | Replace to your own language on the example below. |
root@dlp:~# apt -y install task-japanese locales-all # display current settings
System Locale: LANG=en_US.UTF-8 LANGUAGE=en_US:en VC Keymap: jp106 X11 Layout: jp X11 Model: jp106 X11 Options: terminate:ctrl_alt_bksp
# display the available locale list
localectl list-locales
C.UTF-8 aa_DJ aa_DJ.utf8 aa_ER ... ... zh_TW.utf8 zu_ZA zu_ZA.utf8
# set locale
localectl set-locale LANG=ja_JP.UTF-8 LANGUAGE="ja_JP:ja" # show settings
System Locale: LANG=ja_JP.UTF-8 LANGUAGE=ja_JP:ja VC Keymap: jp106 X11 Layout: jp X11 Model: jp106 X11 Options: terminate:ctrl_alt_bksp
root@dlp:~# source /etc/default/locale
echo $LANG
|