bbepis / XUnity.AutoTranslator

MIT License
1.92k stars 288 forks source link

Not working with spanish the Lec Power Translator 15 (No funciona español XUnity usando LecPowerTranslator15) #280

Open gmendezm opened 2 years ago

gmendezm commented 2 years ago

I am getting this error from debugger:

[ERROR][XUnity.AutoTranslator]: Error occurred during the initialization of the selected translate endpoint. XUnity.AutoTranslator.Plugin.Core.Endpoints.EndpointInitializationException: Current implementation only supports japanese-to-english.

My config:

[Service] Endpoint=LecPowerTranslator15 FallbackEndpoint=

[General] Language=es FromLanguage=en

...

[LecPowerTranslator15] InstallationPath=C:\Program Files (x86)\Power Translator 15

....

Testing with: ONINAKI

Lec Mode: Offline (Already Installed)

image

The complete message:

[DEBUG][XUnity.Common]: Hooked UnityEngine.UI.Text.OnEnable through Harmony hooks. [DEBUG][XUnity.Common]: Hooked TMPro.TextMeshProUGUI.OnEnable through Harmony hooks. [DEBUG][XUnity.Common]: Hooked TMPro.TextMeshPro.OnEnable through Harmony hooks. [DEBUG][XUnity.Common]: Hooked TMPro.TMP_Text.set_text through Harmony hooks. [DEBUG][XUnity.Common]: Hooked TMPro.TMP_Text.SetText through Harmony hooks. [DEBUG][XUnity.Common]: Hooked TMPro.TMP_Text.SetText through Harmony hooks. [DEBUG][XUnity.Common]: Hooked TMPro.TMP_Text.SetText through Harmony hooks. [DEBUG][XUnity.Common]: Hooked TMPro.TMP_Text.SetCharArray through Harmony hooks. [DEBUG][XUnity.Common]: Hooked TMPro.TMP_Text.SetCharArray through Harmony hooks. [DEBUG][XUnity.Common]: Hooked TMPro.TMP_Text.SetCharArray through Harmony hooks. [ERROR][XUnity.AutoTranslator]: Error occurred during the initialization of the selected translate endpoint. XUnity.AutoTranslator.Plugin.Core.Endpoints.EndpointInitializationException: Current implementation only supports japanese-to-english. at LecPowerTranslator15.LecPowerTranslator15Endpoint.Initialize (XUnity.AutoTranslator.Plugin.Core.Endpoints.IInitializationContext context) [0x000c0] in <19d49af12a7a4240812160b3035fe7a6>:0 at XUnity.AutoTranslator.Plugin.Core.TranslationManager.AddEndpoint (XUnity.AutoTranslator.Plugin.Core.Web.HttpSecurity httpSecurity, System.Type type) [0x0003d] in <4d6db0ba258b4429b69ef34072534f42>:0 [DEBUG][XUnity.AutoTranslator]: Disabling certificate checks for endpoints because of configuration. [DEBUG][XUnity.AutoTranslator]: Probing whether OnLevelWasLoaded or SceneManager is supported in this version of Unity. Any warnings related to OnLevelWasLoaded coming from Unity can safely be ignored. [DEBUG][XUnity.AutoTranslator]: SceneManager is supported in this version of Unity. [DEBUG][XUnity.AutoTranslator]: Loaded resize command text files. [DEBUG][XUnity.AutoTranslator]: --- Loading Global Translations --- [DEBUG][XUnity.AutoTranslator]: Loaded translation text files (took 0 seconds) [DEBUG][XUnity.AutoTranslator]: Created variation translations (took 0 seconds) [DEBUG][XUnity.AutoTranslator]: Created token translations (took 0 seconds) [INFO][XUnity.AutoTranslator]: Loaded XUnity.AutoTranslator into Unity [2018.4.1f1] game. [INFO][XUnity.AutoTranslator]: Skipping plugin scan because no plugin-specific translations has been registered.

CartagoGit commented 2 years ago

XUnity.AutoTranslator.Plugin.Core.Endpoints.EndpointInitializationException: Current implementation only supports japanese-to-english.

Just for Japanese-English.

I wanted use too for spanish and I couldnt.

I would try with ezTrans Xp but it's for japanease too. Then it's obvius there are a problem with the Lec Power Translator implementation for other languages.

The delay translating is really annoying in some games, so I will check for some way to translate offline.