49226f5
1
2
3
4
5
from trans_google import google_translator translator = google_translator() translate_text = translator.translate('Hello World', lang_tgt='zh') print(translate_text)