Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.
/ translate Public archive
forked from henux/translate

Google Translator command line interface.

License

Notifications You must be signed in to change notification settings

Narrat/translate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

translate README

Copyright (C) 2009 Henri Häkkinen.
Copyright (c) 2013-2014 Lex Black.

`translate` is a command line interface for the Google Translator service
written in Python programming language.

Usage: translate [-x] FROM TO [WORDS...]

If WORDS are missing it tries to read from STDIN. This allows piping.
Empty STDIN enters a input mode. Enter words and invoke on a
newline ^D to leave the text mode and continue translation.

Passing -x will show extended output (i.e. alternative translations) if
available.

As of January 11 2009, Google Translator supports following languages:

  ar     Arabic
  bg     Bulgarian
  ca     Catalan
  zh-CN  Chinese (Simplified)
  zh-TW  Chinese (Traditional) (only as destination languge)
  hr     Croatian
  cs     Czech
  da     Danish
  nl     Dutch
  en     English
  tl     Filipino
  fi     Finnish
  fr     French
  de     German
  el     Greek
  iw     Hebrew
  hi     Hindi
  id     Indonesian
  it     Italian
  ja     Japanese
  ko     Korean
  lv     Latvian
  lt     Lithuanian
  no     Norwegian
  pl     Polish
  pt     Portuguese
  ro     Romanian
  ru     Russian
  sr     Serbian
  sk     Slovak
  sl     Slovenian
  es     Spanish
  sv     Swedish
  uk     Ukrainian
  vi     Vietnamese

Use the keyword 'auto' for automatic language detection.

Report bugs to <henux@users.sourceforge.net>.

Have fun!

About

Google Translator command line interface.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 63.3%
  • Roff 28.3%
  • Makefile 8.4%