CentOS Stream 9
Sponsored Link

Set System Locale2022/01/18

 
If you would like to change System Locale, set like follows.
[1] Replace to your own language on the example below.
# show current settings

[root@dlp ~]#
   System Locale: LANG=en_US.UTF-8
       VC Keymap: us
      X11 Layout: n/a

# show the list of available locales

[root@dlp ~]#
localectl list-locales

C.UTF-8
en_AU.UTF-8
en_BW.UTF-8
en_CA.UTF-8
en_DK.UTF-8
en_GB.UTF-8
en_HK.UTF-8
en_IE.UTF-8
en_NZ.UTF-8
en_PH.UTF-8
en_SC.UTF-8
en_SG.UTF-8
en_US.UTF-8
en_ZA.UTF-8
en_ZW.UTF-8
ja_JP.UTF-8

# set locale

[root@dlp ~]#
localectl set-locale LANG=ja_JP.UTF-8
# show settings

[root@dlp ~]#
   System Locale: LANG=ja_JP.UTF-8
       VC Keymap: us
      X11 Layout: n/a
Matched Content