Compiling Translation Files - opengribs/XyGrib GitHub Wiki
On Linux
- In the folder of source, to update the "tr" files for translation with 'linguist', run
lupdate src/xyGrib.pro
- Update the translation you want with qtlinguist and save your file
- Use the command "Publish" from the menu "File" or run
lrelease src/xyGrib.pro
On Windows
- Open a Power Shell as administrator in the root of the XyGrib project.
- Run
lupdate src/xyGrib.pro
to update the "tr" files for translation with 'linguist'.
- Once the "tr" files have been saved, run
lrelease src/xyGrib.pro
to compile the "qm" files.
- To see results the updated translation files need to be copied to the respective 'data' folder trees under the Qt debug or release build folders