Translations in server components / nuxt islands #3242
Unanswered
niklaswolf
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I use translations (with
$t(...)
) in Nuxt islands (server components)?Out of the box it is not working for me, it is always using the default locale.
I can imagine that this is because the locale is not passed during the call of the server component, thus the locale context can not be determined...
I observe the following request:
I assume I need to somehow pass the current locale to determine the locale on the server side... is there a best-practice on how to do this?
Beta Was this translation helpful? Give feedback.
All reactions