Aren't you using "useTranslation" hook right? Because I've the same setup but what fails is my component using "useTranslation" hook from next-i18next instead of the one from react-i18next
Yes, I'm using the useTranslation() hook.
useTranslation()
Ruben did you ever solve this issue?
We are using this in main.js:
config.resolve.alias = { ...config.resolve.alias, 'next-i18next': 'react-i18next' }
thanks
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Aren't you using "useTranslation" hook right? Because I've the same setup but what fails is my component using "useTranslation" hook from next-i18next instead of the one from react-i18next
Yes, I'm using the
useTranslation()
hook.Ruben did you ever solve this issue?
We are using this in main.js:
thanks