restore addLocalization method