-
Notifications
You must be signed in to change notification settings - Fork 9
Home
A CLI interface for the Smartling Translation Management Platform's APIs in Go.
See the Installation page for all options and instructions.
Documentation is built-in. Use the --help option with any command to get detailed help for that specific command.
Examples:
smartling-cli --help smartling-cli files push --help
First of all, you need to create a configuration file that will store the Smartling API authentication parameters for your project or Account. To help you create the file there is an interactive init
command which will create the file for you in the current directory
smartling-cli init
After running through the init a smartling.yml file will be in the current directory. If you run init again when there is already a smartling.yml file present, it will overwrite the current file.
Display all target locales along with their description, for the currently configured project.
smartling-cli projects locales
List the source files in the currently configured project
smartling-cli files list
Upload a source language file as-is for translation, to the currently configured project, with automatic file type detection
smartling-cli files push my-file.txt
Find more example usages there.
The CLI Tool uses standard out and standard error (stdout / stderr) to log its actions and error conditions.