Worsteg cli is the command line tool for Worteg translation service
Install as a global package
npm install -g wortsteg
The command line tool will run read a configuration file inside the running directory, called wortsteg.yml
The configuration contains the following settings:
-
document
: the document id. This id can be retrieved from the website -
sources
: a list of source locale files containing the file (file path of the locale file) and locale name
document: 7188a1e2-35dc-4bae-a38b-86a624809fbe
sources:
-
file: translation/en.json
locale: en
-
credentials
: e.g. john.doe@example.com:1234
-
upload
: uploads all the sources defined in the configuration file if they have been changed since the last upload
wortsteg --credentials username:password upload