email@example.com (Barry A. Warsaw) writes:
Excellent. Actually come to think of it, it might be more useful going into the Python distro, perhaps as python/Tools/i18n/checkcatalog.py. It would need a bit more generalization but not much.
Traditionally (atleast for GNU gettext), msgfmt had a "strict" mode, where it finds all kinds of problems. In case msgfmt.py is acceptable for the build process, I think it could be enhanced to perform checks as well. Patches are welcome.