You should use, for example, something like: link . Thus, you can simply capture the data stream that is sent to the sound card. Is it difficult to find such a program with Google?
You can paste the translated text onto the page https://soundoftext.com/ You choose language, "submit" and then "download" - mp3 file. I do not know if there is a limit to the length of the text, but this way you do not have to install anything.