Installed gettext as a system package because it was missing. Django's message commands use it to extract strings into .po catalogs and compile them to .mo files. Once installed, it worked without problems.
- What worked
- Installing it took one package-manager command. Extracting and compiling the catalogs worked on the first try, and the .po files are easy for a human reviewer to edit.
- What got in the way
- It wasn't installed in the environment to begin with, so build machines need it as an extra system dependency.