[ckan-dev] ckanext-disqus: German language setting to be changed to "de"

User66 user66 at arcor.de
Sat Apr 13 08:48:03 UTC 2013


Hi,

I have installed the ckanext-disqus extension for the comment function but couldn't get the Germany language for Disqus working. After contacting the Disqus support they told me that the language code "de_inf" does not work any more. The correct working code is "de".

So, I switched the language mapping array in "plugin.py" to:

disqus_translations = {
    'de' : 'de',
 ....
}

That did the trick and the Disqus stuff is in German now if Germany has been chosen as CKAN language.

Notice: I did that change locally, so someone should integrate it into the Git branch.

Cheers
Ralf





More information about the ckan-dev mailing list