How to change system language in centos-7 and to change keyboard keymap layoutTo change system language in CentOS-7- Check the current status of language
# localectlYou will get result like
System Locale: LANG=nb_NO.UTF-8
VC Keymap: no
X11 Layout: no
- Check the list of locales
# localectl list-localesYou will get output like
aa_DJ
aa_DJ.iso88591
aa_DJ.utf8
- To set locale to english US
# localectl set-locale LANG=en_US.UTF-8 To change keyboard keymap layout"loadkeys" helps to swap between keymaps and thus temporarily set keys to different language (until reboot)
For an example the following command will temporarily change system's keymap to "us" from any other keymap
#loadkeys us- To know available keymaps
#tree /lib/kbd/keymaps/On CentOS 7 to permanently change keymap run the "localectl set-keymap"command Example:
# localectl set-keymap usTo check changes have been updated execute the "localectl" command without any arguments
#localectlSystem Locale: LANG=en_US.UTF-8
VC Keymap: us
X11 Layout: us