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-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of service [41245...@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?
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to