Open Cohee1207 opened 8 months ago
Sorry for all the issues, I'm trying to get rid of npm's audit alert for my worried users 😃
Hi! Thanks for the issues) Unfortunately, I don't have enough time to fix everything. It's probably a problem with special characters. Google translate request format is very inconvenient -_-
Most likely, I won't be able to fix it until the weekend. In any case, pull requests are welcome =)
Unfortunately, GT requires X-Goog-BatchExecute-Bgr
header to get better results (and probably to have the ability to translate image data). But I haven't found an algorithm for it, and reverse engineering will take a significant amount of time
Unfortunately, GT requires
X-Goog-BatchExecute-Bgr
header to get better results (and probably to have the ability to translate image data). But I haven't found an algorithm for it, and reverse engineering will take a significant amount of time
https://github.com/ssut/py-googletrans/issues/268#issuecomment-1935979166 If the comment is correct, please update the package with the optional endpoint selection feature. Thank you.
Environment
Package version: 4.3.2 Node version: v21.6.1 OS: macOS Sonoma 14.2
Description
The newest version produces bad quality and incomplete translations which often lack some chunks of text and/or has garbled formatting.
Steps to reproduce
Actual result
Expected result
An older version (I'm stuck with 3.0.1 for a while) returns a complete, good-quality translation: