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.
npm install
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.
Start the server:
npm start
and then open the app at: http://localhost:3000
Questions? Contact us.