Am 06.09.2011 um 17:57 schrieb Vincent van Ravesteijn:

> Op 6-9-2011 15:11, Stephan Witt schreef:
>> 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.
> 
> Yes, I believe JMarc. The only problem is that it feels like shooting with a 
> canon on a little mouse.

Of course. It's not meant as a real fix. Only to get a feeling what direction 
to search further.

> 
> TBI

Traumatic brain injury?

Stephan

Reply via email to