Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28549

    1) I have translated “You are here:” in class-breadcrumb.php , but changes don’t appear on the webpage.

    2) Can it be that some part of the translate .po file referring to the comments don’t appear on the webpage? “You may use these HTML tags and attributes: “”Logged in as” “Post Comment” are all translated, but still appear in English in homepage.

    #137908

    Hey,

    1.) There are two instances that “You are here” appear on the class-breadcrumb.php. Find them on line 26:

    echo '<p class="breadcrumb"><span class="breadcrumb_info">'.__('You are here:','avia_framework').'</span> <a href="'.get_bloginfo('url').'">';

    And line 186:

    'before' => '<span class="breadcrumb-title">' . __( 'You are here:', 'avia_framework' ) . '</span>',

    2.) Please edit includes > comment.php, find this code:

    comment_form();

    Replace it with:

    $comments_args = array(
    // redefine your own textarea (the comment body)
    'comment_notes_after' => '<p class="form-allowed-tags">' . sprintf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s', 'avia_framework' ), ' <code>' . allowed_tags() . '</code>' ) . '</p>'
    );

    comment_form($comments_args);

    Regards,

    Ismael

    #137909

    Thank You, Ismael! This far it works.

    What about “Post Comment” and “Logged in as…. Log out?”

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Translation issue’ is closed to new replies.