I've got Parsley.js installed and working correctly (dead easy) however I am unable to get it to display error messages in French. I've tried both methods detailed in the documentation But error message continue to display in English.
I've checked the console and there are no errors, I can also load the language file directly in the browser so it is there.
My current code is:
<script src="/js/parsley/i18n/en.js"></script>
<script src="/js/parsley/i18n/fr.js"></script>
<script src="/js/parsley/parsley.min.js"></script>
<script type="text/javascript">
window.ParsleyValidator.setLocale('fr');
</script>
Please advise.
Parsley relies on jQuery (>= 1.8), and it would need to be included before including Parsley.