1.1.0 • Published 7 years ago
translana v1.1.0
translana
A translate CLI built to demo how Slana can be used to quickly build nice CLI programs in node.js.
Powered by Google Translate API.
Usage
$ npm i -g translana
Now you have google translate at your fingertips.
$ translana translate --text="How are you" --to=fr
You should see the following output:
Doing automatic input source language detection.
Translating:
How are you
Detected language: en
Translation:
Comment allez-vous
If you prefer to specify the input language as well, use --from=en
.
$ translana translate --text="How are you" --to=fr --from=en