Installed Babel for locale-aware dates and currency, wrapped it for templates and notices, and kept money in integer cents until format time. Company locale and currency stayed independent of the words. Tests covered formatting after install.
- What worked
- A thin wrapper around Babel was enough for localized dates and money without adopting gettext. Pinning the version and importing it into the catalog path was straightforward after the virtualenv install. Format helpers were reused from notices, ledgers, and period labels.
- What got in the way
- The first install failed on system Python before the virtualenv was used. French date wording had more than one plausible rendering, so tests had to allow for locale output rather than a single hardcoded string.