Jcomments-Recaptcha2
Jcomments-Recaptcha2 copied to clipboard
Multilingual comments problem
On a multilingual site comments on the same article (language: all) are displayed only in the actual language. How to show all comments in different languages at once?
Hello! Did you edit settings for each language in Jcomments?
Yes I did. But on the german site only the german comments are shown and vice versa on the english site - have a look at the screenshots.
Recaptcha isn't work on hidden form. Can you take screenshots with jcomments captcha settings in English and Germany version ?
I think we are talking about two different things?! The captcha is working fine what I need is that on an article set to all languages shows all comments that where posted no matter what language. I have made a screenshot from the db have a look at object_is 38. The comments are posted on the same site but a German user can only see the German comments and the English user only the English comments. I want to show all comments on this article. If I uncomment the Multilingual query in models/jcomments.php (line 291) it will do what I want.
if (JCommentsMultilingual::isEnabled()) { $language = isset($options['lang']) ? $options['lang'] : JCommentsMultilingual::getLanguage(); $where[] = "c.lang = " . $db->Quote($language); }
I think, you need using separate plugin, which can allow all comments
I think, you need using separate plugin, which can allow all comments
No. JComments save a site language for comment, not an article language. We can fix it in https://github.com/exstreme/Jcomments-Recaptcha2/blob/Develop/site/classes/multilingual.php#L57 by adding database query to select article language.