i18n:setting_up_a_new_series_translation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
i18n:setting_up_a_new_series_translation [2023/05/03 12:58] – [WIP: updating the instructions] gmcharlton | i18n:setting_up_a_new_series_translation [2024/05/23 17:11] (current) – Introducing screenshots to illistrate configure branch bmagic | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Setting up a new series translation in Launchpad ====== | + | ======= Setting up a new series translation in Launchpad |
- | Evergreen translations are currently hosted on [[https:// | + | Evergreen translations |
+ | ====== Prerequisites ====== | ||
+ | |||
+ | ===== Launchpad Permissions ===== | ||
+ | |||
+ | In order to perform these steps, you must have the following privileges in Launchpad: | ||
+ | |||
+ | - Be a member of the [[https:// | ||
+ | - Be a member of the [[https:// | ||
===== Install and setup Bazaar ===== | ===== Install and setup Bazaar ===== | ||
Line 9: | Line 17: | ||
- Set launchpad login (replace " | - Set launchpad login (replace " | ||
- | ===== Use bzr-git to clone Evergreen git branch ===== | ||
- | - Install bzr-git package (if available): <code bash> | + | ====== Procedure ====== |
- | - Clone git repo branch via bzr: <code bash>bzr branch git:// | + | |
- | - Push new bzr clone to Launchpad: <code bash>cd rel_2_12 ; bzr push lp: | + | |
- | - Also, setup a new translation-export bzr branch (TBD) | + | |
- | ===== Setup cron job to sync things ===== | + | This procedure uses Evergreen 3.11 as an example. When implementing this procedure, replace |
- | + | ||
- | Example crontab entries:< | + | |
- | # update local rel_2_12 at 10:00 pm every day | + | |
- | 0 22 * * * cd ~/rel_2_12 ; bzr pull > /dev/null 2>& | + | |
- | + | ||
- | # push to launchpad at 10:10 pm every day | + | |
- | 10 22 * * * cd ~/rel_2_12 ; bzr push lp: | + | |
- | </ | + | |
- | + | ||
- | ===== Setup Launchpad translation for series ===== | + | |
- | + | ||
- | TODO: Cleanup these instructions | + | |
- | + | ||
- | - In Launchpad translations site, go to area for "Set up translations for a series" | + | |
- | - Click on the series you want to have setup and choose " | + | |
- | - Click the link for "Set it now!" next to the text "This series does not have an official Bazaar branch." | + | |
- | - Link to a Bazaar branch already on Launchpad like " | + | |
- | - Also set the export translations to a branch option | + | |
- | + | ||
- | ====== WIP: updating the instructions ====== | + | |
- View Bazaar branches: https:// | - View Bazaar branches: https:// | ||
- | - Import a branch | + | - Import a branch |
- Owner: evergreen-bugs | - Owner: evergreen-bugs | ||
- | - Name: rel_3_8 | + | - Name: **rel_3_11** |
- | - Git: [[git:// | + | - Git: [[git:// |
- | - dest source control is bzr | + | - Target |
- | - then request the import and wait for to complete | + | - then request the import and wait for to complete |
- After import done, go to overview for Evergreen in Launchpad, select the corresponding series, configure series branch, then point at the new branch you just created | - After import done, go to overview for Evergreen in Launchpad, select the corresponding series, configure series branch, then point at the new branch you just created | ||
+ | - {{: | ||
+ | - {{: | ||
+ | - {{: | ||
+ | - {{: | ||
- Create a bzr checkout: | - Create a bzr checkout: | ||
- | - bzr branch lp: | + | - < |
- | - cd 3.8 | + | - < |
- then push to a new translation-export branch | - then push to a new translation-export branch | ||
- | - bzr push lp: | + | - < |
- Now we have a place for LP to send translation exports | - Now we have a place for LP to send translation exports | ||
- | - Go to translations | + | - Go to translations |
- | - Choose to do an automatic export for the series | + | - Choose to do an automatic export for the series |
- by registering the branch for the series, it recognizes it, so we only need to set the settings | - by registering the branch for the series, it recognizes it, so we only need to set the settings | ||
- import template and translation | - import template and translation | ||
- | - set the translations export branch created earlier | + | - set the translations export branch created earlier |
- | - may need to request a one-time import to get it kicked off | + | - Once the translation automatic sync is set up, you may need to wait for up to a day for the imports and exports to run for the first time. |
- | - may need to wait a day | + | |
i18n/setting_up_a_new_series_translation.1683133089.txt.gz · Last modified: 2023/05/03 12:58 by gmcharlton