xxxxxxxxxx
from googletrans import Translator
translator = Translator()
english_text = "Hello, how are you?"
spanish_translation = translator.translate(english_text, dest="es")
print(spanish_translation.text)
Use the makecell package
xxxxxxxxxx
\makecell{Some really \\ longer text}