tsolakoua / translator

Google translate in command line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Google translate in command line


Languages

Language:Python 100.0%