We develop an insightful transformation-optics approach to investigate the impact that nonlocality has on the optical properties of plasmonic nanostructures. The light-harvesting performance of a dimer of touching nanowires is studied by using the hydrodynamical Drude model, which reveals nonlocal resonances not predicted by previous local calculations. Our method clarifies the interplay between radiative and nonlocal effects in this nanoparticle configuration, which enables us to elucidate the optimum size that maximizes its absorption and field enhancement capabilities.