| GNU gettext for Delphi, C++ Builder and Kylix 1.2 beta | ||
|---|---|---|
| <<< Previous | Advanced topics | Next >>> |
The msgfmt program is able to output some statistics about the contents of a po file:
C:\source\sf\DXGETT~1\TRANSL~1\de>msgfmt --statistics kylix3.po 1815 translated messages, 113 fuzzy translations, 53 untranslated messages. |
Additionally, the msgshowheader tool is able to show the header of a compiled mo file:
C:\source\sf\DXGETT~1\TRANSL~1\de>msgshowheader kylix3.mo Project-Id-Version: Kylix 3 German POT-Creation-Date: 2003-03-02 18:54 PO-Revision-Date: 2003-07-02 17:20+0100 Last-Translator: Sandro Wendt <info@xan.de> Language-Team: XAN <info@xan.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit |
In order to generate statistics about translations, we just need to be able to create a web page by iterating over all po files and parse the output from the above programs. There is a Python script in the translations CVS module on SourceForge for this purpose.
For further information on this topic, ask in our forum.
| <<< Previous | Home | Next >>> |
| Advanced topics | Up | Multiple instances |