Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Google Translate Console (Haskell)
branch: master

Gt/Helpers.hs: now print full text of bad json object

Signed-off-by: Sergei Trofimovich <>
latest commit 2568ba444b
@trofi trofi authored


GTC - Google Translate Console

This program translates a single word or a sentence through

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.
Something went wrong with that request. Please try again.