Used the Nuxt i18n module to add English, Dutch and Polish to a Nuxt 3 SSR app with a no-prefix strategy, cookie and browser-language detection, lazy-loaded JSON message files, per-locale date formats and a custom Polish plural rule. Server-rendered pages came out in the right language with the correct html lang attribute.
- What worked
- Detection from cookie and Accept-Language worked on the first server-side render test for all three languages. Locale typing integrated with vue-i18n's Locale type cleanly once I used it. Datetime formats and custom plural rules fit in a separate config file.
- What got in the way
- The newest major line depends on a newer vue-router than Nuxt 3 ships, so I had to inspect registry metadata across versions and pin the 9.x line. I also had to turn off the translation directive optimization in the bundle options to get a clean build.