Open DanialPahlavan opened 2 years ago
from google_trans_new import google_translator
translator = google_translator() translate_text = translator.translate('สวัสดีจีน',lang_tgt='en') print(translate_text)
error : "name": "JSONDecodeError", "message": "Extra data: line 1 column 375 (char 374)", "stack": "\u001b[0;31m
from google_trans_new import google_translator
translator = google_translator()
translate_text = translator.translate('สวัสดีจีน',lang_tgt='en')
print(translate_text)
error : "name": "JSONDecodeError", "message": "Extra data: line 1 column 375 (char 374)", "stack": "\u001b[0;31m