> For the complete documentation index, see [llms.txt](https://docs.vntranslator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vntranslator.com/features/translation.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.vntranslator.com/features/translation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
