[Qt-qml] Creating single translation file from multiple qml files
Matti Mäki
matti.maki at iki.fi
Tue Sep 13 10:23:08 CEST 2011
Hi,
In a meego example of QML localisation[1] lupdate was run with *.qml
argument. I tried this on my Qt SDK on Win XP, lupdate.exe from Qt 4.7.3
Desktop:
C:\development\Qt\myproject>
C:\QtSDK\Desktop\Qt\4.7.3\mingw\bin\lupdate.exe *.qml -ts
qml-translations.en.ts qml-translations.fi.ts
which results in
"lupdate error: File '*.qml' does not exist"
Do I have to create ts-file for each qml separately (35+ files) or is
there A Better Way(TM)? It might be quite a mess to keep all those files
up to date during development. It is easy to setup a script for creating
the ts-files but managing the actual translation work would be a lot
easier with single file.
/matti
[1] http://wiki.meego.com/QML/Internationalisation
More information about the Qt-qml
mailing list