Changes between Version 8 and Version 9 of TranslationSystem
- Timestamp:
- Oct 17, 2017, 12:58:07 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TranslationSystem
v8 v9 1 = T ranslating BOINC=1 = The BOINC translation system= 2 2 3 3 The translation of BOINC involves several steps: … … 14 14 || BOINC web site || doc/ || locale/templates/BOINC-Web.pot || locale/<lang>/BOINC-Web.po || 15 15 || Project web site || html/user/ || locale/templates/BOINC-Project-Generic.pot || html/languages/translations/<lang>.po || 16 || Drupal web site || drupal/ || locale/templates/BOINC-Drupal.pot || imported directly from transifex into Drupal DB || 16 17 || Client || client/ || locale/templates/BOINC-Client.pot || locale/<lang>/BOINC-Client.po || 17 18 || Manager || clientgui/ || locale/templates/BOINC-Manager.pot || locale/<lang>/BOINC-Manager.po || … … 20 21 21 22 In order to update templates or translations one needs to have write permissions in the BOINC github repository and be a maintainer on the BOINC Transifex project. The tools '''xgettext, tx and pocompile''' (Debian packages: gettext, transifex-client, translate-toolkit) need to be installed to do the updates. 23 The transifex client needs to be configured with credentials of your transifex account in order to use it (see: https://docs.transifex.com/client/client-configuration#-transifexrc). 22 24 Android uses different language codes for regional languages so there is an additional mapping configured in '''.tx/config'''. 23 25 … … 43 45 New translations need to be downloaded from Transifex and committed into the BOINC Github repository using '''locale/update_translations.sh'''. Translations are only downloaded if they are 100% complete and already present in the repository. New translations need to be downloaded using '''tx pull -a'''. 44 46 47 '''Note:''' Transifex uses the timestamp of .po files to determine if new ones need to be downloaded. Since git updates timestamps when switching branches it may be necessary to force the download of translations ('''tx -f''') in order to get the newest ones. 48 45 49 This workflow currently does not delete outdated translation files from the git repository! 46 50