I think you can use the String Translator of the WPML family. In its docs you’ll find how to translate themes and plugins.
Thread Starter
lnunez
(@lnunez)
Yes, they say me that I answer to Plugin Autor 🙁
Ok i’ve made some tests. SRP is not supporting WPML string translation at the moment. I’ll add this feature in the next version.
had the same problem, we have manually temporary solved.
In file special-recent-posts/classes/class-main.php
we’ve replaced
// Building category title HTML.
$category_title_link = $this->srp_create_tag('a', get_cat_name($thisCategoryId), array('class' => 'srp-widget-title-link', 'href' => $srp_category_link, 'title' => get_cat_name($thisCategoryId)));
with:
// Building category title HTML.
$category_title_link = $this->srp_create_tag('a', preg_replace('/ @'.ICL_LANGUAGE_CODE.'/', '', get_cat_name($thisCategoryId)), array('class' => 'srp-widget-title-link', 'href' => $srp_category_link, 'title' => preg_replace('/ @'.ICL_LANGUAGE_CODE.'/', '', get_cat_name($thisCategoryId))));
it works in our template