bennyscripts / python-translator

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

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

License:MIT License


Languages

Language:Python 100.0%