While a Trf is a voltage-to-current or current-to-voltage transferring device it is still just a power converter in a very efficient way, can be better > 95% in case of large transformers. (It is the most efficient passive power transferring device ever.)
A simple rule of thumb is multiply your nominal input voltage and current to get the available output power (230V x 5A = 1150W) then divide this output power by your nominal output voltage in order to get your output current (1150W/12V = 95.83A).
If you use a TRF to step down the voltage by whatever ratio then the current goes up by the same ratio since you have the input power fixed - naturally this goes the other-way also when you step-up voltage current goes down by the same ratio.
Therefore, your current step-up factor is 95.83A/5A = 19.16 that also equals to your voltage step-down factor of 230/12 = 19.16, it's simple.
__________________
Making mistake is part of learning.