node-libxml-xsd
node-libxml-xsd copied to clipboard
i18n for error messages
Hi there,
I'm looking for a way to translate error messages created by schema.validate(xml)
. Is there some plug&play method to use i18n there?
Thanks in advance
Hello,
Validation errors come from the underlying libxml lib, not from this module which is a simple wrapper.
I don't know if there is a mechanism for what you described. Feel free to investigate and maybe submit a pull request if necessary. I don't actively maintain this module, I only take the time to look at reasonable pull requests.