-
Notifications
You must be signed in to change notification settings - Fork 221
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
Translating subs #2684
Comments
Please enable debug log in Settings-->General and run the translation again. Disable debug logging then provide the new log file. |
Log added: |
I forgot to disable debug logging. I disabled and added new log file; I must say, today was a little faster then yesterday, but still very slow compared to previous bazarr editions. |
I'm AFK for the weekend and I'll look into this on Monday. Unfortunately, we'll never be able to use Google Translate the way we did before since it's corrupting text format on multilines text sent as a whole. We have to send each line as a separate request so it take more time but at least it provide working subtitles. |
Do we have any possibilities of AI translate or Bing translator instead for bazarr? |
We use the deep-translator module to interface with Google Translate. It supports other translation solutions but it would require additional code to support them (frontend and backend). https://deep-translator.readthedocs.io/en/latest/ |
I would like to support you again if we could add such feature.. What do you think? |
We're dependent on the throttling done on Google side. If they ask to slow down, we comply since we do not want your IP to be blocked from further requests. It may be the reason why you get slow results using batch mode. Single element translation seems to works fine. |
From your logs, I see 61 seconds to send 988 requests to Google Translate. Of course it's not as good as it was but it's not that bad. All other translations took less than a minute. We're far from the 10 minutes you said earlier. |
I'm taking about this. We surely need to think about an alternative. You're donation will of course be appreciated once we've implemented such feature. |
No true, maybe the last time i put that log, it was a little faster as usual, but it is true that sometimes when i badge translate, over time it gets slower and slower even to 5/10 minutes for one sub. I remember you told me some time ago to make a donation externally. Can you point me in the right direction? I'll donate some funds in advance as a sign of appreciation. Your awesome as always. Thank you to prioritize and look for alternative options. |
You can find the donation link in Bazarr UI at the bottom left (small heart icon). |
Describe the bug
Translating 1 subtitle takes 10 minutes (depending on the characters)
To Reproduce
Steps to reproduce the behavior:
Click translate
Expected behavior
Translating happened in a few seconds before
Software (please complete the following information):
Bazarr: newest
Radarr version newest
bazarr.log
Sonarr version newest
OS: W11
LOG added
The text was updated successfully, but these errors were encountered: