Jump to: navigation, search

Difference between revisions of "I18nTeam/Migration-to-weblate"

(Created page with "== Migration to weblate == === Planning a weblate migration schedule === === Etherpads === * [https://etherpad.opendev.org/p/vancouver-forum-i18n OpenInfra Summit Vancouver...")
 
m (added description for weblate_users.py)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
== Migration to weblate ==
 
== Migration to weblate ==
 +
 +
=== Who's joining the migration project ===
 +
* Ian Y. Choi (Manager)
 +
* Seongsoo Cho
 +
* Kuemjong Jeong
 +
* Nayeon Kim
 +
* Sion Shin
  
 
=== Planning a weblate migration schedule ===
 
=== 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.
 +
* 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
 +
* 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 )
  
 
=== Etherpads ===
 
=== Etherpads ===
 
* [https://etherpad.opendev.org/p/vancouver-forum-i18n OpenInfra Summit Vancouver 2023 Forum]
 
* [https://etherpad.opendev.org/p/vancouver-forum-i18n OpenInfra Summit Vancouver 2023 Forum]
 
* [https://etherpad.opendev.org/p/i18n-weblate i18n weblate migration]
 
* [https://etherpad.opendev.org/p/i18n-weblate i18n weblate migration]

Latest revision as of 16:33, 26 February 2024

Migration to weblate

Who's joining the migration project

  • Ian Y. Choi (Manager)
  • Seongsoo Cho
  • Kuemjong Jeong
  • Nayeon Kim
  • Sion Shin

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.
  • 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

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

Etherpads