Hello, thank you for the excellent plugin for using LLM with XUnity.AutoTranslator!
I encountered a problem regarding language priority.
- Expected behavior:
With the following settings in the configuration file, translation should be performed from English (en) to Russian (ru):
[General]
Language=ru
FromLanguage=en
Actual behavior:
The plugin ignores these settings and performs the translation into Chinese.
Workaround:
The translation into Russian is performed only if I manually add the language priority in additional prompts, for example:
Requirement=You are a professional video game localizer. Only translation into Russian, priority for this language.
GameDesc=Only translation into Russian, priority for this language.
- Additional information:
I also noticed that, apparently, the internal variables {{SOURCE_LAN}} and {{TARGET_LAN}} in the main prompt (in DLL) either do not work or are overridden by lower-level prompts, since even explicitly specifying CRITICAL language priority for the game from {{SOURCE_LAN}} to {{TARGET_LAN}} in your DLL file has no effect.
Please check the logic of using the Language and FromLanguage variables from the ini file in the main request to LLM.
Thank you for your help!