- https://github.com/i18next/react-i18next
- https://www.npmjs.com/package/react-i18next
- https://react.i18next.com/
git clone <repo>
cd frontend
npm install
npm start
- 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
Reference: https://react.i18next.com/guides/extracting-translations
-
- Manual
-
- Extraction Tool
- https://www.npmjs.com/package/i18next-scanner
- https://www.npmjs.com/package/i18next-parser (used)
- see frontend/src/i18n.js and package.json
- https://www.npmjs.com/package/babel-plugin-i18next-extract
-
- Runtime Extraction with Backend
- custom Express backend (Reference: https://github.com/i18next/i18next-express-middleware)
- see frontend/src/i18n.js and backend/