# Batch Translation

Translate multiple segments at once with AI.

### Starting Batch Translation

1. **Select segments** to translate:
   * Click first segment, Shift+click last for a range
   * Or use **Edit → Select All** (`Ctrl+A`)
2. **Start batch**:
   * Press `Ctrl+Shift+T`
   * Or go to **Edit → Batch Translate**

### Batch Dialog Options

#### Provider Selection

Choose your LLM provider:

* OpenAI (GPT-5.5, GPT-5.4 Mini)
* Anthropic (Claude Sonnet 4.6, Claude Haiku 4.5, Claude Opus 4.7)
* Google (Gemini 3.1 Flash-Lite, Gemini 2.5 Pro, Gemini 3.1 Pro)
* Mistral, DeepSeek
* Ollama (local models)

#### Translation Mode

| Mode             | Description                                 |
| ---------------- | ------------------------------------------- |
| **LLM Only**     | Use AI for all segments                     |
| **TM First**     | Use TM matches above threshold, AI for rest |
| **TM + Context** | Include TM matches as context for AI        |

#### Options

* **Skip confirmed segments**: Don't re-translate ✅ segments
* **Include context**: Send surrounding segments for better quality
* **Retry until complete**: Auto-retry segments that return empty

### Progress Tracking

During translation:

* Progress bar shows completion
* Per-segment status updates
* Can cancel anytime

### Retry Feature

Enable **"🔄 Retry until all segments are translated"** to:

* Automatically detect empty translations
* Retry failed segments (up to 5 passes)
* Ensure all segments get translated

### Tips

#### Optimal Batch Size

* 50-100 segments per batch works well
* Very large batches may timeout
* Split by page if needed

#### Quality vs Speed

* Claude Sonnet 4.6: Good all-round balance of speed and quality
* GPT-5.5 / Claude Opus 4.7: Highest quality, slower and more expensive
* GPT-5.4 Mini / Gemini 3.1 Flash-Lite: Fastest, lower cost

#### Post-Edit Strategy

After batch translation:

1. Review each segment
2. Fix any obvious errors
3. Confirm with `Ctrl+Enter`

***

### See Also

* [AI Translation Overview](/help/ai-translation/overview.md)
* [Creating Prompts](/help/ai-translation/prompts.md)
* [Single Segment Translation](/help/ai-translation/single-segment.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://supervertaler.gitbook.io/help/ai-translation/batch-translation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
