I am trying to translate some strings from a .js library imported by my QMLs, the strings are found by lupdate but when I launch my app the qsTr function cannot find the translated string but it works with the strings in the QML files.
I have add some logs in qsTr() function in qtdeclarative/src/qml/qml/v8/qqmlbuiltinfunctions_p.h. The problem is qsTr() is looking the tag in a context with the file basename less the last character for .js files. I have modified manually the .ts file and it works:
Old .ts generated by lupdate (NO WORKING):
New .ts modified manually (WORKING):