Hello All,
We are palnning to add languages to our module.
Shopify suggested package : @shopify/react-i18n
But when we go to the npm we see it as deprecated.
Are we still use this package or is there some other option.
Suggest the right approach.
Thanks..
Dylan
2
Hi @Ankit_Shrivastava
Depends on where this module is being displayed.
Extensions feature their own translation support built in.
Admin facing applications can choose any NPM package in order to translate the application.
The defacto standard is i18n. There are many different flavors/adaptations for frameworks such as React, etc.
Assuming you’re using React and talking about your embedded Admin app, I’ve personally used react-i18next for my projects and is worth checking out.