dsh-pdf-translate: DeepSeek Harness Plugin
dsh-pdf-translate is a local PDF translation plugin for DeepSeek Harness, designed to provide full-document translation while preserving layout and styling through OpenAI-compatible APIs. The tool supports paragraph-level translation, code block preservation, and glossary locking, and offers two usage modes: agent invocation and command line. Technically, it combines TypeScript orchestration with Python processing, but supports only text-based PDFs and has known limitations, including loss of layout details and interaction interference.
Read Moredsh-pdf-translate: Add a Sidebar Translation Panel to DSH
The DSH plugin mariomly/dsh-pdf-translate enables English-to-Chinese PDF translation via a sidebar panel while preserving the original layout. It parses the PDF structure, measures parameters such as font size and margins, translates the content, and then reflows it to generate a Chinese PDF and Markdown. The plugin supports KaTeX formula rendering, object-stream parsing, and model/tool integration. After installation, simply drag and drop a file to process it automatically; it only supports English-to-Chinese translation for electronic PDFs. Developers can self-check using validation scripts, and the source code is open source.
Read More