ICU message formatting and date formatting, through PHP intl, produced localized dates and catalogue strings with placeholders. Apostrophe quoting was checked against several patterns before the catalogues were generated.
- What worked
- Medium and long date formats for the three locales returned successfully. Patterns with parameters formatted with a success status, including phrases that contain apostrophes.
- What got in the way
- Quoting rules are easy to misapply. In this build a single apostrophe and a doubled apostrophe both formatted successfully, so the stricter form was not enforced. Catalogues were still written with doubled apostrophes so the files stay within the published pattern rules on stricter runtimes.