Am 06.09.2011 um 13:47 schrieb Vincent van Ravesteijn:

> 
>  
> When I was still young and naive about this problem, I suspected a cache 
> problem. Therefore I tried to disable completely the cache but the situation 
> did not change...
> 
> I really think the problem is related to opening too many translation files 
> with gettext. But I would be delighted to be proven wrong, as it would mean 
> that the problem is fixed.
> 
> 
>  
> Stephan, can you comment out lines 139--141 in Messages.cpp (in 
> Messages::get()) to see whether it helps ?

Yes, we can. :)

But it does not help. 

The following helps:

Index: src/Language.cpp
===================================================================
--- src/Language.cpp    (Revision 39617)
+++ src/Language.cpp    (Arbeitskopie)
@@ -187,7 +187,7 @@
        // cache translation status. Calling getMessages() directly in
        // PrefLanguage::PrefLanguage() did only work if the gui language
        // was set to auto (otherwise all languages would be marked as 
available).
-       translated_ = getMessages(code()).available();
+       translated_ = true ; // getMessages(code()).available();
        return true;
 }
 

... as JMarc said already.

Stephan

Reply via email to