/translate.js

Primary LanguageJavaScript

translate.js

A command line util to translate from English to Spanish using google translate

Prerequisites (OS X)

  • Install node & npm: brew install node
  • Install optimist: npm -g install optimist
  • Install google-translate-api npm -g install google-translate-api

Usage

node translate.js this is an example

With an alias:

alias translate="node translate.js"

translate this is an example

TODO

Realtime translate