XUnity.AutoTranslator
XUnity.AutoTranslator copied to clipboard
DeepL endpoint missing
Being on previous versions of XUnity and BepInEx, I had come across an issue where DeepL stopped outputting. The translations received have gotten exponentially worse. So I decided up upgrade and moved to the newest stable versions of each, but it's still causing this issue.
Everyone using my mod is also reporting this exact issue with DeepL. Is there a fix or a way around this?
A little more proof that this isn't on my end.
Looks like deepl changed the call for getClientState for their web client. The old url does not seem to work anymore and inspecting the website, the url seems to be different.
The pull request above changes the url being used as well as the method of the request to fix the problem. Verified working on 2 instances, though further test/checking might be required to confirm the fix.
Looks like deepl changed the call for getClientState for their web client. The old url does not seem to work anymore and inspecting the website, the url seems to be different.
The pull request above changes the url being used as well as the method of the request to fix the problem. Verified working on 2 instances, though further test/checking might be required to confirm the fix.
Thanks for this, it's a big help. Due to my smooth brain, I'm going to see if someone can compile the changes for me.
Looks like deepl changed the call for getClientState for their web client. The old url does not seem to work anymore and inspecting the website, the url seems to be different.
The pull request above changes the url being used as well as the method of the request to fix the problem. Verified working on 2 instances, though further test/checking might be required to confirm the fix.
Can you please compile this version I don't think this will be merged anytime soon
I would be wary to accept dlls from non-known project maintainers, but there is indeed quite a lot of issue backlog atm, and the build could use more users to confirm if it fixes the problem for them...
Here you go. Find DeepLTranslate.ExtProtocol.dll and replace it with the file in the zip package.
I would be wary to accept dlls from non-known project maintainers, but there is indeed quite a lot of issue backlog atm, and the build could use more users to confirm if it fixes the problem for them...
Here you go. Find DeepLTranslate.ExtProtocol.dll and replace it with the file in the zip package.
From my testing deepl now works and translation quality is very good, but it shutdowns after 100-150, strings and to fix it i have to change my ip(turn on vpn) or restart the game
From my testing deepl now works and translation quality is very good, but it shutdowns after 100-150, strings and to fix it i have to change my ip(turn on vpn) or restart the game
Works fine for me even up to 200 strings. Are there any error messages in the console?
From my testing deepl now works and translation quality is very good, but it shutdowns after 100-150, strings and to fix it i have to change my ip(turn on vpn) or restart the game
Works fine for me even up to 200 strings. Are there any error messages in the console?
Hi, so as the friend above mentioned your solution only works for a few minutes at most, after a while it just turns off and only works again in my case using VPN, not even restarting the game worked at least for me. Google works perfectly.
I just don't use it because Google's Portuguese translation sucks, especially in a turn-based RPG where CON of constitution is translated all the time as VIGARISTA (con artist).
Here is the log as you requested
Test with this one and see if the problem still occurs.
IMPORTANT: Make sure batching is enabled (see https://github.com/bbepis/XUnity.AutoTranslator?tab=readme-ov-file#reducing-translation-requests) to reduce the amount of translation requests you are sending to deepl.
If only a VPN works to fix it (and restarting the game doesnt), then you may be getting IP blocked temporarily (try accessing the deepl website as soon as you find the translations failing to check if it is so). This can be due to your game sending far too many requests to deepl and far too fast (e.g. specially if the game has scrolling-in text such as dialogue, make sure you're in game settings disable this). If you are IP blocked, no amount of fixes in XUAT will work anymore until you get unblocked.
Bear in mind that different services have different tolerances for blocking. Google translate has fairly high tolerance for these type of requests. Deepl however has low tolerance, and will block you sooner that google would.
DeepLTranslate.ExtProtocol.dll.zip
Addendum:
You could also try setting the MinDelay, and MaxDelay settings for DeepL endpoint to a somewhat higher value to further slow it down maybe.