Javascript library internationalization
-
Hello,
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 am using QT 5.02
Javascript "file.js"
@
function func() {
var temp = qsTr("TEST")
return temp
}
@QML
@
import "file.js" as JSLIBText{
text: JSLIB.func()
}
@Thx
-
problem found, bug reported "https://bugreports.qt-project.org/browse/QTBUG-32850":https://bugreports.qt-project.org/browse/QTBUG-32850