i18next
A complete tutorial including a small demo project is available here: How to translate your React app with react-i18next
i18next allows you to use multiple translation files, grouped in a directory:
- translations
- de
- common.json
- mainscreen.json
- fr
- common.json
- mainscreen.json
- en
- common.json
- mainscreen.json
- de
You can think of the different files as name spaces.
The preferred file structure is JSON with nested namespaces (Namespaced JSON).
BabelEdit asks you for the containing the files for one language.