This is a simple python script that translates a pdf file from one language to another. It uses the argostranslate library to translate the text. The script is written in python 3.8. If requested language packages are installed it can translate to any language supported by argostranslate offline.
install requirements.txt
pip install -r requirements.txt
Add all the pdf files to be translated in the PDF's folder. Select required languages in main.py in the script. The translated pdf files will be saved as original languages and translated languages with the docx format.