[SailfishDevel] Translating apps for SailfishOS

2014-07-17 Thread Marcin M.
I couldn't find the answers to a couple of questions: 1. Does SailfishOS SDK require external lupdate? If yes, where can the command for lupdate be set (as of Mint 17 (Ubuntu 14.04), lupdate-qt5 is not provided by any package) 2. If using sailfishapp_i18n, are the QTranslator steps still needed?

Re: [SailfishDevel] Translating apps for SailfishOS

2014-07-17 Thread Luca Donaggio
1. No, lupdate is included in the virtual machine used to bild your app and invoked automatically 2. Just put your harbour-yourappname-xx.ts files into 'translations' directory and you're set 3. Usually I install the RPM in the emulator and run it from command line after changing LANG env variable

Re: [SailfishDevel] Translating apps for SailfishOS

2014-07-17 Thread Marcin M.
Thanks 1. The problem is that Tools/External/lupdate doesn't do anything. I created translations/harbour-myapp-pl.ts, ran Tools/External/lupdate and the pl translation file didn't change. My .pro looks like that: TARGET = harbour-myapp CONFIG += sailfishapp SOURCES += src/harbour-myapp.cpp \

Re: [SailfishDevel] Translating apps for SailfishOS

2014-07-17 Thread Marcin M.
And how can I run the mer's lupdate lrelease from terminal? -- Marcin 2014-07-17 11:36 GMT+02:00 Marcin M. marmistrz...@gmail.com: Thanks 1. The problem is that Tools/External/lupdate doesn't do anything. I created translations/harbour-myapp-pl.ts, ran Tools/External/lupdate and the pl