po-python-parse-printf (PO003)#

A translation does not match the % placeholders of its source.

What it does#

For entries flagged python-format, formats the translation with the arguments the source text expects (%s, %d, %(name)s) and reports the error Python raises, such as a missing or extra placeholder.

Why is this bad?#

The translated message raises an exception at run time, in that language only, often in an error message that then hides the real error.

Example#

#, python-format
msgid "Order %s confirmed"
msgstr "Bestelling bevestigd"