Weblate translation input from many updated po files?

PR 746 was created which updates many Addon translation files for Polish, which was the process before the Addons were moved to Weblate. Is there a simple way to take all of these changes (68 pl-local.po files) and update them in Weblate, rather than redo all of this work manually in Weblate?

I am not a Weblate user.

1 Like

When you have selected a language for a component in Weblate, the Files menu contains the options “Download translation” and “Upload translation”. Using these it is possible to download a translation and then use an external tool or command line utility to make changes before uploading it again.

So you could use the commands msgmerge and msgcat to make bulk changes. I don’t make such changes myself.

Maybe you can give a try to the “memory” section on ‘setup.py’? Which should still work as a standalone python script.

  1. get all of the addon strings out of the catalog (ie. via msggrep)

  2. start with Gramps main PO file

  3. concat global dict as temp file (ie. via msgcat, msgcmp, etc.)

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.