patcon / react-intl-example

React internationalization with react-intl

Home Page:https://localizely.github.io/react-intl-example/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The react-intl example

demo

This project is a tutorial on how to do internationalization (i18n) in React projects with the react-intl library.

It contains examples for:

  • The IntlProvider config
  • Detection of the user's preferred language
  • Loading translations dynamically
  • Language switcher
  • Setting text direction (ltr, rtl)
  • Declarative usage of the react-intl library
  • Imperative usage of the react-intl library

For more details, please see the full post: React-Intl tutorial

Requirements

  • Node
  • npm
  • git

Steps to get the app running

  • git clone
  • cd react-intl-example
  • npm install
  • npm start

About

React internationalization with react-intl

https://localizely.github.io/react-intl-example/

License:MIT License


Languages

Language:JavaScript 71.2%Language:HTML 23.7%Language:CSS 5.0%