# Languages

## 🌍 Languages

ELENASHOP supports multiple languages. Turkish and English are included by default.

***

### Set Language

In shared/config.lua:

Config.Locale = 'tr' -- Turkish Config.Locale = 'en' -- English

***

### Adding a New Language

#### Step 1: Open locales file

Open shared/locales.lua

#### Step 2: Copy English block

Copy the entire Locales\['en'] block and paste it below.

#### Step 3: Rename and translate

Locales\['de'] = { \['ui\_store\_subtitle'] = 'Immer geoeffnet, immer fuer Sie da', \['ui\_search'] = 'Produkte suchen...', \['ui\_categories'] = 'Kategorien', \['ui\_all'] = 'Alle', \['ui\_food'] = 'Lebensmittel', \['ui\_drink'] = 'Getraenke', -- translate all other keys... }

#### Step 4: Set config

Config.Locale = 'de'

***

### Available Locale Keys

All translatable strings are listed in shared/locales.lua. There are approximately 60+ keys covering:

* UI labels and buttons
* Notification messages
* Error messages
* Server-side messages
* Interaction prompts

Both client-side UI and server-side messages are translated through the locale system.


---

# 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/economy/shop/languages.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.
