A simple way to work with i18n?
Unanswered
West African Lion posted this in #help-forum
West African LionOP
Hey.
Most of the tutorials and blog posts I see about i18next are mentioning complicated middleware stuff and lots of boilerplate everywhere, as well as the always mandatory locale added in path, which I don't want. I'd like to make a simple setup to handle i18n for both the few pages I have within my app dir, and for a Phaser game that is embedded in the app.
I've managed to go with a simple i18next.init in my client component regarding the game itself, but I've no idea how to make it work (simply) in the whole application.
Most of the tutorials and blog posts I see about i18next are mentioning complicated middleware stuff and lots of boilerplate everywhere, as well as the always mandatory locale added in path, which I don't want. I'd like to make a simple setup to handle i18n for both the few pages I have within my app dir, and for a Phaser game that is embedded in the app.
I've managed to go with a simple i18next.init in my client component regarding the game itself, but I've no idea how to make it work (simply) in the whole application.