Skip to content

Translate from the meta function? #188

Answered by sergiodxa
davidesigner asked this question in Q&A
Discussion options

You must be logged in to vote

You should send the translated messages, that's why the package gives you getFixedT to use inside loader.

The t function can't be sent from the loader to meta because MetaFunction run's client-side too so the data it receives will need to be serialized and functions can't be serialized.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@davidesigner
Comment options

Answer selected by davidesigner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants