-
Notifications
You must be signed in to change notification settings - Fork 340
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
@nuxtjs/i18n
does not extract from .js
files (but .json
works)
#1258
Labels
bug
Something isn't working
Comments
From the log, I see that
If I manually add
I get this error:
But the JS file seems formatted correctly: export default {
'Welcome playground': 'Bienvenue playground',
}; |
Seems to be related to #994 But the proposed solution doesn't work for me.
Now, I have this error:
|
tsconfig.json generated by Nuxt:
tsconfig.server.json generated by Nuxt
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
@nuxtjs/i18n
does not extract from.js
files (but.json
works)Extension Version
2.13.1
Framework/i18n package you are using
@nuxtjs/i18n@^9.1.1
To Reproduce
My Nuxt config:
My template:
Device Infomation
Extension Log
Go to
View
->Output
->i18n Ally
, and paste the content below. You should mask any sensitive informationScreenshots
With .js locales (and one translation from the .vue
<i18n>
block inside the SFC):With .json files (and one translation from the .vue
<i18n>
block inside the SFC):The text was updated successfully, but these errors were encountered: