setting interval from localized name before save