# Мультиязычность

## Подключение языка

1. На сервере откройте папк&#x443;**`/storage/app/iexexchanger/locales`**
2. Выберите любую конфигурацию (Например: ru.json)
3. Скачайте к себе на компьютер, измените характеристики под новый язык и загрузите обратно.

### **Пример стандартного ru.json**&#x20;

{% code title="ru.json" overflow="wrap" %}

```json
{
    "sort": 1,
    "name": "Русский",
    "alias": "ru",
    "icon": "/dist/assets/icons/locale/ru.svg",
    "options": {
        "name": "RU",
        "active": true,
        "field": ""
    }
}

```

{% endcode %}

### **Пример отредактированного файла it.json**&#x20;

{% code title="it.json" %}

```json
{
    "sort": 4,
    "name": "Italiano",
    "alias": "it",
    "icon": "/dist/assets/icons/locale/it.svg",
    "options": {
        "name": "IT",
        "active": false,
        "field": "_it"
    }
}
```

{% endcode %}

## Локализация

1. Теперь для перевода на новый язык, зайдите в **"/public/dist/assets/i18n"** и добавить файл **"it.json"**
2. Зайдите в **ru.json**, скопируйте все данные и перенести в **it.json**, далее вам остается лишь перевести значения на новый язык и готово


---

# 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://iexexchanger.gitbook.io/9.2.x/prochie/multiyazychnost.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.
