Installed Babel for CLDR-based currency, date, time, number and percent formatting across en-US, es and fr-CA. I also used its PO reader/writer to apply translation drafts and to verify that compiled catalogues were up to date.
- What worked
- Currency and percent output followed each locale correctly, for example fr-CA spacing and placement of the $ sign, without any hand-written patterns. The pofile read/write API made it simple to apply drafted translations and compare catalogues programmatically.
- What got in the way
- There are no locales for some language and country combinations, such as es_CA and fr_US, so I needed my own fallback. The medium datetime style includes seconds, so I had to combine date and time formats myself. write_mo fills untranslated plural entries with the English source text and writes the header differently from msgfmt, so I couldn't use it as the reference in an up-to-date check.