dsh-pdf-block-translate: Layout-Preserving Chinese PDF Translation in DSH

dsh-pdf-block-translate is a DSH workspace bundle (MIT v0.1.0) maintained by w125342201-rgb. Through the agent preset "PDF Layout-Preserving Translation," it provides six tools including pdf_prepare, pdf_view, pdf_submit, and pdf_finish. The session model only supplies the translated text; a Python layer uses PyMuPDF to backfill the text into the original bounding boxes and enforces a seven-point QC gate — no PDF is emitted if any check fails. It relies on no third-party translation APIs and has no multimodal dependencies. Install it via plugin_manager's install_bundle by specifying the repository's absolute path. It is designed for full-text Chinese translation of text-layered technical PDFs; scanned documents and scenarios without OCR are out of scope.

Read More