Replies: 1 comment 5 replies
-
You could do something like this: See https://www.i18next.com/translation-function/interpolation |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am new in next js world and I try using context for my translations I mean I have a translation file like bellow
common.json
{ "fruit_apple": "Apple", "fruit_banana": "Banana" }
and I try to pass
apple
context for translation and it don't workt("fruit", { context: "apple" })
I want to achieve that I can manipulate context and translation is changing depend on context it is even possible?
Beta Was this translation helpful? Give feedback.
All reactions