It seems @shopify/react-i18n
is now deprecated, what should we be using to handle translations in our apps?
The docs don’t really provide any info.
It seems @shopify/react-i18n
is now deprecated, what should we be using to handle translations in our apps?
The docs don’t really provide any info.
We’ve moved over to react-i18next
^
Thanks for the rec Harshdeep!
Just to confirm, We
refers to my team and I. I don’t work for Shopify
Is there a way to have an example of how to use react-i18next ?
I grabbed the locale from the URL when app is embedded, but how to apply this value for all my Shopify App ?
It would be amazing, thanks !
Thanks Harshdeep!
Yes, guessed so.
I know you are on nextjs, but for other folks on Remix, I figured out there is also the remix wrapper for it.
Currently implementing it: GitHub - sergiodxa/remix-i18next: The easiest way to translate your Remix apps
Greets
If you use the Remix template, take a look at my other post. It includes the link to the HOWTO.
Have not used react-i18next so far. But if I am not mistaken, remix-i18next uses it.
Hence, it very likely is very similar.
All your posts are hidden on this topic. I can’t see anything.
They got flagged, for posting the same link two times I guess.
Now they are available again. Hope you get a notification.