Translates a given text to a given language.