[SailfishDevel] How to translate (lupdate) ?

Erik Lundin erik at lists.lun.nu
Tue Feb 4 21:30:33 UTC 2014


Hi,

Sorry to reply to this old thread, but I found that it worked to simply 
set the lupdate executable to /usr/bin/lupdate-qt4 (installed via the 
packet manager).

Some kind of fix to the SDK (and documentation) would be welcome. I 
think it should be easy to write localized apps using the SDK out of the 
box.

/Erik

2014-01-02 18:36, Franck Routier (perso) skrev:
> 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
>


More information about the Devel mailing list