add localizer handling