Skip to main content

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)

Source distribution for translatify 1.0.1
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

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page