Skip to main content

Translate text from one language to another.

Project description

python-translator

A python library to translate text from one language to another.

Why use this?

It uses the Google API, showing the best results. And unlike other repos, does not require an API key to operate.

Install

$ pip install python-translator

Example

from python_translator import Translator

translator = Translator()
result = translator.translate("Hello world!", "spanish", "english")

print(result)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-translator-1.0.3.tar.gz (3.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page