Difference between revisions of "I18nTeam/Migration-to-weblate"
< I18nTeam
Damekyung98 (talk | contribs) (→Migration Scope) |
Damekyung98 (talk | contribs) (→Migration Scope) |
||
| Line 62: | Line 62: | ||
| Total projects || 127 | | Total projects || 127 | ||
|- | |- | ||
| − | | Total versions || | + | | Total versions || 12 |
|- | |- | ||
| Total Languages || 54 | | Total Languages || 54 | ||
| Line 69: | Line 69: | ||
We determined the migration version based on the branches that currently exist in the main services. | We determined the migration version based on the branches that currently exist in the main services. | ||
| − | + | Note: Some projects may not have this branch. | |
Versions to migrate: | Versions to migrate: | ||
Revision as of 07:00, 28 October 2025
Contents
Migration to weblate
Who's joining the migration project
- Ian Y. Choi (Manager)
- Seongsoo Cho
- Kuemjong Jeong
- Nayeon Kim
- Sion Shin
- Gwangil Kim
- DaGyeong Kim
Planning a weblate migration schedule
You can find more details about each task below.
- Define the scope of target test projects
- All vs. a few projects (e.g., openstack-manuals, nova, i18n, horizon)
- Make Translation Infrastructure Scripts compatible with Weblate
- Weblate project creation with settings if the target project is not existing on the platform
- (If it is not supported, Weblate projects will be created manually)
- Testing needs to be performed locally, since the scripts are executed on 06:00 UTC daily.
- Weblate project creation with settings if the target project is not existing on the platform
- ZuuL Integration Test
- Determine when to test (e.g., Test methodology without waiting at 06:00 UTC?)
- Integration test with all translation target projects
- Making tools for extracting statistical data from Weblate
Action Item
Define the scope of target test projects
- Configure Weblate with the information set in Zanata.
- User information is not migrated.
Make Translation Infrastructure Scripts compatible with Weblate
- WIP patch to support Weblate for https://opendev.org/openstack/openstack-zuul-jobs/src/branch/master/roles/prepare-zanata-client/files/
Zuul Integration Test
Create and test a ZuuL Job that performs the following tasks
- Uploading translation files to Weblate when new changes are made to your project
- Upload translations from Weblate to your project every day at 06 UTC
Making tools for extracting statistical data from Weblate
- weblate_userinfo.py : Done ( https://review.opendev.org/c/openstack/i18n/+/893361 )
- Generates a csv file which contains the list of translators for a specified target role with name and e-mail address. Requires privileges to access Weblate accounts API.
- weblate_users.py : Done ( https://review.opendev.org/c/openstack/i18n/+/895763 )
- Generates a list of Weblate language contributors.
- weblate_utils.py : Done ( https://review.opendev.org/c/openstack/i18n/+/896308 )
- Provides basic classes used by the other scripts
- IniConfig class to get the key and url for the weblate server
- WeblateRestService class that communicates with the Weblate REST API
- Provides basic classes used by the other scripts
- weblate_stats.py : Working ( https://review.opendev.org/c/openstack/i18n/+/896306 )
- (describe the role of the tool )
- weblate_records.py : Working ( https://review.opendev.org/c/openstack/i18n/+/896306 )
- (describe the role of the tool )
List of projects and status
Migration Scope
| Item | Count |
|---|---|
| Total projects | 127 |
| Total versions | 12 |
| Total Languages | 54 |
We determined the migration version based on the branches that currently exist in the main services.
Note: Some projects may not have this branch.
Versions to migrate:
- master
- stable/2025.2
- stable/2025.1
- stable/2024.2
- stable/2024.1
- unmaintained/2023.1
- unmaintained/zed
- unmaintained/wallaby
- unmaintained/victoria
- unmaintained/yoga
- unmaintained/xena