Changes between Version 4 and Version 5 of TranslationSystem


Ignore:
Timestamp:
Oct 16, 2013, 9:55:54 AM (11 years ago)
Author:
romw
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TranslationSystem

    v4 v5  
    4848== Translation ==
    4949
    50 Twice daily a cron job pulls modified templates from the BOINC repo and adds them to the Pootle database.
    51 DETAILS?
     50Twice daily a cron job (~boincam/pootle/update.sh) pulls modified templates from
     51the BOINC repo and adds them to the Pootle database.
    5252
    53 [http://docs.translatehouse.org/projects/pootle/en/stable-2.5.0/server/commands.html Pootle Commands]
     53Various [http://docs.translatehouse.org/projects/pootle/en/stable-2.5.0/server/commands.html Pootle Commands].
    5454
    55 Pootle takes care of the bulk of this with the following commands (pootle/update.sh):
    56 {{{
    57 /usr/bin/pootle commit_to_vcs --project boinctrunk
    58 /usr/bin/pootle update_from_vcs --project boinctrunk
    59 /usr/bin/pootle update_against_templates --project boinctrunk
    60 /usr/bin/pootle refresh_stats --project boinctrunk
    61 }}}
     55update.sh should perform the following functions for each supported pootle project (boinctrunk, setiweb):
     561. Commit to VCS all existing changes to PO files. (pootle command: commit_to_vcs)
     572. Update from VCS all templates for each project. (pootle command: update_from_vcs)
     583. Apply template changes to all projects/languages. (pootle command: update_against_templates)
     594. Compile all catalogs used by the client software into MO files. (Execute: boinc/locale/updatetrans.sh)
     605. Commit to VCS all existing changes to MO files. (git command: commit)
     61
     62All pootle operations are limited to just the boinc/locale directory structure.  Projects are expected to
     63have a similar structure.
    6264
    6365== Post Translation Updates ==
    64 
    65 After all the latest updates have been committed the compiled PO files need to be updated.
    66 The end of the pootle/update.sh file it executes boinc/locale/updatetrans.sh which handles compiling the PO files into MO files.
    67 IS THIS AUTOMATED?
    6866
    6967Converting the Android PO file back into the native Android localization system XML files involves executing: