Posts Tagged ‘ Bugfix ’

I experienced this problem on VPS Debian 5.0  Lenny:

——————————————————————————-
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
——————————————————————————-

Locale is a framework to switch between multiple languages for users who
can select to use their language, country, characters, collation order,
etc.

I noticed that i couldn’t install the Squirrelmail language modules.
How to fix:

~# apt-get update
~# apt-get upgrade
~# apt-get install locales
~# mv /etc/locale.gen /etc/locale.gen_back
~# ln -s /usr/share/i18n/SUPPORTED /etc/locale.gen
~# locale-gen

It takes a little eternity but afterwards your system is updated and
supports multiple languages.