coopcycle / coopcycle-web

Logistics & marketplace platform. Only for worker-owned business.
https://coopcycle.org
Other
565 stars 128 forks source link

Improve CoopCycle <-> Weblate integration for translations #4534

Open r0xsh opened 1 month ago

r0xsh commented 1 month ago

Having a "link" on untranslated strings that invite users of the software to propose a better/do the translation

alexsegura commented 1 month ago

To stay cheap, not sure we can do much better than a link to Weblate.

Highlighting untranslated message would need a special user role IMHO, to avoid cluttering the interface for normal users.

alexsegura commented 1 month ago

Also, implement a translation provider for Weblate, so that we can maybe use the native Symfony commands to pull translations from Weblate.

Currently, this is done via Git:

git remote add weblate https://translate.coopcycle.org/git/coopcycle/coopcycle-web/
git fetch weblate
git merge weblate/master
Paul-Eraman-CoopCycle commented 1 month ago

I thought to have it only apply to dispatchers, messengers and admin