Bifurcations of zeros in translated families of functions and applications