When I activate a new rackspace ubuntu 10.04 instance I keep getting these messages:
perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "de_DE.UTF-8" are supported and installed on your system.
How do I select and configure the locales correctly?
Edit: This was given to me by Rackspace support, it also worked, maybe it helps someone with ubuntu 10.04:
sudo locale-gen en_US.UTF-8
sudo /usr/sbin/update-locale LANG=en_US.UTF-8
First check that your desired locale is available on your system:
If your locale is not available:
/usr/share/i18n/SUPPORTED
/var/lib/locales/supported.d/local
sudo dpkg-reconfigure locales
Once the locale is made available, enable it by editing
/etc/default/locale
, e.g.: