Previous: Format Type API, Up: Writing your own programs that process PO files [Contents][Index]
Tests whether the entire file is valid, like msgfmt
does it. If it
is invalid, passes the reasons to handler.
Tests message, to be inserted at iterator in a PO file in memory,
like msgfmt
does it. If it is invalid, passes the reasons to
handler. iterator is not modified by this call; it only
specifies the file and the domain.
Tests whether the message translation from message is a valid format string if the message is marked as being a format string. If it is invalid, passes the reasons to handler.
This function is exported as ‘po_message_check_format_v2’ at ABI
level, but is defined as po_message_check_format
in C code after
the inclusion of ‘<gettext-po.h>’.