BenBach / react-intl-phraseapp-demo

Demo app to showcase the react-intl-phraseapp library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-intl-phraseapp Demo

This demo project shows how to integrate the PhraseApp In-Context Editor into a React app using react-intl for localization via the react-intl-phraseapp plugin.

Install

npm install

Configure

In order to run the demo you need to provide your phrase project ID. To do so:

  • register at phrase.com,
  • create & setup new project (or use existing if you got one),
  • go to "Project Settings",
  • from the left hand side menu, select "API" tab,
  • copy the project ID,
  • inside index.js file find & replace <YOUR_PROJECT_ID> with the project ID you have just copied.

Run

Start the server:

npm start

and then open the app at: http://localhost:3000

Support

Questions? Contact us.

About

Demo app to showcase the react-intl-phraseapp library

License:MIT License


Languages

Language:JavaScript 55.8%Language:HTML 32.6%Language:CSS 11.6%