Genuine query.
As a matter of interest, Winston, why is that the case?
I realise you are right according to the definition given but could it be that the definition is out of date?
Why cannot something transform 230VAC to 12VDC?
Transform means to change something therefore transformer is merely something that changes something else.
Is your definition just out of date and it has been superseded by the modern world?
If that is out of the question then what does the apparatus do (what verb) when 230VAC goes in and 12VDC comes out?
You can say it is a switched mode power supply but the voltage hasn't been "switch-mode-power-supplied" has it?
A transformer is a device that changes voltage or current by electromagnetic induction. (There is also the special case of a 1:1 transformer used for isolation either of mains or audio circuits). It cannot convert to DC or change the frequency. The definition has not changed but some manufacturers misuse the term. But we know manufacturers (or their marketing people) are ignorant idiots. Other examples of manufacturers stupidity is "digital aerials" and "plugtops".
One device that converts AC to DC is the rectifier. It can also be done with a motor/dynamo set but we would call that a rotary converter rather than a rectifier.
To change voltage and convert to DC would be a power supply. In its simplest form this would contain both a transformer and a rectifier, more complex forms would use electronic switch mode techniques. Can't think of a true verb for this however.