Translations of fields represented by spherical-harmonic expansions for molecular calculations