Google Translate Python
from deep_translator import GoogleTranslator
print(GoogleTranslator('auto','en').translate('Hola!'))
yungmaz13
from deep_translator import GoogleTranslator
print(GoogleTranslator('auto','en').translate('Hola!'))
# install
# pip install googletrans
from googletrans import Translator
translator = Translator()
result = translator.translate('Mitä sinä teet')
print(result)
# result :
#Translated(src=fi, dest=en, text=What are you doing, pronunciation=None, extra_data="{'confiden...")
#!/usr/bin/env python
from googletrans import Translator
translator = Translator()
translated = translator.translate('svízelná situace', src='cs', dest='hu')
print(translated.text)