document-translate
Translating big PDF documents using Google Translate
Prerequisites:
- Install python and pip
- (FOR WINDOWS ONLY) Download wkhtmltopdf exe file and complete the setup (available at https://wkhtmltopdf.org/downloads.html)
- Insert the path to the wkhtmltopdf.exe file in your C-drive in line 50 of this doctranslate.py
- Install Chrome and change the default download location of Chrome to the folder containing this script and the other contents
Usage:
- Place the PDF you want to translate in the folder containing the script and rename it to 'pdffile.pdf'.
- Run the script
- Do not make any actions on the computer until script is complete (COMPLETED MESSAGE IS DISPLAYED IN THE CONSOLE)