-
Imagine we have a shared npm library and we need to translate there. How to:
|
Beta Was this translation helpful? Give feedback.
Answered by
jamuhl
Apr 15, 2025
Replies: 1 comment 3 replies
-
a) https://www.i18next.com/overview/api#createinstance |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's what you might want to use in your shared npm library...sample: https://github.com/i18next/react-i18next/tree/master/example/react-component-lib
also searching for closed issues like i18next/react-i18next#788 might help