Adriano Raiano

Results 751 comments of Adriano Raiano

Just tested here (change the fallbackLng accordingly): https://codesandbox.io/p/sandbox/react-i18next-http-example-forked-n4fqct seems to work: So this PR can be closed, right?

fyi: there is a blog post explaining this topic: https://www.locize.com/blog/how-to-use-i18next-t-outside-react-components

Would you like to send a Pull Request to address this?

fyi: https://github.com/i18next/i18next/pull/2259

We need a minimal reproducible example repository, sorry.

maybe related: https://github.com/i18next/i18next/issues/1479 https://github.com/i18next/i18next/pull/1480

stale... closing for now...

I don't think this was working before v23.11.3... That may be since v22.x That's probably because of the number... like it is with the interpolation: https://www.i18next.com/overview/typescript#not-working-interpolation-values

Like said... you need the as const or an interface: https://www.i18next.com/overview/typescript#not-working-interpolation-values