translator = Translator() example python
Example 1: how to make a translator in python
from translate import Translator
translator= Translator(to_lang="German")
translation = translator.translate("Good Morning!")
print translation
Example 2: python translator
pip install translate