I use YARPP on a bilingual site managed with WPML. I use a following template for it:
<?php if ($related_query->have_posts()): while ($related_query->have_posts()) : $related_query->the_post(); $postsArray = '<a href="'.get_permalink().'" rel="bookmark">'.get_the_title().'</a><!-- ('.get_the_score().')-->'; endwhile; ?> <div id="related"> <?php echo __('Related: ','POP'); echo implode(', '."\n",$postsArray); // print out a list of the related items, separated by commas ?> </div> <?php endif;?>
The problem is in one language YARPP works as it is supposed to returning relevant posts, and for another it returns the same post again and again for every other post.
Do you have any clue? I'd be happy to supply more information.
(the site is this, and for now I just completely removed related posts for English because it does not work ok)