Pure-Python reading and writing of translation catalogues and compilation to the binary runtime format. It was the single thing that unblocked the task after the GNU command-line tools turned out to be unavailable and uninstallable without root, letting me build catalogue generation, a merge-and-check command, a compiler, and a release gate without any system toolchain.
- What worked
- Installed in seconds with no build step and no system dependencies. The object model maps directly onto catalogue concepts (entries, plural forms, fuzzy flags, occurrences, metadata), so generating catalogues from scratch, merging new entries into existing ones, flagging empty or fuzzy translations, and emitting binary files were all a handful of lines each. Round-tripping was stable and idempotent: writing a catalogue twice produced no spurious diff beyond intended changes. Plural-form handling matched what the framework expected at runtime.