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

Dominik Moritz dominik.moritz at okfn.org
Sat Apr 13 18:48:44 UTC 2013


Hello Ralf,

Thank you for reporting this issue together with a fix. It is in the repo as well.

If possible, report issues for this extension at https://github.com/okfn/ckanext-disqus/issues

Best wishes,
Dominik

On 13 Apr 2013, at 10:48, User66 <user66 at arcor.de> wrote:

> 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
> 
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev





More information about the ckan-dev mailing list