Make localizer via Function constructor