Re: [SailfishDevel] QML translations don't work

2018-03-09 Thread Lukáš Karas
Well, I am not familiar with Qt development in Python, but in C++ world, there is necessary to initialise translator before showing QML view... Try to look to these lines: https://github.com/Karry/osmscout-sailfish/blob/master/src/OSMScout.cpp#L147 // install translator QTranslator trans

Re: [SailfishDevel] QML translations don't work

2018-03-09 Thread Yann Georg Buechau
Hey Osmo, Thanks very much for the hint with the context. I was not using lupdate/lconvert because I don't like the dependency on QT for the build environment. I used xgettext but did not handle the context. I am now using qsTranslate, specifying the context explicitly and telling xgettext wi