3

多言語プロジェクトで Jquery.validate を使用しています。

すべて問題なく動作しますが、2 つの質問があります (わかりました、本当の質問は 2 番です)。

1) Microsoft CDN: http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.jsからロードしていますが、Google CDN に比べてかなり遅いように見えますか?

2) ローカライズされたエラー メッセージを表示するには、以下を含め ます。オンラインで見つけた他のすべてのドキュメント: http://www.asp.net/ajaxlibrary/CDNjQueryValidate19.ashx

これは、de、fr、es、ja では正常に機能しますが、nl、pt などの一般的な他のロケールでは機能しません。利用可能なすべての「メッセージ ファイル」のリストを取得する方法を知っている人はいますか? 「成功せずに試す」には時間がかかるため、利用可能な場合はロードしたいだけです...

そして: jquery.validate と翻訳ファイルを入手できる別の CDN を知っている場合: そこから喜んでダウンロードします :-)

ありがとうございました!

4

2 に答える 2

6

jquery validate のローカリゼーション ファイルをホストする別の CDN については知りません。各ローカリゼーション ファイルを Microsoft CDNに要求しました。

見つかった

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_ar.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_bg.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_ca.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_cs.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_da.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_de.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_el.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_es.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_eu.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_fa.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_fi.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_fr.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_he.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_hu.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_it.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_ja.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_kk.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_lt.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_lv.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_nl.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_no.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_pl.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_ro.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_ru.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_si.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_sk.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_sl.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_th.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_tr.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_vi.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/methods_de.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/methods_nl.js

見つかりません (404)

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_hr.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_ka.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_pt_BR.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_pt_PT.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_sr.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_sv.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_uk.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_zh.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/messages_zh_TW.js

http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/localization/methods_pt.js

于 2012-11-30T10:40:55.307 に答える