Bulk translator for docx files using the google translator service.
- Add files to translate to:
app/doccToTranslate
- Run
main.py
- See translated files in
app/docsToTranslate/translatedDocs
Python Setup & Installation (Python 3.7.6) Download Link
For Windows:
# Create your virtual environment
virtualenv venv
# Activate your virtual environment
venv/scripts/activate
#Install Modules
pip install -r requirements.txt
-
Pandoc Visit
https://pandoc.org/installing.html
and download the installer for windows. orchoco install pandoc
with elevated an elevated console so PATH is written. -
Create or log in to GCP and create a project for Goolge Translate Services
-
Add the API to the project
-
Add the project ID to your .env as
GOOGLE_PROJECT_ID
#Run Tester
python main.py
Work in progress...
Made with ☕️ in 🇲🇽