Gerrit/L10n-bot

This page explains how to enable translation updates via translatewiki.net on projects hosted in Wikimedia Gerrit. For general guidance how to get a project set up on translatewiki.net, see setup of a new project on translatewiki.net.

Repository access
File a task in Phabricator using this template.

Translation checks
File a task in Phabricator using this template or submit a patch to integration/config repository in gerrit: You need to change section for your repository in /zuul/layout.yaml in integration/config and add these rows: gate-and-submit-l10n: - mediawiki-i18n-check-docker

In case there is no section for the gerrit repository (which means there is no CI yet), they should add something like this.

- name: some/repository gate-and-submit-l10n: - mediawiki-i18n-check-docker

Example commit: https://gerrit.wikimedia.org/r/c/integration/config/+/467329

translatewiki.net Gerrit repository
In some cases you may need to edit repoconfig.yaml file in the translatewiki.net Gerrit repository to enable automerge of i18n patches (example commit).