Beta-1,3-galactosyltransferase that transfers galactose from UDP-galactose to substrates with a terminal glycosyl residue. Protein modification; protein glycosylation. Belongs to the glycosyltransferase 31 family.