Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 362 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 362 Bytes

Trans

It contains the translation command.

  • This command uses the Google Translate API.
  • Enable the Google Translate API in the console of Google Cloud Platform, please get the api key.

Usage

$ nim c -d:ssl trans.nim
$ echo "your api key" > ~/.trans/credential.txt
$ ./trans "Thank you." -to:ja -from:en