ember-intl-phraseapp

Provide support for the PhraseApp 'In-Context Editor' for emberjs applications that use ember-intl

Usage no npm install needed!

<script type="module">
  import emberIntlPhraseapp from 'https://cdn.skypack.dev/ember-intl-phraseapp';
</script>

README

Ember-intl-phraseapp

Provide support for the PhraseApp 'In-Context Editor' for emberjs applications that use ember-intl

Installation

npm install ember-intl-phraseapp --save-dev

Configuration

Add the following to your config/environment.js:

   phraseApp: {
      enabled: true,
      projectId: 'yourphraseappprojectid'
    }

Additional supported configuration with defaults:

Parameter Default
prefix '[[__'
suffix '__]]'
autoLowerCase false

ember-cli-mirage

If you are using ember-cli-mirage in your application you will need to add the following configuration to tests/dummy/mirage/config.js:

this.passthrough('https://api.phraseapp.com/v2/**');
this.passthrough('https://*.cloudfront.net');

PhraseApp In-Context Editor

https://phraseapp.com/docs/guides/in-context-editor/

Ember CLI

For more information on using ember-cli, visit http://ember-cli.com/.