# Translation

### **Spam Prevention with Queueing and Delay System**

VNTranslator uses a built-in queue system with configurable delays to prevent sending too many requests to translation services. When using free translation services, this feature keeps translation requests within safe limits and prevents IP or account blocking due to excessive requests.

### **Translation Memory**

Translation Memory stores previously translated text and automatically reuses it when the same text appears again, preventing duplicate translation requests and saving time and resources.

### **Translation Glossary**

Define custom translations for specific terms or character names to maintain consistency throughout the game.

### **Pre-translation Features**

This feature helps clean and prepare the original text before sending it for translation.

* **Allow line breaks**: Preserves or removes line breaks from the original text
* **Trim & normalize spaces**: Removes extra whitespace to ensure clean input
* **Exclude strings**: Prevents specific text from being translated
* **RegExp (Regular Expressions)**: Define patterns for matching and replacing text before translation

### **Post-translation Features**

After translation is complete, this feature allows you to modify the translation results.

* **Auto line break matching**: Automatically matches line breaks in the translated text to the original formatting
* **RegExp (Regular Expressions)**: Define patterns for matching and replacing text after translation

### **Context Memory Support in LLM**

When using Large Language Models (LLMs), VNTranslator maintains context memory, allowing the model to reference previous dialogue. This improves translation quality and coherence, especially for conversations.

### **Text Streaming Support in LLM**

Displays translations progressively as they are generated instead of waiting for completion. This makes the translation process faster and more responsive.

### **Edit and Delete Translations**

Manually edit or delete any translation.

### **Exporting and Importing Translations**

Export and import translation files for backup or sharing.

### **TransCheck (Translation Checker)**

Compares source text with translations and highlights inconsistencies or missing content to ensure accuracy and completeness.


---

# 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://docs.vntranslator.com/features/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.
