[ English | 日本語 | English (United Kingdom) | 한국어 (대한민국) | русский | 中文 (简体, 中国) | Deutsch | Indonesia | Türkçe (Türkiye) ]

Çeviri altyapısı

A series of tasks in OpenStack infrastructure is used to manage translation changes in Zanata. Without running the tasks, translation changes will not be reflected into OpenStack projects. This page explains how the infrastructure tasks run actual scripts as Zuul jobs and monitor the job status.

Çeviri işleri

We have two types of Zuul jobs for translations: syncing source strings into Zanata with the latest repositories and pushing translations from Zanata into the repositories. The first job is for Zanata-side updates. Up-to-date source strings to be translated are compared and updated between OpenStack project repositories and Zanata. If source texts in OpenStack project repositories are changed, then change sets are pushed into Zanata so translators deal with up-to-date source strings. On the other hand, the second job is aimed to reflect changes in translated strings in Zanata (after translators do translation activities) into corresponding OpenStack project repositories. The job will propose changes as Translation Import Gerrit patches.

Update jobs for Zanata start after patches are merged on OpenStack project repositories, and Zuul starts to run tasks everyday at 6:00 UTC for the updates on OpenStack project repositories.

Note that not all translation changes are the target for translation jobs. The goal is to have consistent translated programs, UIs, and documentation. There is not much sense if only a few lines are translated. The team has decided that files that have at least 75 percent of messages translated will be in the git repositories.

Fazla karıştırmamak için ve son dakika metin düzeltmeleri silinen dosyalara yol açtığından, yayınlarda ilke olarak çevrilecek iletilerde elle zorlanan yüzde 66’lık bir eşik bulunur.

The OpenStack infra scripts executed by tasks currently download new files that are at least 75 percent translated and if files grow over time but do not get new translations (or strings change too much), they will be removed again automatically from the project with a lower threshold of currently 40 percent.

Çeviri işlerinin durumunu izleme

OpenStack Sağlık kontrol panosu çeviri işi durumunu kontrol etmemiz için kolay bir yol sağlar.

Translation infrastructure tasks and scripts

Translation infrastructure tasks are stored and managed in openstack-infra/project-config repository. The translation infrastructure scripts are stored and managed in openstack-infra/openstack-zuul-jobs repository.

Note that the scripts in the tasks use zanata-cli to pull and push translation content.