Am Mittwoch, 3. Januar 2007 16:08 schrieb Jean-Marc Lasgouttes:
> I was trying to get translations to work on qt, and stumbled on the
> following:
> 
>       if (qt_trans->load(language_name,
>               QLibraryInfo::location(QLibraryInfo::TranslationsPath)))
>       {
>               qApp->installTranslator(qt_trans);
>               // even if the language calls for RtL, don't do that
>               qApp->setLayoutDirection(Qt::LeftToRight);
>               lyxerr[Debug::GUI]
>                       << "Successfully installed Qt translations for locale "
>                       << fromqstr(language_name) << std::endl;
> 
> Could it be that the setLayoutDirection triggers because you do have a
> qt-supported locale loaded (de), and that others are not in this case?

Good shot! Yes, I think so (at least I can see the debug message above). 
Now the question is why setLayoutDirection(Qt::LeftToRight) is called.


Georg


Reply via email to