Locale setting for rhel7/8

In RHEL7/8 I know we control the locale setting using localctl command and which updates the /etc/locale.conf file.

Ex :

# localectl set-locale LANG=ja_JP.utf8
# localectl set-keymap jp106
# localectl
   System Locale: LANG=ja_JP.utf8
   VC Keymap: jp106
   X11 Layout: jp

But in RHEL6 we have another file for this purpose

/etc/sysconfig/i18n

LANG=en_US.UTF-8
SUPPORTED="en_US.UTF-8:en_US:en:ja_JP.eucXXXXX"
SYSFONT="lat0-sun16"
SYSFONTACM="8859-15"

My question is do we need these below variables also in RHEL7/8.

  • SUPPORTED
  • SYSFONT
  • SYSFONTACM
    My guess is we dont need to explicitly declare these variables anymore in RHEL7/8 in /etc/locale.conf file?

Hi PDJPN,

Your guess is right, you don’t need to set variables by hand, localectl takes care of it on recent RHEL versions, much like hostnamectl.