Skip to content

Often needing to handle large volumes of Markdown documents, HTML pages, or SRT subtitle files and translate them between Chinese and English or other languages, existing tools on the market are either insufficient in functionality, cumbersome to operate, or too expensive. So, I developed an AI Document Translation Assistant to efficiently and conveniently solve the challenge of translating large numbers of files, and I'm sharing it here.

Download link: https://github.com/jianchang512/stt/releases/download/0.0/AI-document-translate.7z

Baidu Netdisk download: https://pan.baidu.com/s/1-UYnrMrQx7ectCt0rAfblA?pwd=sr1b

image.png

Main Features

  • Format Compatibility: Supports translation of Markdown, HTML, TXT, and SRT files while preserving the original file format after translation.
  • Batch Processing: Supports batch translation, significantly improving translation efficiency.
  • Smart Translation: Uses Gemini AI as the translation engine to ensure translation quality while providing ample free usage limits.
  • Custom Prompts: Allows users to customize prompts for personalized translation needs, such as translating into other languages or adapting translations for specific domains.
  • Flexible File Naming: Translated files default to adding a -translated suffix to the original filename, with an option to overwrite the original file directly.

How to Use

image.png

  1. File Selection: In the file selection area at the top, choose files to translate by clicking or dragging.
  2. API Key Configuration: Enter your Gemini API Key. Multiple keys can be separated by commas to avoid quota issues with a single key.
  3. Model Selection: It is recommended to choose the gemini-1.5-flash model, which offers a generous free quota.
  4. Network Proxy: Configure a network proxy to ensure the software can connect to Gemini services properly (unless no proxy is needed).
  5. Filename Suffix: Customize the suffix for translated filenames; the default is -translated.
  6. Force Overwrite: If the "Force overwrite original file" option is checked, the translation result will replace the original file content directly.
  7. Translation Prompt: Modify the translation prompt in this area to achieve different translation languages or other personalized adjustments.