-
Notifications
You must be signed in to change notification settings - Fork 4
The gettext lint tools is a collection of tools for checking the validity, consistency and spelling of PO and POT files. It also includes an experimental glossary building tool.
License
pedromorais/gettext-lint
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.
About
The gettext lint tools is a collection of tools for checking the validity, consistency and spelling of PO and POT files. It also includes an experimental glossary building tool.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published