[SailfishDevel] How to translate (lupdate) ?

Franck Routier (perso) alci at mecadu.org
Thu Jan 2 17:36:14 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I would like to translate my QML application, now that it runs fine.
I have used qsTr() for literal strings.

Then I have tried to run 'lupdate' from tools/external/Linguist in the
Sailfish SDK QtCreator, but it does not seem to do anything...

Also, 'find . -name lupdate' in the sdk finds nothing... (it did in
the Harmattan Qt SDK).

How should I translate my application ? Is there a specific trick from
within the SDK, or is this just a missing feature ?

Secondary question: I have images that contain textual information. Is
there a best way (standard API) to pick the right file, or should I
play with suffix in a custom way ?

Thanks in advance,

Franck
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSxaOOAAoJEGEvoAir78Ro19MH/2KUVc/fGFnVxcFhCc14MFXG
vKNdSzFplRdhqdkhjX9XKf0TqiWEW3YF1eZrNi0UipNDQo91pVKVPhhno3w2ZjA0
UG/o9ILl/nlw8J3m8NXQlW0FdZBAi33gN5TaU7cIvFC70FKtF6rsf39vJ9sqHJqO
gAsM2HEAoCyiHaoaoxfFSfwHZ5Pd5c2k8tAXYrj1NkVFwzbWF5gSmj/B43fIJVfG
nsDLd2aF5FZr1/w+Cp4qBQ8XdWr0P+1ADeGUnj4Lxd4olsUAkRdI2UJRCrp3q3Ef
3fxe2v0VInUMExq8Px7nsFwfPokdazVXbpDwOKIpljc67ywDsZw3rrsNb3P+pKg=
=NSoA
-----END PGP SIGNATURE-----


More information about the Devel mailing list