How to implement multi Language support in React App?

1.6k views Asked by At

I'm developing a large-scale application with React and node, which has a form builder, form assigning to user functionality, etc. I need to add multi-language support for this application. Since there are large amounts of hardcode text and some user-generated text, How can I implement the functionality so it doesn't affect performance? I referred react-i18next library, which can be used for handling transition.

Also, I need to translate the values into multiple languages programmatically with the help of any online translation API ( probably Google Translate API if it is a good choice )

How can approach this issue?

1

There are 1 answers

0
Vajilo Toram On

I think you can use the fuse react 4.0+ template as a reference. You can find there multi langauge support using react-i18next. You can check directly in this url.