Hi,
I don't know if anyone is familiar with a little tool called
msgcheck. It's a linter for gettext files and happens to be written in Python.
I've been using it for a couple projects now, to keep my translations in order and also contributed a couple features to it.
Anyhow, I did just run it on all of Django's translations files and OH BOY. There are plenty places where we have leading or trailing whitespaces or a missing trailing dots.
Summary:
TOTAL: 623 files OK, 438 files with 2995 errors
Without the trailing dot errors, it's a bit better:
TOTAL: 832 files OK, 229 files with 613 errors
What do you guys think, should we maybe introduce such a linter?
If you want to check it out yourself:
pip install msgcheck
msgcheck -c $(find . -name django.pd) | less
Best
-joe