Take for example one period of a sine:
$f(x) = \{\sin(\omega_1x) \; \mathrm{if} \; x \in [0, 2\pi) \;; \quad 0 \; \mathrm{elsewhere} \}$
If we now translate $f$, then according to the argument that the Fourier transform doesn't localize in time (answer stating this), we wouldn't be able to tell a difference.
However, the Fourier transform has an inverse, especially for a function like the above from $L^2$, so there must be way to tell $f$ and it's shifted variants apart.
I assume that the way the complex spectrum encodes position through phase difference with a lot of leakage in the case of a non-infinite sine is not useful to localize a signal in time and that's why the transform is said to not localize in time. In theory though all the information is encoded, just in an incomprehensible way. Is this correct?