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

Window.ParsleyValidator.setLocale('de') #1257

Closed
toplisek opened this issue Jun 20, 2018 · 1 comment
Closed

Window.ParsleyValidator.setLocale('de') #1257

toplisek opened this issue Jun 20, 2018 · 1 comment

Comments

@toplisek
Copy link

In the previous versions it was defined setLocal like
<script type="text/javascript">window.ParsleyValidator.setLocale('de');</script>
I have an issue that we like to set in the same manner also updated version.

How is the correct way in this setLocal?
I have not seen inside URL and documentation:
http://parsleyjs.org/doc/index.html

It shows me all the time English version for all error messages.

@marcandre
Copy link
Collaborator

Right, I'm sorry, the documentation is lacking (PR welcome!).
Parsley.setLocale('de') should do it. That's what you'll see at the end of the locale file for german, btw.

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