Tool that enables multilingual translation of PDF documents while preserving original layout
Welcome to PDFMathTranslate! This repository focuses on translating scientific papers in PDF format while preserving their original layout. With the help of advanced AI technologies, our tool supports multiple languages, including English, Chinese, Japanese, Korean, and Russian. It integrates with various translation services like Google, DeepL, Ollama, and OpenAI. You can access the latest releases here.
To get started with PDFMathTranslate, download the latest release from the Releases section. You will find a downloadable file there. Execute the file to install the application on your system.
Once installed, you can use PDFMathTranslate to translate your PDF documents. The command-line interface allows you to run translations directly from your terminal.
pdfmathtranslate translate <input.pdf> <output.pdf>
This command will take input.pdf
, translate it, and save the output as output.pdf
.
If you prefer a graphical interface, launch the GUI application and follow these steps:
The translated PDF will be saved in the same directory as the original.
PDFMathTranslate supports the following languages:
This multilingual support makes it an excellent tool for researchers and students worldwide.
PDFMathTranslate works with several translation services to provide the best results. You can configure your preferred service in the settings:
To set up your preferred translation service, modify the configuration file:
translation_service
field to your desired service.The CLI provides various commands for users who prefer working in a terminal. Here are some common commands:
Translate a PDF:
pdfmathtranslate translate <input.pdf> <output.pdf>
List Available Languages:
pdfmathtranslate languages
The GUI is user-friendly and designed for those who prefer visual interaction. It features:
If you prefer using Docker, PDFMathTranslate is available as a Docker image. Follow these steps to set it up:
docker pull bapikumarb1/pdfmathtranslate
docker run -v $(pwd):/data bapikumarb1/pdfmathtranslate translate /data/input.pdf /data/output.pdf
This command will mount your current directory and translate the specified PDF file.
PDFMathTranslate seamlessly integrates with Zotero, allowing you to manage references easily. To use this feature:
We welcome contributions from the community. If you want to contribute, please follow these steps:
PDFMathTranslate is licensed under the MIT License. See the LICENSE file for more details.
For any questions or feedback, please reach out via the Issues section of this repository or contact the maintainers directly.
Feel free to explore and use PDFMathTranslate for all your PDF translation needs. Don't forget to check the Releases section for the latest updates and improvements!