GoogleCodeIn2012/MsgfmtChecker

< GoogleCodeIn2012
Revision as of 23:29, 25 October 2012 by Cjl (talk | contribs)

Our Pootle server is capable of performing a variety of important checks on PO files, catching many error types; however there are still some instances where there are errors in the PO files that fail msgfmt checks and result in problems during attempts to build the program.

This task is to create a Python program that can be added to the administrative tools we use for Pootle. Pootle-helpers and run with these tasks by the nightly Pootle cron job.

The requirements of this program are tha tit traverse the checkouts directory on the Pootle server, and for each PO file it finds, runs msgfmt on that PO file. If there are no errors, nothing is returned. If any result is returned, it should be sent to the translation team in an e-mail alerting them tha there is a PO file that needs attention.