Retrieving translations in PageServerLoad methods #119
Unanswered
martinbeentjes
asked this question in
Q&A
Replies: 2 comments
-
Could you, please, provide some repro? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Anyway, locale-router or locale-router-static examples might help.. |
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
-
I want to internationalize my error message which might have dynamic variables inside them. In the
throw error()
construct I can get the translation usingt.get('key')
. However, I am unsure how to propagate the dynamic variable I want to have in the text.Beta Was this translation helpful? Give feedback.
All reactions