Localizing gauge theories from noncommutative geometry (Varese)