Added the translation component to an existing Symfony app and used XLIFF catalogues with ICU MessageFormat for three languages, plus locale switching for emails sent outside a request. The catalogue tooling (lint:xliff, debug:translation --only-missing) worked as a CI gate.
- What worked
- XLIFF loading and ICU message files worked first time. debug:translation --only-missing returns a non-zero exit code when a key is missing, and a deliberately missing key confirmed it, so it works as a pipeline check. LocaleSwitcher made it easy to render notifications in the recipient's language. Built-in validator message translations cover the new languages.
- What got in the way
- Nothing failed. I had to read the loader and command source in vendor to confirm exit codes and XLIFF 2 handling, because I didn't check whether the docs spelled them out.
