🌏🌍🌎Translators🌎🌍🌏 is a library that aims to bring free, multiple, enjoyable translations to individuals and students in Python. Translators是一个旨在用Python为个人和学生带来免费、多样、愉快翻译的库。
[X] I'm sure I've read this project's Issues of README.
What happened?
When translating an HTML content with translate_html, I get a "The query_text can't be empty!" because the pattern find empty string even if the HTML I send doesn't contain any.
Debug Tips
What happened?
When translating an HTML content with translate_html, I get a "The
query_text
can't be empty!" because the pattern find empty string even if the HTML I send doesn't contain any.replacing in server.py the line 5326
by
Solve my problem and as a side effect solve the TODO
APP Version
5.8.3
Python Version
3.11
Runtime Environment
Linux CentOS (Default)
Country/Region
Belgium
Relevant log output
No response
Screenshots
No response
Code of Conduct