This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 3 replies, has 3 voices.

Last updated by funktion-5G 6 years ago.

Assigned support staff: Harshad.

Author Posts
April 29, 2013 at 5:37 pm #123449

Patricia

Hi Harshad

I need to have the comments from all the languages displayed in each of the pages/posts in all languages.

I found those recent topics
http://wpml.org/forums/topic/is-it-possible-to-merge-comments-in-all-languages/
and
http://wpml.org/forums/topic/how-to-merge-comments/

where Harshad says the (old) plugin called "wpml-comment-merging" doesn't work, except with his modification, which he sent by mail to the people posting in those topics.

Maybe Harshad could upload a fork to the WordPress plugin repository with his modification? then we could follow there and have the automatic updates.

would be great 🙂
thx a lot in advance
Patricia

April 30, 2013 at 2:56 am #123493

Harshad

I have sent you email, with updated file attached.

1) Upload wpml-comment-merging.php to the /wp-content/plugins/ directory
2) Activate the plugin through the 'Plugins' menu in WordPress

Let me know how it goes.

April 30, 2013 at 5:48 am #123518

Patricia

Hi Harshad,

Thank you, your modification is working perfectly well!

if someone needs to do it without the need for you to send mail, basically the modification is adding 2 lines on line 17 of wpml-comment-merging.php
just after :

function merge_comments($comments, $post_ID) {

add :

	global $sitepress;
	
	remove_filter('comments_clauses', array($sitepress, 'comments_clauses'), 10, 2);

I post it as it is what I was hoping to find in one of the comments I searched here yesterday. I hope it's ok 🙂

Harshad, do you plan to create a fork on WP.org ?
or also we can contact the original plugin creator...

thanks again and best regards, this is resolved.
Patricia

April 18, 2018 at 9:44 am #1672032

funktion-5G

Thanks, this was very helpful!
Any idea how this could work for the review stars, too?

Tim