[SailfishDevel] Internationalization problem on Sailfish
Jonni Rainisto
jonni.rainisto at jolla.com
Thu Sep 11 16:19:43 UTC 2014
You can look for example from here how to use QTranslator to load engineering english + your locale lang.
https://github.com/sailfishos/sailfish-office/blob/master/sailfishapplication.cpp#L52
________________________________
From: devel-bounces at lists.sailfishos.org [devel-bounces at lists.sailfishos.org] on behalf of service [41245110 at qq.com]
Sent: Thursday, September 11, 2014 5:59 PM
To: devel
Subject: [SailfishDevel] Internationalization problem on Sailfish
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/6e02f9fb/attachment.html>
More information about the Devel
mailing list