To change temporary (until reboot) loadkeys sv-latin To change temporarily to swedish keyboard layout.
And to verify that the keyboard layout is correct use the command: showkey
Permanent setting (RHEL, CentOS and Fedora):
Edit /etc/sysconfig/keyboard
and replace KEYTABLE="us"
by KEYTABLE="sv-latin1"
save and reboot.