2

I can't get this line of code translation ready.

<?php 
  comment_form(array ('title_reply' => 'Leave a comment')); 
?>

Thank you very much! Best wishes, Pierre

2

Should be put to the translation function.

<?php comment_form(array ('title_reply' => __('Leave a comment', 'mytextdomain'))); ?>

Or use WordPress translation:

<?php comment_form(array ('title_reply' => __('Leave a comment'))); ?>
2

What about this way?

<?php 
  comment_form(array ('title_reply' => __('Leave a Reply'))); 
?>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.