Locale via plugin is incorrect - v9.1.2 regression #3330
Labels
❗ p4-important
Priority 4: bugs that violate documented behavior, or significantly impact perf
regression
Environment
Reproduction
https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-tn4vweh6?file=nuxt.config.ts
Visit a locale prefix path such as
/nl
and you'll see it printsen
when it should benl
.Describe the bug
Previous to v9.1.2 we were able to get the locale for the route from a plugin. See https://github.com/harlan-zw/nuxt-site-config/blob/main/packages/module/src/runtime/app/plugins/i18n.server.ts
Additional context
This is breaking most of my modules :( If there's a workaround, I'm happy to implement that instead.
Logs
The text was updated successfully, but these errors were encountered: