I18next translations with SSR

I’m using react-i18next in my SSR supported app. I have two issues:

I can’t get them to initialize/work on the server, so it’s not working for SSR. This is not user friendly and also prevents hydration to due to mismatches…

Here’s the initialization/startup file in the server:

Here’s where I implemented the i18n configuration:

What am I doing wrong/missing?

Thanks!

1 Like