Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business


OverviewFelgo 3 Support (Qt 5) › error creating TS files for multilanguage


Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #23781


    Im following all the steps on the document https://felgo.com/doc/howto-multi-language/. but the file generated by ‘Tools/External/Linguistic/’ is generating only the translation of just one cpp  file, not all the classes or qml files on the project, I really don’t know what I’m missing. Also the cpp that is being translated is a library that I found on internet and the function for translate it is using is only ‘tr()’ instead of the ‘qsTr()’  example:


     QString description = "";
        if (declineCode == declineCodeApproveWithId()) {
            description = tr("The payment cannot be authorized.");


    ts file:


            <location filename="../../qstripe/Error.cpp" line="74"/>
            <source>The payment cannot be authorized.</source>
            <translation type="unfinished"></translation>


    All of the other files are being ignored, What im missing to generate the full project translation? also if my default is in english, do I need to create the english translation file?


    pro file:

    TRANSLATIONS = qml/translations/es_ES.ts \










    ok, my error I had the project as ‘publish’

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded