LLMs are not and likely will never be good at translating things as they cannot and likely never will understand context, nor keep up with the way languages both natural and constructed change over time. Please do not use them as you will likely just confuse viewers.
As for programs to do subtitling yourself: https://alternativeto.net/software/subtitle-edit/?license=opensource