Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 876 Bytes

README.MD

File metadata and controls

36 lines (24 loc) · 876 Bytes

captionsTranslater

A script developed during Google Code In 2017 for CCExtractor Development to translate subtitle files.

Requirements:

  • Python3

Installation:

pip install -r requirements.txt

Getting Started:

  • Run the Script

Help:

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