>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> The generated file is correct, so the setEncoding modifier
Georg> works. I am glad to see that. The screenshot looks different
Georg> than here (but the patch did not change anything drawing
Georg> related). Obviously your version is correct, while mine is not.
Georg> I have no idea why, and I don't have any idea why we need the
Georg> \rtl flag in lyxrc. Why is RTL display not derived from the
Georg> language?

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?

JMarc

Reply via email to