caldera-forms 解决语言报错问题

Uncaught Error: zh_cn is not available in the catalog
at m.setLocale (parsley.min.js:2)
at i.window.Parsley.(/wowodemo/anonymous function) [as setLocale] (http://antto.cc/wowodemo/wp-content/plugins/caldera-forms/assets/build/js/parsley.min.js:3:15735)
at antto.cc/:991

网站出现以上的报错,需将插件包中的assets/js/i18n/中的两个文件做修改
1.zh_cn.js
2.zh_cn.extra.js
将上述两个文件中的下划线修改成-即可

92 total views, 2 views today

Revisions

There are no revisions for this post.

No comments yet.

发表评论