I use qTranslate on my multi-lingual website. Despite the fact that "Related Posts Thumbnails" is a localized plugin it seems it does not work on multi-lingual website. Would you add that ability to the plugin?
Here is more information about what needs to be done:
Making Plugins work with qTranslate
Also, it would be great to have a thumbnail size option in the plugin's setting page.
http://wordpress.org/extend/plugins/related-posts-thumbnails/
TigrouMeow
Member
Posted 5 months ago #
You will have to edit the plugin yourself. Look for the line that begins with "$title = $this->process_text_cut". This line and the next 2 lines will have to be replace with:
$title = $this->process_text_cut( __($post->post_title), $text_length );
$post_excerpt = ( empty( $post->post_excerpt ) ) ? __($post->post_content) : __($post->post_excerpt);
$excerpt = $this->process_text_cut( __($post_excerpt), $excerpt_length );
And it should work much better :)
Thanks. That worked.
I hope the plugin owner makes this changes to the PHP file herself so the plugin can support the bilingual websites.