Dice the aubergines into 1 x 1 cm pieces, season with salt and set aside for 1 hour. Chop the garlic and set aside.
Grate the carrots, finely chop the peppers and onions and put everything in a bowl.
Fry the eggplants in oil in a pan until they are golden brown and then add to the bowl with the carrots and peppers. Briefly fry the garlic in the pan, add to the eggplants in the bowl and season to taste with salt, pepper and vinegar.