Machine translation for Everyone
pip install textra
$ trans --help
usage: trans [-h] [--name NAME] [--key KEY] [--secret SECRET] [--engine ENGINE] [-s SOURCE] [-t TARGET] text
positional arguments:
text
options:
-h, --help show this help message and exit
--name NAME User ID
--key KEY
--secret SECRET
-e ENGINE, --engine ENGINE
-s SOURCE, --source SOURCE
-t TARGET, --target TARGET
$ trans 'I am God. You are Dog.'
私は神だお前は犬だ
$ trans -s ja -t en 吾輩は猫である
I am the cat
You can get the key and secret from here.