Skip to content

rwieruch/react-i18n-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-i18next example

Read more about it.

Installation

  • git clone <repo>
  • cd frontend
  • npm install
  • npm start

Walkthrough

Setup

  • see package.json for libraries
  • see src/i18n.js for library setup
  • see src/index.js for library setup import
  • see src/App.js for usage

Extracting Translations

Reference: https://react.i18next.com/guides/extracting-translations

Alternative Libraries

react-intl

js-lingui