[horde] turkish language problem

Sevinç Cömertoğlu comertoglu at itu.edu.tr
Fri Oct 14 15:21:11 UTC 2011

-----Original Message-----
From: horde-bounces at lists.horde.org [mailto:horde-bounces at lists.horde.org]
On Behalf Of Jan Schneider
Sent: Tuesday, October 11, 2011 4:49 PM
To: horde at lists.horde.org
Subject: Re: [horde] turkish language problem

Zitat von Sevinç Cömerto?lu <comertoglu at itu.edu.tr>:

>> By using Horde 4.0.9, i have problems with Turkish translation. When 
>> Turkish language option is chosen page becomes blank and httpd/error_log
>> [Tue Oct 11 14:29:51 2011] [error] [client] PHP Fatal error:
>> Call to undefined method Horde_Cli::runningFromCLI() in 
>> /usr/share/pear/Horde.php on line 154
>> i have emailed this kind of problem before and it's said that a php
>> Is this also a php problem? Is there any way to use horde 4.0.9 and 
>> PHP 5.3 with Turkish characters.

>No, PHP is broken.


Hi all,

i think we have found a solution to our problem, not tested deeply. By the
view of http://bugs.horde.org/ticket/5555  we have edited the file
/usr/share/pear/Horde/Registry.php (line 2480) as seen below:

$lang_charset = $lang . '.UTF-8';
        if (setlocale(LC_ALL, $lang_charset)) {
            putenv('LC_ALL=' . $lang_charset);
            putenv('LANG=' . $lang_charset);
            putenv('LANGUAGE=' . $lang_charset);
setlocale(LC_CTYPE, 'C');                      //Added line

After this change we have successfully logged in without errors and can see
Turkish characters correct. Only "Log out" translation is seemed with
question marks.
Does this solution make sense  to you?

More information about the horde mailing list