Use localectl
to see your currently active locale on Redhat 7 Linux. For example:
[root@rhel7 ~]# localectl System Locale: LANG=en_AU.UTF-8 VC Keymap: us X11 Layout: us
Using localectl
command and its set-locale
option we are able to set system locale to any locale listed by localectl list-locale
command. Below we will set a system locale to en_AU.iso88591
:
[root@rhel7 ~]# localectl set-locale LANG=en_AU.iso88591 [root@rhel7 ~]# localectl System Locale: LANG=en_AU.iso88591 VC Keymap: us X11 Layout: us
Please not the VC Keymap
and X11 Layout
must be set separately.