"Noether's theorem and gauge transformations: application to the bosonic string and $CP_2^{n-1}$ model" New results on the theory of constrained systems are applied to characterize the generators of Noether's symmetry transformations. As a byproduct, an algorithm to construct gauge transformations in hamiltonian formalism is derived. This is illustrated with two relevant examples.