How localized bosons manage to become superfluid