Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n for error messages #33

Open
LeoPapais opened this issue Nov 28, 2018 · 1 comment
Open

i18n for error messages #33

LeoPapais opened this issue Nov 28, 2018 · 1 comment

Comments

@LeoPapais
Copy link

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

@albanm
Copy link
Owner

albanm commented Nov 29, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants