1.0.1 • Published 2 years ago

json-translate-ai v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

AI JSON Language Translator

Quickly translate your JSON Language files into the languages you want with AI.

NPM Version NPM Downloads NPM Downloads NPM License

Video Example

Watch the video

Installation

Globally via npm

  $ npm install -g json-translate-ai

Getting Started

If you want to start the translation in the source JSON file, add a new key "translate_from_here" just above the key from which you want to start.

For example:

"translate_from_here": "",
"footer": {
  "message": "This is a footer message"
}

Above, the translation will start from the "footer" key.

CLI Usage

$ json-translate-ai -s en -t de -k OPENAI_API_KEY

or

$ json-translate-ai --source en --target de --key OPENAI_API_KEY

Parameters

ParameterDescription
-s--source: Source language (default: 'en')
-t--target: Target language (default: 'de')
-k--key: OpenAI API Key (required)

Contributing

If you find any issues or have suggestions for improvement, please open an issue or create a pull request.

Author

License

MIT

1.0.1

2 years ago

1.0.0

2 years ago