Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Creation of .ts files with Visual Studio AddIn does not work



  • Generation the ts files in VisualStudio (2012) does not generate strings from qml files.
    When I called tsupdate by hand, the proper entries are created but not loaded during runtime. The Widget based parts of the UI are translated though.
    @
    m_view = new QQuickView();
    m_view->setTitle(tr("Welcome"));
    m_view->setSource(QUrl::fromLocalFile("qml/Wizard.qml"));
    m_view->show();
    @

    The Welcome text is translated correctly, but nothing in the qml file


Log in to reply