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.

brnx-iceorinksystem/modules/config/config.lua
config.locale = 'en'
brnx-iceorinksystem/modules/locales/ru.json
// RUSSIAN
{
  "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": "Подождите перед новой попыткой."
    }
  }
}

Last updated