-
-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No translation was found using the current translator. Try another translator? #289
Comments
Same problem for me. I tried to translate "Hello" text from 2 different IP and devices but result is the same. Before this happens, I was getting really bad translations. IG something wrong with the package for 2-3 days. |
Same for me. I've tried many times but i got the same result. "No translation was found using the current translator. Try another translator?" |
Нихрена не работает, вчера вообще перестало работать. Сегодня вернулось - но всё такой же дословный перевод, как и до "отключения" |
My problem was solved, what about yours? |
Mine solved too. Hopefully it doesn't repeat again |
I am currently facing this issue as well, and I am using Google Translate. |
same prob google engineers xd, no longer WLB |
I'm just getting "Error 500 (Server Error)!!1500.That’s an error.There was an error. Please try again later.That’s all we know." in a function that had been running well for a year. Previous days this happened intermittently, now it's constant. |
This is the same issue with previous one(3 days ago). Its not about with the package but the google. |
Try this #290 |
OK onetime instant patch
|
it seems like this issue is still here, anyone how to solve it or pull request? |
I have been testing this for 5 to 6 hours and the patch works for me. Removing the patch immediately shows the error. I've also tested bulk text translation |
fixed? |
I did the patch for google translate only and your patch does the same for all reqs. This should fix the error |
there is no error messages. |
hello where should we edit for the patch part? may i know the path for the locaiton? |
Maybe it has already patched by xpz3. problem is(was) Google server wants browser's User-Agent infomation.So we need add headers to requests.get() . If it is not fixed ... example Just example
|
Goto your deep translator location and find the file google.py. open a terminal in that folder. Then apply this patch by running |
The issue is fixed but the translation quality is still not so promising for me. Is there anyone who has the same issue? |
What's wrong with quality? It's the same translation that you get on website. Are you saying that the translations are different on translate.google.com and translate.google.com/m ? |
Yeah, until a few days ago there were no changes in quality, but now there are... The quality is significantly worse compared to the website. For example: translate.google.com: Translate.google.com/m: |
Try this translate.google.com Web Translation Script This would not be as fast as the other api
|
I tried your web script directly from your fork. If used with headless=False, the translation is high-quality, but 3 seconds to wait may not be enough, and with each request a new chrome window opens and as a result, there are dozens of them after a while. With headless=True, the translation is still bad, and with each request a process opens in the background that then does not close and as a result, after a while, either the memory or the CPU is filled. |
#283 (comment) i used the Japanese text from this post and with both headless and gui mode i get the same translation. The translation is only different when using apis. I'll look into the the process not getting closed. And yes 3 seconds may not be enough on some systems. That's why i left the comment. |
Quick question, did you forget translator.close() after translation? |
Whops, my bad. Now is work fine. But anyway in headless i get a bad translation. I translate from English to other languages and this is what I get. Original: How can I help you today? In headless: Not headless: As you can see, the translation is different. The second case is more correct and corresponds to the translation from the site. If you make longer sentences, you get the feeling that it translates phrases of 3-4 words, and not the entire sentence or text as a whole. |
Ill test the same text and get back later today. |
Is there still no solution to the problem? |
i think the issue is now fixed, but the quality of the translation is still bad, I am experiencing the same issue where the google translation only translate a few words and stop, this will make the whole paragraph no sense |
I'm trying out various methods in hope to find a fix. One of them looks good and almost always gets the original translation from translate.google.com. doing more tests before confirming. Its a bit slow though.. |
Can you provide an example of such long sentence and the source and translation languages? |
"No translation was found using the current translator. Try another translator?" - the library wrote to me and the code stopped. It started yesterday and continues to this day.
Code snippet:
Is the library not working only for me? I looked at it, it's the same on all devices and on all translators. At first, there was a feeling that Google was covering up the requests with a good curse and sending them to hell. But it turned out that others don't work either, like "MyMemoryTranslator". I do not deny that it could have been done by my authorities or sanctions, since I am from Russia. But individually, all the translators in the browser are working and the connection with them is stable. DPI is also missing. (just don't kick me, I don't know anything about networking.)
Please help me :(
The text was updated successfully, but these errors were encountered: