add uniqueness validator to support i18n