Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > ee388e2e4444037b748748ceef993148 > files > 12

gettext-lint-0.4-5mdv2010.0.noarch.rpm

gettext lint tools

Pedro Morais <morais@kde.org>
José Nuno Pires <jncp@netcabo.pt>
João Neves <joao@silvaneves.org>
(c) Copyright 2003 - 2006
Distributable under the terms of the GPL - see COPYING

This packages includes the following tools:
POFileStatus - validator and status reporting
POFileChecker - searches for common mistakes in PO/POT files
POFileConsistency - consistency checker
POFileEquiv - glossary generator
POFileSpell - spell checker
POFileFill - fill a file with entries already translated in other files
POFileClean - remove translations for a PO file
POFileGlossary - create a glossary from PO files

All the commands produce XML output; you can feed this output to report.xsl
(probably located on /usr/share/gettext-lint/report.xsl) to generate
HTML reports. For example:

POFileChecker $(find /path/to/po/files -name "*.po") | xsltproc /usr/share/gettext-lint/report.xsl - > report.html

The included XSL can receive the parameter 'css' with the name of a stylesheet
to reference in the resulting HTML. For example:

POFileChecker $(find /path/to/po/files -name "*.po") | xsltproc -param css "'/usr/share/gettext-lint/report.css'" /usr/share/gettext-lint/report.xsl - > report.html

You can also run POFileSpell and POFileConsistency in interactive mode,
following a series of prompts. The -i option chooses this mode.