On Thu, Mar 8, 2018, at 20:21, Yann Büchau wrote:
> Now my question is, what am I doing wrong so QML stuff won't translate? 
> My QML is just the python-sample with some strings wrapped with qsTr(). 

What's your translation call like? Note that the context argument needs to 
match what is in the translation file. If you happened to copy the Pan Transit 
style of converting gettext po-files to Qt linguist files, then the context 
will be empty. I use the following helper function for QML translations: 
https://github.com/otsaloma/pan-transit/blob/master/qml/pan-transit.qml#L40

-- 
Osmo Salomaa <otsal...@iki.fi>
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to