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:
<name>QStripe::Error</name>
<message>
<location filename="../../qstripe/Error.cpp" line="74"/>
<source>The payment cannot be authorized.</source>
<translation type="unfinished"></translation>
</message>
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
TRANSLATIONS = qml/translations/es_ES.ts \
qml/translations/en_EN.ts