XUnity.AutoTranslator icon indicating copy to clipboard operation
XUnity.AutoTranslator copied to clipboard

What is 'ExecutableLocation' in DeepL config ?

Open ttpro1995 opened this issue 3 years ago • 2 comments

[DeepL]
ExecutableLocation=
MinDelaySeconds=2
MaxDelaySeconds=6

[DeepLLegitimate]
ExecutableLocation=
ApiKey=
Free=False

After install DeepL app on windows, it create an start menu entry shortcut

"C:\Users\MyUserName\AppData\Roaming\Programs\Zero Install\0install-win.exe" run --no-wait https://appdownload.deepl.com/windows/0install/deepl.xml"

Do I put full shortcut line in ExecutableLocation or just C:\Users\MyUserName\AppData\Roaming\Programs\Zero Install\0install-win.exe

It is seem that 0install-win.exe cannot be executed directly by double click.

ttpro1995 avatar Oct 29 '22 14:10 ttpro1995

Not sure if this is the solution but I went to https://www.deepl.com/docs-api/api-access/api-versions/ and installed the .NET version of the client for the DeepL API using nuget. It required me to get nuget.exe and a .NET devkit installed (so you can use the dotnet.exe and nuget.exe commandline programs). I added https://nuget.net as a trusted repository for nuget as shown in the nuget documentation on their website, then was able to search for and install deepl.net with nuget install DeepL.net. Then saving my API key into the config.ini and choosing DeepLLegitimate in-game. I left the ExecutableLocation blank and it works. Hope that helps.

ametom avatar Nov 03 '22 23:11 ametom

@ametom thank you for the information.

ttpro1995 avatar Nov 04 '22 02:11 ttpro1995