@mob-on/react-i18n
v1.1.0
Published
A library to use translations using locales in react projects
Downloads
3
Readme
Translations
A library to use translations using locales in react projects
Usage
Create a useTranslation hook and place it in your project (copy from templates/hooks/useTranslation.template.ts).
Create a config file in your project root. Use the template from templates/config.template.js and place it in the {yourProjectRoot}/i18n/config.js.
Place any translations in the same i18n folder.