Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174215 - squirrelmail installs locales but they wont work with wrong locales
Summary: squirrelmail installs locales but they wont work with wrong locales
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-11 20:54 UTC by Quincy
Modified: 2007-04-11 22:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Quincy 2007-04-11 20:54:40 UTC
If you enable nls support in mail-client/squirrelmail all locales will be installed into the appropiate directory. A

Reproducible: Always

Actual Results:  
After that you can select the right locale in the configure script but it wont work under some circumstances. If you select a language ( in my case de_DE and charset utf8) you must have installed this locale. But then you can select a language, but it wont change.

Expected Results:  
The ebuild should look for the installed charsets and modify the file mentioned below to enable language support. Many systems are using utf8 and will have this problem. Even a warning or note at the end of the build process would be helpful.

You have to edit functions/i18n.php (according to this http://www.squirrelmail.org/wiki/SupportedCharsets) to enable the right charset. After changing these settings inside the code foreign charsets/languages will work.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-04-11 21:02:50 UTC
Sorry, no. Upstream should fix their configuration script and their code in general. Checking for locales supported on a particular system

1/ is pointless, you can install/removed locales pretty much on the fly, using locale-gen

2/ wouldn't work for people using binary packages anyway.
Comment 2 Quincy 2007-04-11 22:46:19 UTC
I see the point, but some kind of warning or info would be nice...