0
我正在使用python 2.7 & django 1.10。django-parsley:uncaught error
我也使用django-parsley進行客戶端驗證。
在每一頁我在parsley.min.js文件以下錯誤:
Uncaught Error: it is not available in the catalog
錯誤是指下面的代碼段在parsley.min.js文件:
setLocale: function(a) {
if ("undefined" == typeof this.catalog[a])
throw new Error(a + " is not available in the catalog");
return this.locale = a,
this
},
這是問題的一個屏幕截圖:
有沒有人有任何建議,爲什麼我有這個錯誤?
我已經搜索過SO &谷歌,但沒有真正的見解。
您的瀏覽器不報告語言和文化http://mybrowserinfo.com/detail.asp?bhcp=1或者它沒有設置服務器端。 https://docs.djangoproject.com/en/1.10/topics/i18n/ – MatthewMartin