json-translator

0.1.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    2

Package Sidebar

Install

npm i json-translator

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • andorx