[SailfishDevel] Internationalization problem on Sailfish

Steffen Förster steffen.foerster at 4foerster.ch
Thu Sep 11 16:09:21 UTC 2014


Hi

Have you tried removing the country code "CN"? I can not find an example 
with a country code on http://qt-project.org.

TRANSLATIONS += \
     translations/harbour-myappName-zh.ts‍

Steffen


>Hi, I got a problem about internationalization‍ on  Sailfish, I want to 
>add Chinese language to my first Sailfish app, here is what I did
>
>1. Add this on my .pro file
>TRANSLATIONS += \
>     translations/harbour-myappName-zh_CN.ts‍
>
>2.translate the  harbour-myappName-zh_CN.ts‍ file
>
>Then what I should do?
>
>Should I use the QTranslator‍ to load the .qm file?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140911/38b01b90/attachment.html>


More information about the Devel mailing list