Interface localization-delocalization transitions (ILDT) occur in two-phase fluids confined in a slit with competing preferences of the walls for the two fluid phases. At low temperatures the interface between the two phases is localized at one of the walls. Upon increasing temperature it unbinds. Although intensively studied theoretically and computationally, such transitions have not yet been observed experimentally due to severe challenges in resolving fine details of the fluid structure. Here, using mean field theory and Monte Carlo simulations of the Ising model, we propose to detect these ILDT by using colloids. We show that the finite-size and fluctuation induced force acting on a colloid confined in such a system experiences a vivid change if, upon lowering the temperature, the interface localizes at one of the walls. This change can serve as a more easily accessible experimental indicator of the transition.