Ubuntu 18.04
Sponsored Link

Set System Locale2018/04/27

 
Configure the System Locale of your system like follows.
[1] Replace to your own language on the example below.
root@dlp:~#
apt -y install language-pack-ja-base language-pack-ja
# display current settings

root@dlp:~#
   System Locale: LANG=en_US.UTF-8
       VC Keymap: jp106
      X11 Layout: jp
       X11 Model: jp106
     X11 Options: terminate:ctrl_alt_bksp

# display the list of locale

root@dlp:~#
localectl list-locales

C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
...
...
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
ja_JP.utf8

# set locale

root@dlp:~#
localectl set-locale LANG=ja_JP.UTF-8 LANGUAGE="ja_JP:ja"
# show settings

root@dlp:~#
   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
Matched Content