react-i18next example
Read more about it.
Installation
git clone <repo>
cd frontend
npm install
npm start
Walkthrough
Setup
- see package.json for libraries
- see src/i18n.js for library setup
- see src/index.js for library setup import
- see src/App.js for usage
Extracting Translations
Reference: https://react.i18next.com/guides/extracting-translations
-
- Manual
-
- Extraction Tool
-
- Runtime Extraction with Backend
Alternative Libraries
react-intl
js-lingui