Skip to main content
The localization.yml file in each car’s folder is responsible for translating interface elements specific to that model: the car control menu and the trunk header.
Important: Global plugin messages (chat messages, errors, help) are configured in the plugins/CoolCars/lang/ folder. The file in the car folder is only for the GUI of that specific model.

Control Menu (car.menu)

This section configures button names and hints in the GUI that opens when the interaction key (default F) is pressed.
car:
  menu:
    localization:
      en:
        title: "&8Car Menu"
        engine-on: "&aEngine: ON"
        engine-off: "&cEngine: OFF"
        lights-on: "&eHeadlights: ON"
        lights-off: "&7Headlights: OFF"
        trunk: "&6Open trunk"
        toggle-hint: "&7Click to toggle"
      ru:
        title: "&8Меню автомобиля"
        engine-on: "&aДвигатель: ВКЛ"
        engine-off: "&cДвигатель: ВЫКЛ"
        lights-on: "&eФары: ВКЛ"
        lights-off: "&7Фары: ВЫКЛ"
        trunk: "&6Багажник"
        toggle-hint: "&7Нажмите, чтобы переключить"

Trunk (car.trunk)

You can configure the trunk inventory header.
car:
  trunk:
    use-lang-title: true        # Whether to use localization for the title
    title: "Trunk"              # Default title
    localization:
      en:
        title: "&8Vehicle Trunk"
      ru:
        title: "&8Багажник автомобиля"

Global Localization (lang/)

If you want to change system messages (e.g., refueling or help text), you need to edit the files in plugins/CoolCars/lang/en.yml or ru.yml.

System String Examples:

  • fuel.started: Message when refueling starts.
  • repair.complete: Message when repair is successful.
  • actionbar.car: Status bar format above the hotbar.
You can use the /lang server <en|ru> command to instantly switch the server’s primary language and synchronize documentation.