Description
Follow up to #109 . Once the parser emits a specific mistake rather than a raw code, this issue turns that into text in the user's language.
Approach follows @hyperjump/json-schema-errors, as suggested in #84.
Scope
- A Fluent message key per mistake, with en-US translations
- Filling in whatever the parser passes alongside the mistake name
- A fallback for anything unmapped, so an unknown mistake still produces something readable
- Read the locale from the initialize params and thread it through to syntax validation
Description
Follow up to #109 . Once the parser emits a specific mistake rather than a raw code, this issue turns that into text in the user's language.
Approach follows @hyperjump/json-schema-errors, as suggested in #84.
Scope