Skip to content

A bulk .docx translator using Google Cloud Services.

Notifications You must be signed in to change notification settings

JPatMoss/docxTranslator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bulk Docx Translator

Basic Usage

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

Requirements

  1. Pandoc Visit https://pandoc.org/installing.html and download the installer for windows. or choco install pandoc with elevated an elevated console so PATH is written.

  2. Create or log in to GCP and create a project for Goolge Translate Services

  3. Add the API to the project

  4. Add the project ID to your .env as GOOGLE_PROJECT_ID

Running the translator

#Run Tester
python main.py

Work in progress...

Made with ☕️ in 🇲🇽

About

A bulk .docx translator using Google Cloud Services.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published