locales configuration doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phpldapadmin (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: phpldapadmin
phpLDAPadmin can be configured by the file /etc/phpldapadm
But it's don't work. Two problems :
1/ with language config set as "fr", the file /usr/share/
$language = auto_lang(
And automatically it will change fr to fr_FR. That's done.
2/ the php function setlocale need to have the languqge AND the charset so line 130 of the same file,
130 setlocale(
becom :
130 setlocale(
Thanks for correction and have fun ;).
This is only a documentation problem, at least in Gutsy's version (0.9.8.4-1ubuntu1).
There you are supposed to use "fr_FR" for "language" and it should work.
I'll provide a patch to fix this documentation issue.