A fun tool to convert text into different languages using Google Translate
Project description
translatify
translatify is a fun command line tool for translating text through different languages using Google Translate, usually for some amusing results.
Installation
translatify can be installed from PyPI using pip:
$ pip install translatify
Usage
Autodetect the language of the original text and run it through all languages on Google Translate:
$ translatify "Google Translate is not always accurate"
[English -> Afrikaans]
Google Translate is nie altyd akkuraat nie
[Afrikaans -> Albanian]
Google Translate nuk është gjithmonë i saktë
[....]
[Yiddish -> Yoruba]
Fun apẹẹrẹ, nigbati isedale.
[Yoruba -> Zulu]
Ngokwesibonelo, lapho biology.
Alternatively, you can specify the source and target languages yourself:
$ translatify -s en -t da,zh-cn,de,en "Google Translate is not always accurate"
[English -> Danish]
Google Translate er ikke altid korrekt
[Danish -> Chinese (Simplified)]
谷歌翻译并不总是正确的
[Chinese (Simplified) -> German]
Google-Übersetzung ist nicht immer richtig
[German -> English]
Google translation is not always correct
You can specify all as a target language to include all the languages in alphabetical order:
$ translatify -t de,all,de,en "Google Translate is not always accurate"
[English -> German]
Google Translate ist nicht immer richtig
[German -> Afrikaans]
Google Translate is nie altyd reg nie
[....]
[Zulu -> German]
Google
[German -> English]
Google
Languages can be listed using the --list flag:
$ translatify --list
Code Name
af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
[....]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file translatify-1.0.1.tar.gz.
File metadata
- Download URL: translatify-1.0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3438ff0574e2ec59e783b04f15c1ac5e6284ff88f2009c74dd52af4a1793e59b
|
|
| MD5 |
ad4ee12847444fb9fad8aecca18b7d45
|
|
| BLAKE2b-256 |
790e774979dd68c23f8806f88f069f6f486246292b7a5c4b696f33706acbb44d
|