Smartling CLI
Tool to upload messages and download translations from Smartling as part of the Cloud deployments.
To run it, first install dependencies:
$ yarn
Then set environment variables that grant access to the smartling account:
export SMARTLING_USER_IDENTIFIER=my-user-id
export SMARTLING_USER_SECRET=my-user-secret
export SMARTLING_PROJECT_ID=my-project-id
Finally, run it, passing in the File URI that Smartling uses to identify messages:
yarn bfly-smartling download --env dev --smartling-file-uri="/telemed-frontend/messages.en.json"
This uses default paths for input and output that can be overridden by CLI arguments.