🌿 docx-translate v1.1.0 · MIT

Lossless DOCX extract/apply for LLM translation — the model translates, the tool keeps your formatting.

What it does

Install

pip install git+https://mandrilly.com/git/docx-translate.git

Installs the docx-translate CLI on your PATH (Python 3.9+, python-docx pulled automatically).

Quick start

# Mechanical flow (bring your own translation)
docx-translate extract in.docx -o paras.json
docx-translate apply   in.docx paras.json -o out.docx

# Full pipeline with a local LLM
docx-translate translate in.docx -o out.docx

Source

git clone https://mandrilly.com/git/docx-translate.git

Or run straight from source: python3 docx_translate.py …. See the README for endpoint options and batching.