Hey Juan,
You will need to use WordPress’ gettext filter for this. Here’s a sample code to be added in your child theme’s functions.php. Please note that this code serves only as a guide and issues that might arise from the use of it and further enhancement would be outside the scope of our support. It is to our understanding that you will learn how to use the said filter or even learn WordPress development in order to maintain and/or enhance the code.
// Translate Strings
add_filter( 'gettext', 'translate_x_strings', 20, 3 );
function translate_x_strings( $translated_text, $text, $domain ) {
if ( is_singular() ) {
switch ( $translated_text ) {
case 'Comments' :
$translated_text = __( 'Discussion', '__x__' );
break;
case 'Leave a Reply' :
$translated_text = __( 'Reply', '__x__' );
break;
}
}
return $translated_text;
}
Thanks.