Plugin source location: <serge_root>/lib/Serge/Engine/Plugin/parse_pot.pm
This plugin is used to parse GNU Gettext .PO/.POT files. Plurals are supported. All comments and references are extracted and combined as a hint.
# translator-comments
#. automatic-comments
#: reference
#, flag
msgid "string"
msgstr ""
#. comment
msgid "string-singular"
msgid_plural "string-plural"
msgstr[0] ""
msgstr[1] ""
Limitation: in generated localized .po files, header is not modified. This means that Language:
and Plural-Forms:
lines in the header, if originally present, will not be changed. If necessary, these headers can now be rewritten by the means of replace_strings plugin.