ausathe / document-translate

Translating big PDF documents using Google Translate
1 stars 0 forks source link

document-translate

Translating big PDF documents using Google Translate

Prerequisites:

  1. Install python and pip
  2. (FOR WINDOWS ONLY) Download wkhtmltopdf exe file and complete the setup (available at https://wkhtmltopdf.org/downloads.html)
  3. Insert the path to the wkhtmltopdf.exe file in your C-drive in line 50 of this doctranslate.py
  4. Install Chrome and change the default download location of Chrome to the folder containing this script and the other contents

Usage:

  1. Place the PDF you want to translate in the folder containing the script and rename it to 'pdffile.pdf'.
  2. Run the script
  3. Do not make any actions on the computer until script is complete (COMPLETED MESSAGE IS DISPLAYED IN THE CONSOLE)