Nanoscale magnetic localization in exchange strength modulated ferromagnets