When there is an issue in a translated .po file, the error isn't thrown and no information is logged about the error. For example:
msgid "This is a string"msgstr "This is a "string"
Where the error is an extra set of quotes right before the msgstr "string".
Given the above .po file, no error will be raised, nothing will be written, and "file written" will be incorrectly logged.
🐛 Bug Report
When there is an issue in a translated .po file, the error isn't thrown and no information is logged about the error. For example:
msgid "This is a string"
msgstr "This is a "string"
Where the error is an extra set of quotes right before the msgstr "string". Given the above .po file, no error will be raised, nothing will be written, and "file written" will be incorrectly logged.
To Reproduce
msgid "This is a string" msgstr "This is a "string"
Expected behavior
An error is raised indicating what went wrong and that no file is written.
Your Environment