不同语言的jQuery验证 [英] jQuery validation in different languages
本文介绍了不同语言的jQuery验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我找到了一个相当不错的 jQuery验证插件,其中包括
不同的语言(但是在本地化文件夹中 ),但是
我还没有找到一种实际使用它们的方法,例如如何使用德语?
I've found a pretty good jQuery Validation plugin, it includes
different languages (in the localization folder), however
I haven't found a way to actually use them, how do I make it use German for instance?
推荐答案
我只需要在验证插件之后添加本地化文件.
I only needed to add the localization files after the validation plugin.
<script type="text/javascript" src="jquery.validate.js"> </script>
<script type="text/javascript" src="localization/de.messages.js"> </script>
这篇关于不同语言的jQuery验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文