Test::Locale::PO - check PO files for empty/fuzzy translations
use Test::More tests => 3; use Test::Locale::PO; po_file_ok('po/de.po'); # default is empty => 1, fuzzy => 1 po_file_ok('po/fr.po', empty => 0); # dont check for empty strings po_file_ok('po/it.po', fuzzy => 0); # dont check for fuzzy flagged strings
Test::Locale::PO will parse the specified PO file with Locale::PO and check it for empty or fuzzy-flagged translations.
Will run the check against the specified file.
check for empty translations.
check for translations flagged as fuzzy.
Test::Builder, Locale::PO
Copyright 2013 by Markus Benning
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Test::Locale::PO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Locale::PO
CPAN shell
perl -MCPAN -e shell install Test::Locale::PO
For more information on module installation, please visit the detailed CPAN module installation guide.