i18n prototype
- Will attempt to detect the language used in browser and compile to that
- Language json lazy loaded and can be switched at run time
- t function used to mark locations where translations are needed
- t function then checks key located in ..public/locales/en/translation.json for translation
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Script which extracts all translation keys (i.e. in JSX {t(new.key, string)}
) from the application and matches them with inside of public/locales/translation
JSON files.