/gtc

Google Translate Console (Haskell)

Primary LanguageHaskellGNU General Public License v3.0GPL-3.0

GTC - Google Translate Console

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

Usage example:
    $ 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.