django-parsley: uncaught error
<p>I am using python 2.7 &amp; django 1.10.</p>

<p>I am also using <a href="https://github.com/agiliq/Django-parsley" rel="nofollow">django-parsley</a> for the client side validation.</p>

<p>On each page I have the following error in the parsley.min.js file:</p>

<pre><code>Uncaught Error: it is not available in the catalog
</code></pre>

<p>The error refers to the following code segment in the parsley.min.js file:</p>

<pre><code>    setLocale: function(a) {
        if ("undefined" == typeof this.catalog[a])
            throw new Error(a + " is not available in the catalog");
        return this.locale = a,
        this
    },
</code></pre>

<p>Here is a screen shot of the issue:</p>

<p><a href="http://i.stack.imgur.com/XfPdQ.png" rel="nofollow"><img src="http://i.stack.imgur.com/XfPdQ.png" alt="enter image description here"></a></p>

<p><strong>Does anyone have suggestions as to why I have this error?</strong> </p>

<p>I have searched SO &amp; Google, but have no real insight.</p>

<p>Check your stack trace. Somehow, <code>setLocale</code> is being called with undefined or empty string as argument, instead of <code>'en'</code> or similar.</p>

javascript python django parsley.js