Hi All
if I have a string that needs a different order of arguments for different
languages, I use arg() method of QString. For example, imagine an example from
Qt's docs:
====
QString s1 = "%1 of %2 files copied. Copying: %3";
QString s2 = "Kopierer nu %3. Av totalt %2 filer er %1 kopiert.";
====
How do you do the same in QML?
There is no standard way for templating JavaScript strings and to my
understanding Qt doesn't recommend any specific library for it. The what do you
do for QML localization?
Or is JavaScript's qsTr() is somehow able to care after the arguments on its
own?
Best regards,
Artem.
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml