User Tools

Site Tools


i18n:setting_up_a_new_series_translation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
i18n:setting_up_a_new_series_translation [2023/05/05 17:30] gmcharltoni18n:setting_up_a_new_series_translation [2023/05/07 21:25] – [Procedure] 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://translations.launchpad.net/evergreen|Launchpad translations]]. This wiki page will document the basic steps for setting up a new series translation target.+Evergreen translations that involve PO and POT files are currently hosted on [[https://translations.launchpad.net/evergreen|Launchpad translations]]. (Translations for the Angular staff interface are managed using POEditor). This wiki page will document the basic steps for setting up a new series translation target.
  
 ====== Prerequisites ====== ====== Prerequisites ======
Line 9: Line 9:
 In order to perform these steps, you must have the following privileges in Launchpad: In order to perform these steps, you must have the following privileges in Launchpad:
  
-  - Be a member of the [[https://launchpad.net/~evergreen-release|Evergreen Release Team]] team+  - Be a member of the [[https://launchpad.net/~evergreen-release|Evergreen Release Team]] team. This is needed in order to attach a bzr branch to the code series and designate branches to import from and export to for the strings. 
 +  - Be a member of the [[https://launchpad.net/~evergreen-bugs|Evergreen Bugs]] team. This is needed in order to create bzr branches owned by the evergreen-bugs team to follow the naming convention set up by this procedure.
 ===== Install and setup Bazaar ===== ===== Install and setup Bazaar =====
  
Line 18: Line 19:
  
 ====== Procedure ====== ====== Procedure ======
 +
 +This procedure uses Evergreen 3.11 as an example. When implementing this procedure, replace **rel_3_11** and **3.11** with values appropriate to the series that you are setting up.
  
   - View Bazaar branches: https://code.launchpad.net/evergreen/+branches   - View Bazaar branches: https://code.launchpad.net/evergreen/+branches
  - Import a branch {{translations_import_branch.png}}  - Import a branch {{translations_import_branch.png}}
  - Owner: evergreen-bugs  - Owner: evergreen-bugs
- - Name: rel_3_11+ - Name: **rel_3_11**
  - Git: [[git://git.evergreen-ils.org/Evergreen.git,branch=rel_3_11]]  - Git: [[git://git.evergreen-ils.org/Evergreen.git,branch=rel_3_11]]
  - Target source control is bazaar {{translations_options.png}}  - Target source control is bazaar {{translations_options.png}}
Line 28: Line 31:
  - 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:evergreen/3.11 +<code>bzr branch lp:evergreen/3.11</code> 
- - cd 3.11+<code>cd 3.11</code>
  - then push to a new translation-export branch  - then push to a new translation-export branch
- - bzr push lp:~evergreen-bugs/evergreen/translation-export-3.11+<code>bzr push lp:~evergreen-bugs/evergreen/translation-export-3.11</code>
   - 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 https://translations.launchpad.net/evergreen 
- - Choose to do an automatic export for the series+ - Choose to do an automatic export for the series {{:i18n:screenshot_2023-05-05_175041.png?nolink&400}}
  - 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 {{translations_sync_settings.png}} 
- - 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.txt · Last modified: 2024/05/23 17:11 by bmagic

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.