My Windows is set to German, but all the VarAC texts are in English. This makes for a narration with a terrible accent. :) It would be nice if the TTS voice was set to English.
I don´t use narration on any other software right now, so I´m fine with the workaround. I also appreciate that you have a long list of feature requests and bugs to work on, so this isn´t the most urgent of issues.
Still, I think I have a rather straightforward solution, for you to consider at your own pace. The following code works fine on my machine. I obviously don´t know what your code looks like, but I assume you need to call GetVoices at some point, passing the Gender attribute based on config selection. Just specifying the language there as an optional attribute does the right thing on my machine.
Change your default narration language with your windows:
https://www.avs4you.com/blog/change-text-to-speech-language-voice/#:~:text=Go%20to%20the%20language%20settings,dropdown%20menu%20under%20Speech%20language.&text=Click%20Start%20%2D%3E%20Control%20Panel%20%2D,the%20language%20from%20the%20list.