README
translate-json
Tool to translate strings in a JSON document.
Install
npm i -g translate-json
Usage
Usage:
translate-json [options] -l <language> (- | <input>) [<output>]
translate-json [options] --lang=<language> (- | <input>) [<output>]
Options:
-t, --translator The translation service to use: google (default), yandex, bing.
-k, --api-key The API key to be used with the translation service.
-p, --preserve-html-entities Preserve HTML entities in translated text. (False by default.)
-e, --exclude Regular expression to exclude key paths. e.g. '^(notThis|this|not.this.either)