Skip to content

Automatic merge of Crowdin translations

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Goal

To have an automatic trigger of the pipeline created in #250314 so that we do not need manual intervention to get the translation MR ready to be merged.

Pre-requisites

This can be completed after we have:

  1. Created a script(s) which can execute the steps we currently perform manually: #23256
  2. Created a pipeline that can be triggered manually: #250314

Notes

Investigation was completed into how we can achieve this here: #227181 (comment 410472981)

It looks like we have two main options for the trigger:

Crowdin triggered

We can set up the Crowdin integration to regularly push to the i18n-master branch. The possible intervals from the Crowdin integration are:

  1. 10 20 30 40 50 minutes
  2. 1 3 6 12 24 hours

This will sync the translations, adding to the branch if it already exists or creating a new one if it's missing.

GitLab triggered

We can set up a Pipeline Schedule to trigger our own pipeline on any schedule we want.

This requires a target branch and currently we delete the master-i18n branch after every merge. It also doesn't look like there is an API endpoint on Crowdin for managing integrations. I think to get this working, we would have to leave the integration enabled and always have a master-i18n branch available (with a large number of commits).

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖