@hackage / gt-tools

Console and GUI interface for Google Translate service

Latest0.2.1

About

Metadata

  • Last updated , by SergeiTrofimovich
  • License LicenseRef-GPL
  • Maintained by: Mikhail S. Pobolovets <styx.mp@gmail.com>

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    gui (off by default)

    Use this flag if you wish to build GUI version

Readme

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

(You may want crete aliases in your .bashrc)

For ghc versions 7.2 and older 'gtc' tool supports only UTF-8 consoles.