eko24ive / react-l11n-demo

Demo usage of localization techniques in react application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React l11n demo

App showcasing usage of localization techniques in react application.

Boilerplate for this app is is taken from @kevinpy Iceberg project !
Demo is using i18-next package.

Scripts

npm start : Launch webpack-dev-server with Hot Module Replacement - http://localhost:8080
npm run build : Compile /src folder and create /dist folder

Locales

App is performing lookup in url for lang parameter (possible values ru or en), if parameter not found - it tries to get browser information about client preferable language in navigator object. If non of theese found - app fallbacks to english language.

Links

Roadmap

  • react-router demo
  • integrate react-i18next

About

Demo usage of localization techniques in react application

License:MIT License


Languages

Language:CSS 83.5%Language:JavaScript 10.5%Language:HTML 6.0%