Hey @philippe_bonneau,
Thanks for writing in! The code in the old thread needs to be updated. Use this instead:
add_filter('gettext', 'translate_texts');
function translate_texts($translated) {
$translated = str_ireplace('Reply <span class="comment-reply-link-after">' . x_icon_get("f3e5", "x-icon-reply") . '</span>', 'Your Reply text <span class="comment-reply-link-after">' . x_icon_get("f3e5", "x-icon-reply") . '</span>', $translated);
$translated = str_ireplace(x_icon_get("f044", "x-icon-edit") . ' Edit', x_icon_get("f044", "x-icon-edit") . ' Your Edit text', $translated);
return $translated;
}
Don’t forget to replace the Your text
text with yours.
Kindly let us know how it goes.