You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the text to be translated includes \r or \n, the error occurs when using google platform. This is because the code in translate_google.py does not match \r or \n.
Add "| re.DOTALL" in line 56 to fix this problem.
If the text to be translated includes \r or \n, the error occurs when using google platform. This is because the code in translate_google.py does not match \r or \n.
Add "| re.DOTALL" in line 56 to fix this problem.
target_text = re.findall(r'id="tw-answ-target-text">(.*?)', res_text, flags=re.IGNORECASE | re.DOTALL)
The text was updated successfully, but these errors were encountered: