diff --git a/CHANGELOG.md b/CHANGELOG.md index fc58fbb151..f08a288aee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1994,7 +1994,7 @@ const Component = () => { ## @rjsf/validator-ajv8 -- Support for localization (L12n) on a customized validator using a `Localizer` function passed as a second parameter to `customizeValidator()`, fixing (https://github.com/rjsf-team/react-jsonschema-form/pull/846, and https://github.com/rjsf-team/react-jsonschema-form/issues/1195) +- Support for localization (L10n) on a customized validator using a `Localizer` function passed as a second parameter to `customizeValidator()`, fixing (https://github.com/rjsf-team/react-jsonschema-form/pull/846, and https://github.com/rjsf-team/react-jsonschema-form/issues/1195) - Fixed the `README.md` to correct the package name in several places to match the actual package ## Dev / docs / playground diff --git a/packages/docs/docs/usage/validation.md b/packages/docs/docs/usage/validation.md index 172072bcbd..9e15796838 100644 --- a/packages/docs/docs/usage/validation.md +++ b/packages/docs/docs/usage/validation.md @@ -703,7 +703,7 @@ const validator = customizeValidator({ AjvClass: Ajv2019 }); render(
, document.getElementById('app')); ``` -### Localization (L12n) support +### Localization (L10n) support The Ajv 8 validator supports the localization of error messages using [ajv-i18n](https://github.com/ajv-validator/ajv-i18n). In addition, you may provide a custom solution by implementing a function that conforms to the `Localizer` interface if your language is not supported.