Console and GUI interface for Google Translate service http://github.com/styx/gtc
|Latest on Hackage:||0.2.1|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
This program translates a single word or a sentence through http://translate.google.com.
To use program you need to specify fromLang, toLang and text for translation.
Lang is 2 symbol code, i.e. 'en', 'ru', 'be'.
How to install:
1) cabal install
$ gtc en ru test
$ gtc en ru This is test
$ gtc en ru
<interactive line-based mode>
(You may want crete aliases in your .bashrc)
For ghc versions 7.2 and older 'gtc' tool supports only UTF-8 consoles.