ICU, through PHP's message and date formatters, rendered catalogue strings and medium dates for French, English, and Portuguese. Apostrophes in source text had to be doubled or the pattern failed. After the patterns were valid, the three date forms were stable and tests compared them to the platform formatter.
- What worked
- The medium date style produced a distinct, appropriate form for each locale without hand-written numeric patterns. Valid messages then formatted consistently.
- What got in the way
- A pattern with a single apostrophe failed in a way that surfaced the message key rather than a clear syntax error. Doubling apostrophes was easy to get wrong, and the failure was first mistaken for a catalogue that had not loaded.