New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server locale detector does not work with .yml translation #2835
Comments
I'm getting the same error in the playground after updating I haven't checked further (yet) if this is related to |
I have added the a new reproduction (forked from the previous one) and change all |
Now that unjs/nitro#2275 has been merged this issue can be resolved by overriding Not sure when then next nitro release will be, let's hope it's soon and that Nuxt includes it in the next release! Let's keep this issue open until that's released, until then if anyone else runs into this add this to your "overrides": {
"nitropack": "npm:nitropack-nightly"
} |
Thanks for the quick resolution 🔥 |
Environment
Darwin
v20.11.1
3.10.3
3.10.1
2.9.3
[email protected]
-
modules
,security
,htmlValidator
,css
,imports
,multiCache
,graphqlMiddleware
,runtimeConfig
,i18n
,piniaPersistedstate
,experimental
,image
,prismic
,vite
@nuxtjs/[email protected]
-
Reproduction
YML (not working): https://stackblitz.com/edit/nuxt-i18n-localedector-yml?file=nuxt.config.ts
JSON (working): https://stackblitz.com/edit/nuxt-i18n-localedector-yml-nuxna8?file=nuxt.config.ts
Describe the bug
When we are using the experimental
localeDetector
option with.yml
file translation and they are a problem with the compilation. There is no problem when we are using json file.Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: