Skip to content
Branch: master
Find file History
Latest commit e6b9e7f Jan 27, 2017
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.vscode Removed grouped param Aug 24, 2016
src Updated sample to use custom groups Jul 3, 2016
translations Updated sample to use custom groups Jul 3, 2016
typings Updated react.js example May 31, 2016
.babelrc Added group decorator sample Jun 18, 2016
.eslintignore Added react example May 31, 2016
.eslintrc Updated sample with translation groups Jun 17, 2016
.gitignore Added react example May 31, 2016
LICENSE Added react example May 31, 2016
README.md Update README.md Sep 3, 2016
devServer.js Added react example May 31, 2016
index.html Added react example May 31, 2016
jsconfig.json Added group decorator sample Jun 18, 2016
package.json Updated dependencies Jan 26, 2017
translation.schema.json Added validation examples Jul 9, 2016
typings.json
webpack.config.dev.js Added react example May 31, 2016
webpack.config.prod.js Updated sample Jun 17, 2016

README.md

React.js i18n template tag example

This example demonstrates i18n template tag and tooling in a React.js Project. (JS Bin)

Usage

  • npm run start start webpack dev server at http://localhost:3000/
  • npm run build create a distribution release with baked in german translations
  • npm run export-translation-keys export all translation keys
  • npm run generate-schema generate a translation schema for all i18n tagged template literals in ./src
  • npm run validate-german-translation validate the german translation file
  • npm run validate-translations validate all translation files
You can’t perform that action at this time.