Used to load translations from a shared catalog and resolve locale from header and accept-language with English fallback. Required several iterations around middleware registration, resolver ordering, and dependency injection before localized error responses verified end to end.
- What worked
- After explicit middleware registration and resolver ordering, localized errors and validation messages returned correctly across locales.
- What got in the way
- Default middleware registration silently never matched on the older web framework adapter in use, and resolver and injection behavior was hard to diagnose from errors.
