/translator

Google translate in command line

Primary LanguagePython

Google Translator

Google translate in command line using googletrans module.

Features

Recognising the input language and translating it to english.

Installation

pip install googletrans

Run in the command line

-t/--text: expected one argument

Example

Annas-MacBook-Pro-2:osd anna$ python translator.py -t "no hablo chino"
I do not speak Chinese