On 16-10-2022 18:33, two--- via Bug reports for GNU Guix wrote:
hi in https://git.savannah.gnu.org/cgit/guix.git/tree/po/guix/uk.po i see kyrylo's translations are pulled there from weblate, but mine (https://translate.fedoraproject.org/changes/?project=guix&lang=uk&user=two22) are not, these strings stay untranslated or erroneous. [...]
If I guess correctly, translations are currently moved from weblate to Guix by overwriting the local .po with a copy from weblate and likewise in the other direction.
However, a 'msgmerge' program exists: ‘https://www.gnu.org/software/gettext/manual/html_node/msgmerge-Invocation.html’. Maybe that could be used?
Also, on pushing new .po to weblate, 'git push' has a '--with-lease' option, which IIUC is a kind of 'atomic compare-and-swap' operation, which could help with avoiding race conditions.
Greetings, Maxime.
OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature