They are shipped in English by default, but many other languages are available, thanks to the awesome international Parsley community. To load a different locale and its messages, include them after Parsley: The last loaded file will automatically set the messages locale for Parsley.
In the example above, we load both French and Italian translations, and use Italian.
checkboxes), then you can specify validate Multiple and one of the other two.
By default, it will add Field instances have low level methods to add, update & remove manage error messages.
For performance reasons, Parsley does not use j Query events, but the API to listen to events is very similar: By default, all 2xx ajax returs are considered valid, all others failure.
Sometimes (when a call is needed to see if an email, a pseudo is available for example) a 404 API answer could be the right answer. You have access to the plugin as well as the element if you need to perform other actions before returning the validation result.
You have to manage these errors completely manually and they should be independant with other validations. Note that Parsley triggers events that allows Parsley UI to work.
Further more, it could allow you to do some powerful magic if you listen properly to the right events!