sugarlabs / musicblocks

Music Blocks -- A musical microworld
https://musicblocks.sugarlabs.org/
GNU Affero General Public License v3.0
539 stars 726 forks source link

Add weblate synchronization workflow #3896

Closed chimosky closed 1 month ago

chimosky commented 1 month ago

@walterbender kindly review.

walterbender commented 1 month ago

@chimosky Looks OK to me, but I don't really know how this stuff works behind the scenes. I assume this is the same sort of script that works for other repos?

Question: If the POs change locally, how can we update on Weblate? (Not just new translations, but also new strings.) Is that already automated?

chimosky commented 1 month ago

@chimosky Looks OK to me, but I don't really know how this stuff works behind the scenes. I assume this is the same sort of script that works for other repos?

Yes, this is the same script that'll be in other repos, it automatically opens a PR when weblate pushes changes.

Question: If the POs change locally, how can we update on Weblate? (Not just new translations, but also new strings.) Is that already automated?

Yes, there's a webhook configured and weblate pulls any changes from here once it detects it.