0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-12-24 22:32:43 -05:00
forgejo-docs/docs/developer/localization-admin.md
2024-02-28 11:35:14 +01:00

1.2 KiB

title license
Localization admin duties CC-BY-SA-4.0

Localization team members with admin rights on both Forgejo and Weblate are expected to make sure the translations land in the Forgejo repository and resolve conflicts when they arise.

Merging translations in Forgejo

Weblate is configured to propose pull requests to the Forgejo repository with new translations. These pull requests should be squash merged into the Forgejo development branch as follows:

  • announce 15 minutes before in the chatroom @room the translations will be locked for maintenance in 15 minutes, make sure you don't try to save a translation when that happens as it will be lost.
  • go to the weblate repository admin page
  • click lock
  • reload the page
    • check the number of commits
    • verify there are 0 pending changes
  • go to the pull request and wait until it is rebased and has the same number of commits
  • squash merge the pending pull request (similar to this example)
  • click reset
  • click unlock