[SailfishDevel] How to translate (lupdate) ?

Timur Kristóf timur.kristof at gmail.com
Fri Jan 3 11:23:13 UTC 2014


Hi,

You can use Qt Linguist, lupdate and other such tools from the regular
upstream Qt SDK, you don't need the Sailfish SDK to support it.

Cheers,
Timur


Timur



On Thu, Jan 2, 2014 at 6:36 PM, Franck Routier (perso) <alci at mecadu.org>wrote:

> -----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-----
> _______________________________________________
> SailfishOS.org Devel mailing list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140103/0c6fd737/attachment.html>


More information about the Devel mailing list