xunbu/docutranslate

文档(小说、论文、字幕)翻译工具(支持 pdf/word/excel/json/epub/srt...)Document (Novel, Thesis, Subtitle) Translation Tool (Supports pdf/word/excel/json/epub/srt...)

What it solves

DocuTranslate is a lightweight tool designed to translate local files using Large Language Models (LLMs). It solves the problem of translating complex documents while maintaining original formatting for specific file types and handling specialized content like academic formulas, tables, and code in PDFs.

How it works

The tool provides a flexible workflow where files are processed based on their format. For PDFs, it converts them to Markdown using the mineru engine (either via an online API or local deployment) to recognize tables and formulas before translating the text. For other formats like .docx and .xlsx, it translates content while preserving the original layout. It supports asynchronous processing for high-performance concurrent translations and can be deployed as a standalone Web UI, a RESTful API, or an MCP (Model Context Protocol) server.

Who it’s for

It is intended for users who need to translate a variety of document formats (including academic papers, novels, and spreadsheets) and developers who want to integrate LLM-based translation into their own applications via an SDK or API.

Highlights

  • Broad Format Support: Translates PDF, DOCX, XLSX, MD, TXT, JSON, EPUB, SRT, and ASS.
  • PDF Intelligence: Recognizes formulas, tables, and code in academic papers via mineru integration.
  • Format Preservation: Maintains original formatting for Word and Excel files.
  • Customizable Translation: Supports auto-generated glossaries for term alignment and custom prompts.
  • Flexible Deployment: Offers a Web UI, RESTful API, and MCP server support.
  • High Performance: Built with full asynchronous support for parallel multi-tasking.

Related

  • Project
  • Project
  • Project
  • Project