# Language

It is possible to create or use existing languages within **our script** by accessing the file located at `brnx-iceorinksystem/modules/locales`. In this file, you can define translations for the desired language. To select the language to be used, simply configure the `config.locale` variable in the `brnx-iceorinksystem/modules/config/config.lua` file, as shown in the example below.

{% code title="brnx-iceorinksystem/modules/config/config.lua" fullWidth="false" %}

```lua
config.locale = 'en'
```

{% endcode %}

{% hint style="warning" %}
If you wish to create a new language, make sure to follow the structure of other example files. The `.json` file format should remain the same, but with translations adapted to the new language. See the example below:
{% endhint %}

<pre class="language-json" data-title="brnx-iceorinksystem/modules/locales/ru.json"><code class="lang-json">// RUSSIAN
<strong>{
</strong>  "CURRENCY": "RUB",
  "SHOP": {
    "BACK_END": {
      "PURCHASE": "Вы купили 1x {name} за {price}.",
      "NO_MONEY": "Недостаточно средств.",
      "NO_TICKET": "У вас нет билета для входа на арену."
    },
    "FRONT_END": {
      "SEARCH": "Поиск товара..."
    }
  },
  "PLAYER": {
    "BUTTONS": {
      "PLAY": "Воспроизвести",
      "PAUSE": "Пауза",
      "NEXT": "Следующий",
      "STOP": "Остановить",
      "QUEUE_NOW": "Добавить в очередь сейчас",
      "QUEUE_NEXT": "Следующим в очереди",
      "REMOVE": "Удалить"
    },
    "NOTIFY": {
      "URL_ERROR": "Возникла проблема с этой ссылкой, попробуйте снова.",
      "WAIT": "Подождите перед новой попыткой."
    }
  }
}
</code></pre>
