1.0.8 • Published 5 months ago

@olton/translator v1.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

Translator

I wrote this tool when I faced the need to translate json files that had language tags into different languages.

Install

npm i -g @olton/translator

Using

translate --apikey XXX --from en --to es --str "Hi there!"

Arguments

Use: translate [...arguments]

  • --apikey - specify the Google translation API key
  • --from - specify source language, default is en
  • --to - specify target language, default is uk
  • --str - translate string
  • --text - translate text file, specify file name with it
  • --json - translate json file, specify file name with it
  • --out - specify output file name for --json, --text inputs
  • --help - show help
  • --version - show a Translator version

Copyright 2023 by Serhii Pimenov. Licensed under MIT license.

1.0.8

5 months ago

1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago