Home
PDF scientific paper translation and bilingual comparison. Based on BabelDOC. Additionally, this project is also the official reference implementation for calling BabelDOC to perform PDF translation.
- 📊 Preserve formulas, charts, table of contents, and annotations (preview).
- 🌐 Support multiple languages, and diverse translation services.
- 🤖 Provides commandline tool, interactive user interface, and Docker
Warning
This project is provided "as is" under the AGPL v3 license, and no guarantees are provided for the quality and performance of the program. The entire risk of the program's quality and performance is borne by you. If the program is found to be defective, you will be responsible for all necessary service, repair, or correction costs.
Due to the maintainers' limited energy, we do not provide any form of usage assistance or problem-solving. Related issues will be closed directly! (Pull requests to improve project documentation are welcome; bugs or friendly issues that follow the issue template are not affected by this)
For details on how to contribute, please consult the Contribution Guide.
Preview
Online Service 🌟
You can try our application out using either of the following services:
- Immersive Translate - BabelDOC Free usage quota is available; please refer to the FAQ section on the page for details.
Installation and Usage
Installation
- Windows EXE Recommand for Windows
- Docker Recommand for Linux
- uv (a Python package manager) Recommand for macOS
Usage
- Using WebUI
- Using Zotero Plugin (Third party program)
- Using Commandline
For different use cases, we provide distinct methods to use our program. Check out this page for more information.
Advanced Options
For detailed explanations, please refer to our document about Advanced Usage for a full list of each option.
Secondary Development (APIs)
- Python API, how to use the program in other Python programs
Language Code
If you don't know what code to use to translate to the language you need, check out this documentation
Acknowledgements
-
Immersive Translation sponsors monthly Pro membership redemption codes for active contributors to this project, see details at: CONTRIBUTOR_REWARD.md
-
SiliconFlow provides a free translation service for this project, powered by large language models (LLMs).
-
1.x version: Byaidu/PDFMathTranslate
-
backend: BabelDOC
-
PDF Library: PyMuPDF
-
PDF Parsing: Pdfminer.six
-
PDF Preview: Gradio PDF
-
Layout Parsing: DocLayout-YOLO
-
PDF Standards: PDF Explained, PDF Cheat Sheets
-
Multilingual Font: see BabelDOC-Assets
-
Documentation i18n using Weblate
Before submit your code
We welcome the active participation of contributors to make pdf2zh better. Before you are ready to submit your code, please refer to our Code of Conduct and Contribution Guide.