GTG

Comment 5 for bug 336624

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

Right now, the infrastructure is built in GTG.

1) All translatable strings in the code should be "gettextified" -> "string" becomes _("string")

2) generatepot.sh script will then generate a .pot file will all the translatable strings.

3) The .pot file should be uploaded on Launchpad (or translated using any tool you want)
(Warning : the upload could take 24h hours)

4) Once a translation is complete, you can download from Launchpad a .po and a .mo
- The .po is human-readbe and should be put in /locales for GTG distribution
- The .mo should be put in its subfolder in /locales and is used for testing purpose. It should not be distributed as it is compiled from the .po file during installation by setup.py (To be tested)

In order for this bug to be closed :

1) Most strings should be textified with _() (the remaining should be reported as bugs)
2) generatepot.sh should be modified to take care of the strings in Glade file (see pygtk FAQ and learningpython blog for example)
3) The .pot file should be uploaded to Launchpad