Update
Code on this post has been made into a plugin, the plugin is more complete and handles a wider range of locales.
Are you having problems to get the Disqus Comment System WordPress plugin to work with your site language (Arabic, French…). Here is the code you are looking for:
// Disqus language add_filter( 'disqus_language_filter', 'cb_disqus_language_filter' ); function cb_disqus_language_filter() { return get_locale(); }
Drop this code in your theme functions.php
file, in your custom plugin, or better yet: download and upload then install this plugin.
Can I put this plugin in spanish?
Greetings
Yes, it will automatically detect the page language.
Hi, It seems to recoqnize the language right, but it doesn’t display the disqus in the language it detects. Am I doing something wrong?
Hi, thanks for the report. I’m fixing it right now, expect a plugin update in a few hours.
Hi,
Despite the code put into the functions.php file
Disqus remains in English even though I would like in French.
no solution ?
Thank you
Please use the plugin.
Hi Nabil, unfortunately do not translates to Swedish.
Are you friendly and check what is wrong, please!
Disqus Comment System Version 2.85
Disqus English Version 0.4
I fixed the error, please update the plugin from your dashboard.