subtranslate translate subtitles Installation pip install googletrans==3.1.0a0 Usage python3 index.py '/myfile' You can replace '/myfil' with your directory