[horde] German translation lost with Firefox 10

oschi test at lange-rheine.de
Tue Mar 6 15:35:45 UTC 2012


Hi!!

fixed for me, by adding the following line to ..lib/Horde/Browser.php:

     } elseif (preg_match('|Mozilla/([0-9.]+)|', $this->_agent, $version)) {
                $this->setBrowser('mozilla');
                $this->setQuirk('must_cache_forms');

                list($this->_majorVersion, $this->_minorVersion) =
explode('.', $version[1]);
                switch ($this->_majorVersion) {
                case 5:
                    if ($this->getPlatform() == 'win') {
                        $this->setQuirk('break_disposition_filename');
                    }
                    $this->setFeature('javascript', 1.4);
                    $this->setFeature('dom');

#Patch, added this line for FF10 language bug
                    $this->setFeature('utf');
#End Patch

                    $this->setFeature('accesskey');
                    $this->setFeature('optgroup');
                    $this->setFeature('xmlhttpreq');
                    $this->setFeature('cite');
                    if (preg_match('|rv:(.*)\)|', $this->_agent, $revision))
{
                        if ($revision[1] >= 1) {
                            $this->setFeature('iframes');
                        }
                        if ($revision[1] >= 1.3) {
                            $this->setFeature('rte');
                        }
                    }
                    break;






Christopher Neuhaus wrote:
> 
> Hi!
> 
> We have the same Problem. FF9 to 10 => English.
> The default and selected lang on the server is de_DE
> 
> How can it be fixed?
> 
> Greetings
> 
> Christopher
> 
>>
>> Zitat von lst_hoe02 at kwsoft.de:
>>
>>> Hello
>>>
>>> today we noticed that the new Firefox 10 only display Horde/IMP in 
>>> english no matter what is set as locale/language. All other Version 
>>> of Firefox work fine but IE9 also has this issue. Any inside what the 
>>> root cause may be?
>>
>> Translations are done on the server, they are browser independent.
>>
>> Jan.
>>
> 
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> 
> 

-- 
View this message in context: http://old.nabble.com/German-translation-lost-with-Firefox-10-tp33242543p33451495.html
Sent from the Horde - General mailing list archive at Nabble.com.



More information about the horde mailing list