We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
see here: https://codesandbox.io/p/github/zjluse/nuxt3-i18n-demo/main?workspaceId=8e4ff903-42a7-414f-a4d0-eae55a1e012d
I want to use t in the setup function to set the language so that I can toast or dynamically load text, but setLocale does not take effect.
No response
The text was updated successfully, but these errors were encountered:
The computed attribute is valid, but it is not suitable for use in some scenarios
const text = computed(() => { return t("welcome"); });
Sorry, something went wrong.
I'm not sure what the issue is and I'm unable to access your reproduction, perhaps it's not public?
No branches or pull requests
Environment
see here:
https://codesandbox.io/p/github/zjluse/nuxt3-i18n-demo/main?workspaceId=8e4ff903-42a7-414f-a4d0-eae55a1e012d
Reproduction
see here:
https://codesandbox.io/p/github/zjluse/nuxt3-i18n-demo/main?workspaceId=8e4ff903-42a7-414f-a4d0-eae55a1e012d
Describe the bug
I want to use t in the setup function to set the language so that I can toast or dynamically load text, but setLocale does not take effect.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: