Skip to content
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

The message that is resolve with key XXXXX is not supported for jit compilation #2394

Closed
GaborTorma opened this issue Sep 10, 2023 · 2 comments

Comments

@GaborTorma
Copy link
Contributor

Environment

  • Operating System: Linux
  • Node Version: v16.20.0
  • Nuxt Version: 3.7.1
  • CLI Version: 3.8.1
  • Nitro Version: 2.6.3
  • Package Manager: [email protected]
  • Builder: -
  • User Config: modules, i18n
  • Runtime Modules: @nuxtjs/[email protected]
  • Build Modules: -

Reproduction

You can use this stackblitz.
Only start and see the console. You will get the message.

Describe the bug

When I use defineI18nLocale function I get the following message for all used translation:
The message that is resolve with key XXXXX is not supported for jit compilation

I created some other test case, you can change it in a nuxt.config.ts.

Additional context

No response

Logs

No response

@BobbieGoede
Copy link
Collaborator

Thanks for reporting! This issue has already been fixed in #2387 and will be included in the next release, you can try it out by installing the edge version by running the npm i -D @nuxtjs/i18n@npm:@nuxtjs/i18n-edge.

@fhlta
Copy link

fhlta commented Sep 13, 2023

Thanks for reporting! This issue has already been fixed in #2387 and will be included in the next release, you can try it out by installing the edge version by running the npm i -D @nuxtjs/i18n@npm:@nuxtjs/i18n-edge.

Save my day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants