PoParser
PoParser copied to clipboard
Gettext *.po files parser for PHP
When reading a file with a comment not attached to a translation block, there logs get spammy foo.po ``` # Foo msgid "Foo" msgstr "Fop" # foo ``` comments.php ```
Given file `foo.po` ``` # "Bar" Something about "Foo" msgid "Foo" msgstr "Fop" ``` Running `quotes.php` over it (which doesn't change anything of the file itself): ```
Some PO files contain just a inline ... # Comment ... Or something like that. This should not trigger a complete parse error if possible. This way it is a...
Are you accepting pull requests?