* I18n * Infrastructure Change-Id: Icd0a54d0f4559a5cbd56742d318811dc0c620ee6
2.6 KiB
Reviewing translation imports
Note
This document explains to reviewers details about the automatic import of translations from Zanata.
If you are unfamiliar with translations in OpenStack, read the Project Team Guide on Internationalization and Translation first.
This document gives additional information.
How are translations handled?
Translators translate repositories using the translation server which runs the Zanata software.
Every day, new translations get imported into the repositories using a proposal job. These need to have a review on whether the bot worked properly. You can see all open reviews in Gerrit. The subject of these patches is always "Imported Translations from Zanata".
Reviewing
If you are reviewing these translations, keep the following in mind:
- The change is done by a bot. If anything looks wrong with it, you
need to actively reach out to the
OpenStack I18n team <openstack_i18n_team>
and point the problem out. - The goal of the review is that the structure of the change is fine, it's not that the strings are translated properly. The review of translated strings is done by teams using the translation server.
- If you notice bad translations in a language, file a bug (see
reporting_translation_bugs
). Then the translation team will update the translation. We recommend to still import this change as is and import later the fix to not block other valid translations to merge. - Nobody should change translation files (the .po files in the locale directory) besides the bot. The next
automatic import will override any change again. Therefore, leave a
-1
vote on any such changes and point developer to this document. - The proposal bot also removes files, it removes files that have very few translations in them. Note that no translations will be lost, they are still in the translation server.
- Most teams have single approval for translation imports instead of two core reviewers.
Setting up translations for a repository
The Creator's Guide of the Infrastructure Manual explains how to Enable the Translation Infrastructure.