python use google translate code example
Example: python google translate api
# pip3 install pandas
# pip3 install google_trans_new
import pandas as pd
from google_trans_new import google_translator
translator = google_translator()
translate_text = translator.translate('Hola mundo!', lang_src='es', lang_tgt='en')
print(translate_text) # Hello World!