Changes between Version 8 and Version 9 of TranslationSystem


Ignore:
Timestamp:
Oct 17, 2017, 12:58:07 AM (6 years ago)
Author:
Christian Beer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TranslationSystem

    v8 v9  
    1 = Translating BOINC =
     1= The BOINC translation system=
    22
    33The translation of BOINC involves several steps:
     
    1414 || BOINC web site || doc/ || locale/templates/BOINC-Web.pot || locale/<lang>/BOINC-Web.po ||
    1515 || 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 ||
    1617 || Client || client/ || locale/templates/BOINC-Client.pot || locale/<lang>/BOINC-Client.po ||
    1718 || Manager || clientgui/ || locale/templates/BOINC-Manager.pot || locale/<lang>/BOINC-Manager.po ||
     
    2021
    2122In 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.
     23The 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).
    2224Android uses different language codes for regional languages so there is an additional mapping configured in '''.tx/config'''.
    2325
     
    4345New 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'''.
    4446
     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
    4549This workflow currently does not delete outdated translation files from the git repository!
    4650