What's the best way to store translation data for an app?

Currently we have everything hardcoded in English. We have some translators that will write out the translations but I'm wondering what the best way is to store this data and make it easy to implement. My initial thought was a JSON file and have the data be structured like ENG -> introBlock1 -> title: 'title goes here', subtopic1: 'something here'. BTW this is a very tiny app not and not for consumers.
1 Reply
prakhar_goel
prakhar_goel2y ago
You can look at using i18next https://react.i18next.com/
Want results from more Discord servers?
Add your server