1. Check that you have the locales package installed
dpkg -l locales
2. If not, install it
apt-get install locales
3. As root, type
dpkg-reconfigure locales
you can navigate that list with the up/down arrow keys, for example choose en_US-UTF-8
4. Edit your
.bashrc by adding the following lines:
export LC_ALL=de_DE.UTF-8
export LANG=de_DE.UTF-8
export LANGUAGE=de_DE.UTF-8
5. Run the
locale command
6. Add compatiblity (keyboard cursor) to VI
~/.vimrc
set nocompatible
set showmode
Thanks to this both articles and authors: