@mob-on/react-i18n
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Translations

A library to use translations using locales in react projects

Usage

  1. Create a useTranslation hook and place it in your project (copy from templates/hooks/useTranslation.template.ts).

  2. 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.

  3. Place any translations in the same i18n folder.

Readme

Keywords

none

Package Sidebar

Install

npm i @mob-on/react-i18n

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

30.6 kB

Total Files

31

Last publish

Collaborators

  • bfondevila