-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
fix: extends / layers support for i18n.config.ts
#1992
Comments
Hi I am facing similar issue when I am trying to use
When I try to use relative pathSince I am using layers, I cannot use just nuxtI18nOptions.locales = [
Object({ code: 'cs', file: 'cs.yml', path: '/home/kleinpetr/Projects/.../apps/top-layer-app/locales/cs.yml' }),
Object({ code: 'cs', file: 'cs.yml', path: '/home/kleinpetr/Projects/.../apps/top-layer-app/locales/cs.yml' }),
] My folder structure (avoided generic files)
So it seems that it creates two times the same path, relative path to the When I use |
I've fixed this issue. |
Works for me! Thanks ❤️ |
The build pipeline still shows some 500 errors, |
Where we can expect it in the stable release? |
This fix is part of beta.12 |
Environment
Reproduction
https://stackblitz.com/edit/github-akfq2d?file=playground%2Fnuxt.config.ts
Describe the bug
A project extending another one that uses the new
i18n.config.ts
errors as the file path is not resolved properly.The text was updated successfully, but these errors were encountered: