json-google-translator
Version:
Translate you json file with the google translator API
18 lines (10 loc) • 406 B
Markdown
# json-google-translator
Provide the ability to translate json structure using google translator API.
## Usage
`key=API_KEY input_file=FILE_NAME source_language=SOURCE_LANGUAGE target_languages=TARGET_LANGUAGES(comma separated) node translate-json.js`
### Arguments example
`input_file=en.json`
`source_language=en`
`target_languages=fr,de`
### Input json file example
[example.json](example.json)