How can I merge translations coming via a middleware from backend #2733
Unanswered
christianholland
asked this question in
Q&A
Replies: 1 comment
-
Thank you for your reporting! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment
Reproduction
NA
Describe the bug
Hi there,
when a user enters my app some translations are loaded via a middleware from a server. I would like to use the function
mergeLocaleMessage()
to expand my translations with those coming from the server. However, within my middleware (*.ts
) I cannot get access to i18nI get the error
Any help how I could get access to i18n within a middleware would be highly appreciated
Additional context
No response
Logs
No response
Beta Was this translation helpful? Give feedback.
All reactions