Skip to main content

A package for translating pdf or word files into Chinese versions

Project description

translate_pdf_word package

This is a package for translating pdf or word files into Chinese versions.

Install the package

pip install translate-pdf-word

Usage

from translate_pdf_word import Word2word
# substitute "your path/to/word.docx" with your word file name or path to it
word = Word2word.Word2word("your path/to/word.docx")
word.translate_all_in_one_shot()
word.save2docx()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

translate_pdf_word-0.0.2.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

translate_pdf_word-0.0.2-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page