Carvera-Community / Carvera_Controller

Community developed version of the Carvera Controller
GNU General Public License v2.0
3 stars 1 forks source link

Create update_translations.py #74

Open faecorrigan opened 6 days ago

faecorrigan commented 6 days ago

a quick method of updating the .po files for localization. Note that these files will need manually translated. This should be run every release.

SergeBakharev commented 6 days ago

Nice work with this one. Now we just how to decide how we will get the translations done.

Since it's used as part of the development of the application, the script should be moved from carveracontroller/update_translations.py to scripts/update_translations.py and file references updated.

Since it is required to compile the .po file into a .mo for inclusion into the application, we shouldn't just trust that developers have done that. As part of the scripts/build.py we should do that automatically. Please add the compilation step to scripts/build.py