Translating
Doco Translate provides a comprehensive translation workflow for PDF documents. This page covers everything you need to know about configuring and running translations.
Opening a PDF
Doco Translate supports two methods for importing PDF files:
Local Files
- Drag and drop a PDF file into the Doco Translate home screen.
- Click Open File and select a PDF from the file picker.
- Doco Translate copies the file into its own storage so the original remains untouched.
Online PDF Links
- Switch to Link mode on the home screen.
- Paste a direct URL to a PDF file (e.g.,
https://arxiv.org/pdf/2605.06619). - Click Translate to download and open the document.
- The app validates the URL, shows download progress, and handles errors gracefully.
Note: The URL must point directly to a PDF file. Web pages that embed PDFs are not supported.
Translation Settings
You can configure translation settings before opening a document, or adjust them at any time from the translator toolbar.
Source Language
Select the language of the original document. Available options include:
- Auto Detect — The app automatically identifies the source language. This works well for most documents.
- Specific language — Choose a specific source language for better accuracy, especially for scanned documents or less common languages.
Target Language
Select the language you want to translate into. Doco Translate supports a wide range of target languages, including:
| Region | Languages |
|---|---|
| Common | English, Simplified Chinese, Traditional Chinese, Japanese, Korean, French, German, Spanish, Russian, Italian, Portuguese, Polish, Dutch, Arabic |
| Southeast Asian | Indonesian, Vietnamese, Thai, Filipino, Malay, Myanmar, Khmer, Lao |
| South Asian | Hindi, Bengali, Telugu, Tamil, Malayalam, Kannada, Marathi, Gujarati, Punjabi, Nepali, Sinhala, Urdu |
| Eastern European | Ukrainian, Czech, Hungarian, Romanian, Bulgarian, Croatian, Slovak, Slovenian, Serbian |
| Nordic | Swedish, Danish, Finnish, Norwegian, Icelandic, Estonian, Latvian, Lithuanian |
| Middle Eastern | Turkish, Hebrew, Persian, Kurdish, Pashto |
| African | Swahili, Amharic, Hausa, Igbo, Yoruba, Zulu, Somali |
Right-to-left languages (Arabic, Hebrew, Persian, Pashto, Urdu, Kurdish) are handled with layout direction awareness.
Translation Service
Choose which translation provider to use. Doco Translate supports three categories of services:
- Basic services — Google Translate, Microsoft Translate, Yandex Translate. No API key required.
- AI / LLM services — Gemini, OpenAI, Claude, DeepSeek, and more. Requires an API key.
- Local services — Ollama and LM Studio. Runs entirely on your machine.
See Services for a complete list and configuration guide.
Translating Pages
Once you open a PDF, Doco Translate processes it in two phases:
1. Parsing
The app analyzes the PDF structure page by page, extracting:
- Text paragraphs with position and formatting metadata
- Images, tables, and formulas
- Page dimensions and layout information
2. Translating
Each page is sent to the selected translation service. You can observe the process in real time:
- Pages display a loading indicator while translating.
- Translated text appears as soon as the service responds.
- A progress bar in the status bar shows overall completion.
Concurrent Translation
Doco Translate can translate multiple pages simultaneously for faster results. You can configure the maximum number of concurrent pages in Settings → Preferences → Max Concurrent Pages (default: 3).
Tip: For API-based services, higher concurrency means faster translation but may hit rate limits. For local services, concurrency depends on your hardware.
Retrying Failed Pages
If a page fails to translate (due to network errors, rate limits, or service issues):
- A red error banner appears on the failed page with the error message.
- Click Retry to re-translate the page with the same service.
- Click the service selector next to Retry to switch to a different service for that page.
- Use the Retry All Failed button in the status bar to retry all failed pages at once.
Image Translation
Doco Translate can translate text found in images within your PDF:
- Enable Translate Images in the translation settings.
- The app uses OCR to recognize text in images (pictures and tables).
- Recognized text is sent to the translation service.
- The translated image replaces the original in the reading view.
Note: Image translation requires a service that supports multimodal input (most AI/LLM services). Basic translation services do not support image translation.
Scanned Documents
For scanned PDFs (where text is embedded as images rather than selectable text):
- Doco Translate automatically detects scanned documents.
- A prompt appears asking you to specify the source language for better OCR accuracy.
- The app uses OCR to extract text from each page before translating.
Tip: Always specify the source language for scanned documents. Auto-detection may be less accurate on OCR-extracted text.
Glossaries
Glossaries let you define preferred translations for specific terms, ensuring consistent terminology across your documents.
Creating a Glossary
- Go to Settings → Glossary.
- Click Add Glossary to create a new glossary.
- Give it a name and optional description.
Adding Glossary Items
- Open a glossary and click Add Glossary Item.
- Enter the Source Text (the term in the original language).
- Enter the Translated Text (your preferred translation).
- Select the Target Language for this entry.
Using Glossaries
- Enable or disable individual glossaries using the toggle switch.
- When a glossary is enabled, Doco Translate automatically replaces matching source terms before sending text to the translation service.
- You can have multiple glossaries active simultaneously.
Importing and Exporting
- Export a glossary to a CSV file for backup or sharing.
- Import a CSV file to bulk-add glossary items.
CSV format: source_text,translated_text,target_language
Search
Use the search feature to find specific content within a translated document:
- Click the Search button (magnifying glass icon) in the toolbar.
- Enter your search term.
- Choose to search in Source (original text) or Translation (translated text).
- Navigate between results using the arrow buttons.
- The view automatically scrolls to the matching page.
Reloading
If you need to re-parse and re-translate a document (e.g., after changing the source language):
- Click the Reload button (circular arrow icon) in the toolbar.
- Confirm the action in the dialog.
- The app discards all current translations and re-parses the PDF from scratch.
Previous: Quickstart · Next: Reading
