TripTracer / TripTracer-web

A travelling white-label website with the leverage of Next.js
0 stars 0 forks source link

i18next language prop passing issue #61

Closed sepehrsohrabii closed 4 months ago

sepehrsohrabii commented 5 months ago

There is a problem with i18next in the project that the useTranslation hook of the i18next library can't recognize the language unless passing language prop to it or using async / await. There should be a way to use a translation hook without passing language prop and without using async / await on the client side.