-
-
Notifications
You must be signed in to change notification settings - Fork 495
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
[NEXT] Could not find de locale in localeMessages #1610
Comments
Same here. I am on Nuxt 3.0.0-rc.12 and @nuxtjs/i18n-edge. I had to move my |
Thank you for your reporting!
You need to use JSON format as locale resources, not JavaScript executable format.
you need to specify relative path from nuxt app project on |
Hi @kazupon, why you only use JSON, JSON5 and YAML and not Javascript? Today my nuxt@2 project works with the same library. Example : import { View1 } from "@/pages/views1/lang/fr";
import { View2 } from "@/pages/views2/lang/fr";
import { View3 } from "@/pages/views3/lang/fr";
export default {
lang: "fr",
...views1,
...views2,
...views3
} |
I'm working on js/ts supporting. |
Version
@nuxtjs/i18n: 8.0.0-beta.3
nuxt: 3.0.0-rc.12
Nuxt configuration
Reproduction Link
https://github.com/juni0r/nuxi18n
What is Expected?
Locale file for 'de' is loaded from
~/locales/de.js
What is actually happening?
The text was updated successfully, but these errors were encountered: