Support » Theme: AlbinoMouse » How to change 'Comment'

  • Resolved belete07

    (@belete07)



    I am really enjoying your AlbinoMouse theme, however I want to change Comment to different languages ‘αˆ˜α‰°α‰Έα‰΅’. In the comment.php file, I did tried to locate it but, couldn’t find it. Could you please help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey there belete07,

    Hope you’re well today!

    I’ve checked the theme that you’re using and it is using default WordPress comment form so the reason you couldn’t find it is because it is only being called as a function at like 76 in the file you checked.

    That part should change automatically when you switch to another language in
    Settings -> General in your admin panel.

    Hope this helps πŸ™‚

    Best regards,
    Bojan

    Thank you, Bojan
    I tried to change to other language in setting, but it doesn’t look good and I want to change it in a comments.php like what I did for the tittle, From ‘<?php comment_form(); ?>’ To ‘<?php comment_form( array( ‘title_reply’ => ‘MY TEXT’ ) ); ?>’. (By the way I got this idea from your online support)

    Which line should I change and what function should I use to do the same?

    Hey again belete07,

    You should be able to achieve that by replacing your line with the following one:

    <?php comment_form( array( 'title_reply' => 'MY TEXT', 'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label><br /><textarea id="comment" name="comment" aria-required="true"></textarea></p>' ) ); ?>

    Replace this part with the text of your choice http://screencast.com/t/RWY9irnGL. You’ll find more info here: https://codex.wordpress.org/Function_Reference/comment_form

    Hope this helps πŸ™‚

    Cheers,
    Bojan

    Thank you so much πŸ™‚

    Glad I could help!

    Cheers,
    Bojan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to change 'Comment'’ is closed to new replies.