9fo912 / trans_test.py
pengdaqian
fix more
49226f5
raw
history blame
166 Bytes
from trans_google import google_translator
translator = google_translator()
translate_text = translator.translate('Hello World', lang_tgt='zh')
print(translate_text)