i18n resources?
Hi 👋
I just wanted to know if there were any resources available on how to do internationalization with the router?
2 Replies
reduced-jade•3y ago
I've got a setup with i18next and react-i18next here.
This keeps the same routing, but changes the text printed based on configuration.
Not too sure about route-based localization.
fascinating-indigoOP•3y ago
Ok I see, interesting!
I was looking at how I could use route-based translation with the router, but it's actually not that useful for the user if there's a way to detect the language dynamically. I think I'll stick to the standard with a switch button if the user needs it, even if it's nice to be able to share a url with the language, I'm not sure what to choose... 😵💫
Thanks for your help btw! 😄