Changing Text and Date Display in Blog Comment

Good Morning,

I don’t know why, but the text language of the comment form at the end of my blog page is in two different languages, German and English. I actually need everything in English.

And then also the date display is in the German version instead of the English version.
(Please see therefore the screenshots)

How can I fix this?

Thanks, Susen
(oktoberfest-pretoria.co.za)

Hi There,

Thank you for writing in, please check if you do have setup a translation file.

It is also possible that this was done by editing the comment template since there are only a couple word that was translated, check if you do have a modified comment file on your child theme. Look for that German word and change it to English.

Hope it helps,
Cheers!

Thanks for your reply.
I would not need a translation plugin, i actually would like to just change it myself.
Could you please explain where I find the “modified comment file” exactly and how to change the words there?
Thx, Susen

Hi Susen,

To modify it, you can add this in your child theme’s functions.php

function my_comment_reform ($arg) {
      $arg['title_reply'] = __('Leave a Comment:');
      $arg['comment_notes_before']  = '<p class="comment-notes">' .
    __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) .
    '</p>';
      $arg['comment_field'] = '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>';

      return $arg;
}
add_filter('comment_form_defaults','my_comment_reform');

For more information regarding this, you may refer to the link below.

https://codex.wordpress.org/Function_Reference/comment_form
https://isabelcastillo.com/change-worpress-leave-a-reply-text

Hope that helps.

Thank you. I copied that to my child theme’s functions.php
It worked halfway.
But it still says “Kommentar” just before the text field (see screenshot)…

And how can I change the date display to the english version?

Thanks in advance!

Hi,

Would you mind providing us with login credentials so we can take a closer look? Please provide following information:

Set it as Secure Note

  • Link to your site
  • WordPress Admin username / password
  • FTP credentials

All the best!

Thanks. Will send it to you just now.

Hi Susen,

If you would like everything to be in English you can change it under Settings > General

Hope that helps

ah ok. that worked. thank you!

Hello There,

Thanks for letting us know that it has worked out for you.

Cheers.