You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello i've read other articles and resources but feel like i'am failing to do it:
So
i18n
withuseTranslation()
is working in components all good. But now i do have constant file and i'am using it as:also tried with:
import i18n from "i18next"
but still not working, this my i18n config:any ideas if i'm missing something or so?
PS: If i update constant to function like this:
is working tho, but is it possible to make it work without converting constant to a function
Beta Was this translation helpful? Give feedback.
All reactions