Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


OverviewFelgo 2 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 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.