add localizer localize, add spec test