Ok i will have a stab. Only do this if the plug is a normal household plug like the one on your hairdryer or iron, i assume you have one or the other and know what i am referring to.
1, cut off plug which supplies 230v to transformer.
2, Connect Brown wire to switched live on your lighting circuit.
3, Connect Blue wire to lighting circuit neutral
4, If it has one then connect earth wire to lighting circuit earth.
5, cut holes in ceiling,
6 shove lights into holes
7, do all tests etc
8, switch on, standback and admire.
9, dont blame me if the plug you describe is different from the one i assume it is and it all goes bang.
Cheers..........Howard