@kununu/phraseapp-cli
v3.2.0
Published
> > phraseapp-cli for <https://phraseapp.com/>
Downloads
2,865
Maintainers
Keywords
Readme
phraseapp-cli
phraseapp-cli for https://phraseapp.com/
Installation
Add @kununu/phraseapp-cli
to your project
npm install @kununu/phraseapp-cli --save
Add update-translations
to your project
Add to package.json
"update-translations": "node ./node_modules/@kununu/phraseapp-cli/index.js",
Add env vars
Make sure PHRASEAPP_PROJECT_ID and PHRASEAPP_ACCESS_TOKEN are properly configured.
Configuration file
You have to add the .phraseapp.json
file
For example:
{
"project_id": "YOUR_PROJECT_ID",
"path": "YOUR_TRANSLATIONS_PATH",
"locales": [
{
"locale_id": "de_DE",
"tags": [
"TAG1",
"TAG2",
"TAG3"
]
},
{
"locale_id": "de_AT",
"tags": [
(...)
],
"fallback_locale_id": "de_DE"
},
(...)
]
}
License
Apache-2.0 © kununu