i18n:setting_up_a_new_series_translation
This is an old revision of the document!
Table of Contents
Setting up a new series translation in Launchpad
Evergreen translations are currently hosted on Launchpad translations. This wiki page will document the basic steps for setting up a new series translation target.
Install and setup Bazaar
- Install Bazaar:
sudo apt-get install bazaar
- Setup your bzr account details:
bzr whoami “FirstName LastName <email@address>”
- Set launchpad login (replace "launchpadusr" with actual LP username):
bzr launchpad-login launchpadusr
Use bzr-git to clone Evergreen git branch
- Install bzr-git package (if available):
sudo apt-get install bzr-git
- Clone git repo branch via bzr:
bzr branch git://git.evergreen-ils.org/Evergreen.git,branch=rel_2_12
- Push new bzr clone to Launchpad:
cd rel_2_12 ; bzr push lp:~launchpadusr/evergreen/rel_2_12
- Also, setup a new translation-export bzr branch (TBD)
Setup cron job to sync things
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>&1 # push to launchpad at 10:10 pm every day 10 22 * * * cd ~/rel_2_12 ; bzr push lp:~launchpadusr/evergreen/rel_2_12 > /dev/null 2>&1
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 "automatic import" link
- 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 "~launchpadusr/evergreen/rel_2_12"
- Also set the export translations to a branch option with "Choose a target branch" and link to the translation-export branch setup previously for a given series.
i18n/setting_up_a_new_series_translation.1644518097.txt.gz · Last modified: 2022/02/10 13:34 by 127.0.0.1