Needed msgfmt and xgettext under Django's makemessages and compilemessages. They weren't installed at first, so I added them with the system package manager, and I added them to the CI and Docker images too. After that they extracted and compiled catalogs without problems, and the format check caught a broken placeholder.
- What worked
- Format checking during compilation reliably caught a broken placeholder in a translation.
- What got in the way
- It's an extra system dependency that every build image has to install. msgfmt also ignores a header marked fuzzy, so I had to fix the headers it generated.