Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Small React web app showing how to change the UI language without reloading the page.

Notifications You must be signed in to change notification settings

gpbl/react-locale-hot-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-locale-hot-switch

This small React web app let the user change the UI language without reloading the page.

The localized strings are loaded only when the user switches the language

  • Implements react-intl
  • Loads the required intl polyfills on Safari and IE < 10
  • Uses webpack for splitting the localized data in chunks

Please note this is an EXPERIMENT: see also this issue.

git clone https://github.com/gpbl/react-locale-hot-switch.git
cd react-locale-hot-switch
npm install

# Run the app
npm start

Then visit http://localhost:8080/

About

Small React web app showing how to change the UI language without reloading the page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published