Two Phrase workflows
Hyperlocalise supports two Phrase integrations:- Native sync mode with
i18n.ymlplussync push/sync pull - Phrase-compatible file mode with
.phrase.ymlplushyperlocalise phrase ...
Native sync mode
Required config
Optional config fields
sourceLanguagetargetLanguagestimeoutSecondsfileFormat(required whenmodeisfiles)
Modes
strings: pull and push using Phrase key and translation APIs.files: pull and push using Phrase export/import jobs.
Phrase-compatible file mode
Use.phrase.yml. If --config is omitted, Hyperlocalise checks PHRASEAPP_CONFIG, then .phrase.yml in the current directory, then $HOME/.phrase.yml.
See phrase for the full command tree, supported config fields, and the gap list versus the official Strings CLI.
Common issues
- token not found: export
PHRASE_API_TOKEN - mode validation error: set
modetostringsorfiles - file mode import failure: verify
fileFormatmatches your project settings

