0.1.1 • Published 8 years ago

json-translator v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

json-translator

Translate JSON files (supported nested structure) using MSTranslator service

Usage:

jsonTranslate(options), options param requires these properties:

  • clientId: Microsoft Translator App Id,
  • clientSecret: Microsoft Translator App Secret Key,
  • sourcePath: source file in JSON format,
  • targetPath: target to store translated json content,
  • fromLang: translate from language,
  • toLang: translate to language

TODO:

  • Multiple translator client support (Google Translate)
  • Guarantee the order of properties after translated