Skip to main content

A Python tool for translating docx files

Project description

A Python tool for translating docx files

Installation

pip install docx_translate

Usage

Use in CMD

docx_translate --help

docx_translate --version

docx_translate input.docx -o output.docx

docx_translate input.docx -o output.ja.docx -t ja

Use in Python

from docx_translate.core.translate import DocxTranslator

trans = DocxTranslator(target='en')
trans.translate_docx('input.docx', 'output.docx')

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

docx_translate-1.0.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docx_translate-1.0.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file docx_translate-1.0.0.tar.gz.

File metadata

  • Download URL: docx_translate-1.0.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for docx_translate-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2bca3db9beccef0e42f830b27628aaf68a585f94f35a4687c82d7203fe63825a
MD5 3319ef59300b7a86e0f60e7df713feb3
BLAKE2b-256 33a58ca95cd593d89fcac89d8495a1d0285a50f07d28120a112405a00af82134

See more details on using hashes here.

File details

Details for the file docx_translate-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: docx_translate-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for docx_translate-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e300f4fdd1e035cf7dfc125ab73c39349dac9b6ede49993d582769bd2e91d6ca
MD5 c2c992ddbe962b9e0289cbe0d8abda78
BLAKE2b-256 4c8f55ba4a5949a1408f7259f66739485a74334f29c8b4eb17c00e3c7a0dc2ad

See more details on using hashes here.

Supported by

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