A python library to translate text from one language to another.
It uses the Google API, showing the best results. And unlike other repos, does not require an API key to operate.
$ pip install python-translator
from python_translator import Translator translator = Translator() result = translator.translate("Hello world!", "spanish", "english") print(result)