Some translations don’t seem to work
Hi Rahul,
I’ve noticed that some translations do not work. For example, using Loco Translate, I am changing string “Edited Answer” to “Edited Response”. Despite saving the string, this is not reflected in what is already posted. I expect that the values are being written to the database instead. Can you confirm ?
Thanks
Ok. This is still an issue. Changing class-activity-helper.php (see below) works
‘edit_a’ => array(
‘ref_type’ => ‘answer’,
‘verb’ => __( ‘Edited response‘, ‘anspress-question-answer’ ),
‘icon’ => ‘apicon-answer’,
),
But this function does not work at all
function my_ap_activity_actions( $actions ) {
$actions[’edit_a’][’verb’] = ‘Edited response‘;
return $actions;
}
add_filter( ‘ap_activity_actions’, ‘my_ap_activity_actions’ );
Any ideas please ?