trimming plugin localization