from what i can see brown wire does not connect to anything on the PCB, three middle pins of that connector are not used, only pins 1 and 5 (yellow and grey wire) are used. in Japanese model they are meant for 100VAC. if you can test it on 100VAC, you can measure voltage on brown wire (relative to gray). if you read some 200-230V, you are lucky. just carefully extract yellow and brown wire from the connector and swap them around.
transformers are easy to test with help of low voltage AC source (for example another transformer). one first identifies which wires belong to same winding, then connect low voltage source to any of the windings of unknown transformer and measure voltages on all of it's windings. rest is very simple math. if readings are low, connect source to some other winding and repeat test. be careful as small transformers usually have high ratio so powering secondary from low voltage source will produce high voltage on the primary.