What is the way of namespace recognization? #1296
Unanswered
zhiyanzhaijie
asked this question in
Q&A
Replies: 0 comments
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.
-
Background
I use i18next, react-i18next in my next.js project.
And there is the case puzzles me:
1. firstly, i use my helper method based on i18next in my component to get translation like below.
the translation works, but I still got a error from i18n-ally:
2. Then the puzzle step. I add a function call like bellow and everything goes well:
even if I commit it, or rename


getTtouseTranslation:and here's my workspace setting:
How the i18n-ally works with this? I just wanna use getT same as the useTranslation, can I work out in a configure way or a official way?
Beta Was this translation helpful? Give feedback.
All reactions