Hi all,
I’ve been trying to translate an app in German by following what seemed to me the simplest way to translate an app : .ts files.
To do so I created the TS files, mentioned them as so in the .pro file :
TRANSLATIONS += translations/harbour-deepfish_en.ts \
translations/harbour-deepfish_de.ts
Added the
- ‘%{_datadir}/%{name}/translations’
in the .yaml file “Files’s” section as suggested by the libsailfishapp documentation
Used the qsTr() variables as suggested by the QML docs. And even lupdated the TS files to have qm files.
But in the end, it doesn’t seem to work, at least in the emulator, so I am wondering what did I forget ? I don’t see other modifications/files in other sailfish apps so I guess it’s something I’m missing when building the app from the Sailfish IDE. I failed in finding additional documentation so if you have something I’d be glad and thankful about it !
Thank you very much !
The app : sfos_apps / harbour-deepfish · GitLab