Used ICU MessageFormat catalogues for placeholders and locale-aware messages. Apostrophes had to be doubled for MessageFormat; a translation preview still showed the escaped source rather than the rendered string.
- What worked
- Named placeholders and locale-aware messages loaded through the translator once apostrophes were doubled. Generated catalogues parsed under XLIFF lint for all three languages.
- What got in the way
- Apostrophe escaping is easy to get wrong, including strings that were already escaped in PHP. The translation preview printed the raw doubled-apostrophe source, which looked like a catalogue defect.