react-i18next-example icon indicating copy to clipboard operation
react-i18next-example copied to clipboard

This is a simple example of how to use localization in React applications

react-i18next example

This is a simple example of how to internationalize your application. This App uses the i18next library and its addon react-i18next.

The best way to use this repo is by following my article on Medium Implementing Internationalization in a front end application.

Usage

  1. Clone this repo
    git clone [email protected]:darde/react-i18next-example.git
    
  2. Install the dependencies (yarn or npm)
    yarn
    
  3. Run the Application
    yarn start
    
    The locale files are under the directory src/i18n/locales.