archlinux

17 - Localization

Previous: Set timezone

References:


Edit locale.gen with

nano /etc/locale.gen

and replace the line #en_US.UTF-8 by

en_US.UTF-8

Run

locale-gen

Create

/etc/locale.conf

by running

echo "LANG=en_US.UTF-8" >> /etc/locale.conf

Check the results with

cat /etc/locale.conf

Create

/etc/vconsole.conf

by running (for US keyboard)

echo "KEYMAP=us" >> /etc/vconsole.conf

Alternative (for a Brazilian keyboard), execute

echo "KEYMAP=br-abnt2" >> /etc/vconsole.conf

Check the results with

cat /etc/vconsole.conf

Next: Set hostname