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

# Translation Feature

## Configuration

Translation is controlled by 3 `.env` variables.

<table><thead><tr><th width="228.3333740234375">Variable</th><th>Data Type</th><th>Description</th></tr></thead><tbody><tr><td><code>ENABLE_TRANSLATION</code></td><td>Boolean</td><td>Main switch</td></tr><tr><td><code>TRANSLATION_FROM</code></td><td>String</td><td>Original language code (no automatic)</td></tr><tr><td><code>TRANSLATION_TO</code></td><td>String</td><td>Target language code</td></tr><tr><td><code>TRANSLATOR_RAPIDAPI_KEY</code></td><td>String</td><td>Required for translation to connect to RapidAPI.</td></tr></tbody></table>

Language codes follow Google Translate and are available to view all possible options [here](https://gist.github.com/Yoproo20/9c860565a61c589edf578112d1964277).


---

# 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 dynamically by asking a question.

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

```
GET https://bot-docs.yopro.studio/misc./translation-feature.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.
