Package: squirrelmail Version: 2:1.4.13-2 Severity: normal Tags: patch User: [EMAIL PROTECTED] Usertags: origin-ubuntu hardy ubuntu-patch
There appears to be confusion about non-working translations, even after having installed squirrelmail-locales. This is caused by translations using e.g. fr_FR.ISO-8859-1 as locale, but only fr_FR.UTF-8 is configured on the system. In Ubuntu, we've applied the attached patch to achieve the following: * README.locales: add paragraph about setting up locales for gettext (LP: #133845) We thought you might be interested in doing the same. For a bug report in Ubuntu about this, see https://launchpad.net/bugs/133845. Thank you.
diff -u squirrelmail-1.4.13/README.locales squirrelmail-1.4.13/README.locales --- squirrelmail-1.4.13/README.locales +++ squirrelmail-1.4.13/README.locales @@ -12,0 +13,12 @@ + +=== Locale with correct charset needs to be configured === +The locale of the language file you want to use has to be configured +on the server. +E.g., to make the "French" translation work, you need to setup the +fr_FR.ISO-8859-1 locale. +You can generate locales using: + locale-gen LOCALE +You can see which locale names get used for a given language in the +setup.php file of the translations, +e.g. /usr/share/squirrelmail/locale/fr_FR/setup.php for fr_FR. +See the "locale" program to display installed locales, e.g. "locale -a -v".