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')
Metadata
Release files for docx-translate 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| docx_translate-1.0.1.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| docx_translate-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / docx_translate-1.0.1.tar.gz
| Download URL | docx_translate-1.0.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1105821671f2127916fa1cfabe822ad20623e6d8cedde6160f08ab7b9bf8fd54
|
|
BLAKE2b-256 checksum How to use checksums |
51dd0ace2da2c33324a71a6c8744174d0cac1d89380d28fec2ff81609b3eab72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / docx_translate-1.0.1-py3-none-any.whl
| Download URL | docx_translate-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
21e9cf0f940b55623a17a24d6fef51e0b98e97e5e386a669b334fa615577409d
|
|
BLAKE2b-256 checksum How to use checksums |
15163b03ccc6dbd99404dbb8570f6f5738ed52560d5197545a0a062f669b8cd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|