/etc/locale.alias

new debian wheezy is out
and now there is surprise

from /etc/locale.alias

Note: This file is obsolete and is kept around for the time being for

backward compatibility. Nobody should rely on the names defined here.

Locales should always be specified by their full name.

Locales should always be specified by their full name

en_US is invalid
en_US.UTF-8 perfect!

quik hacking in admin/libraries/view.functions.php
in set_language()

$lang=$_COOKIE[‘lang’].’.UTF-8’;

setlocale(LC_ALL, $lang);
putenv(“LANGUAGE=”.$lang);