Le lundi 24 septembre 2007 à 10:09 +0200, Olivier Berger a écrit : > Package: sympa > Version: 5.2.3-1.2 > Severity: minor > > On default Debian install, no supported_lang configuration is set in > sympa.conf. > > Thus, all possible locales are tested to display available languages in > wwsympa's interface. > > This results most probably in loads of messages like : > Sep 23 19:07:36 picolibre wwsympa[29223]: Failed to setlocale(de_DE) ; you > either have a problem with the catalogue .mo files or you should extend > available locales in your /etc/locale.gen (or /etc/sysconfig/i18n) file > Sep 23 19:07:36 picolibre wwsympa[29223]: Failed to setlocale(cs_CZ) ; you > either have a problem with the catalogue .mo files or you should extend > available locales in your /etc/locale.gen (or /etc/sysconfig/i18n) file > > It would be great if the 'supported_langs' variable which is deduced from > 'locale -a' in the Debian config debconf script could be set in the postinst > (and not only the lang parameter) to only propose available locales and > remove all these messages. > > Note that the setting must contain comma-separated values without any spaces, > btw.
It seems that sympa_wizard.pl will configure it in more recent version (as tested on unstable with 5.3.3-4)... although in a bad way, adding spaces where it shouldn't (see http://sourcesup.cru.fr/tracker/index.php?func=detail&aid=3322&group_id=23&atid=167 ). ... so upgrading will remove the need to add such configuration in postinst... at least as long as the bug will be fixed upstream. Best regards, -- Olivier BERGER <[EMAIL PROTECTED]> (ATTENTION : new address) Ingénieur Recherche - Dept INF GET/INT at Evry (http://www.int-edu.eu/) OpenPGP-Id: 1024D/6B829EEC