I released a OBS plugin (and optional RTMP relay) that does exactly this. It can do real time translated captions and voice cloning/dubbing. The plugin lets you choose an audio source, then creates each language's captions and dub as new Sources. Use them however you'd like! check it out! https://streamfluent.ai
this is nothing new. if you copy and pasted code from stackoverflow 5 years ago with no understanding how it works, it would have lead to the same issues. fully understanding what the AI did, and ask questions if you don't understand.