# Language

## Language Support

Elena Airdrop supports 5 languages out of the box.

### Setting Language

```
Config.Locale = 'en'
```

| Code | Language |
| ---- | -------- |
| tr   | Turkish  |
| en   | English  |
| de   | German   |
| fr   | French   |
| es   | Spanish  |

### What Gets Translated

All in-game notifications, progress bar text, target interaction labels, admin panel UI text, loot popup text, button labels, table headers, status labels, and time formats are all translated.

### Adding New Language

Add a new entry in Config.Languages:

```
['pt'] = {
    airdrop_incoming = 'Um airdrop esta a caminho!',
    airdrop_landed = 'Airdrop aterrou!',
    airdrop_looted = 'Ja foi saqueado.',
    airdrop_opening = 'A abrir caixa...',
    airdrop_opened = 'Caixa aberta!',
    ui_panel_title = 'AIRDROP',
    ui_panel_sub = 'Painel de gestao',
}
```

Copy all keys from the English section and translate each value. Both game notifications and UI panel keys must be included.

### Runtime Language

Language is applied when the admin panel opens. Changing Config.Locale requires script restart for notifications but the panel picks up the new language on next open.


---

# 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://elena-scripts.gitbook.io/elenascripts/core-systems/airdrop/language.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.
