It works using DF. As already explained, a number of ground stations pick-up the transmission and triangulate the results, overlay on a radar screen, which offend results in a clear match between radar return (together with al the Mode A/C/S stuff) and triangulated position.