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
[....]
Metadata
Release files for translatify 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| translatify-1.0.1.tar.gz | 3.6 kB | Details |
Release files / translatify-1.0.1.tar.gz
| Download URL | translatify-1.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3438ff0574e2ec59e783b04f15c1ac5e6284ff88f2009c74dd52af4a1793e59b
|
|
BLAKE2b-256 checksum How to use checksums |
790e774979dd68c23f8806f88f069f6f486246292b7a5c4b696f33706acbb44d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |