A script developed during Google Code In 2017 for CCExtractor Development to translate subtitle files.
- Python3
pip install -r requirements.txt
- Run the Script
usage: captionsTranslator.py [-h] [-i FILE] [-o FILE] [-lf LANGUAGE_FROM]
[-lt LANGUAGE_TO]
Python Program that translates a subtitle file using deepl
optional arguments:
-h, --help show this help message and exit
-i FILE, --input-file FILE
takes the input file
-o FILE, --output-file FILE
takes the output file
-lf LANGUAGE_FROM, --language-from LANGUAGE_FROM
language to translate from
-lt LANGUAGE_TO, --language-to LANGUAGE_TO
language to translate to