Translation of "Comment" label

ThemeBurn SupportForumsWordPress ThemesShoppica WordPress ThemeTranslation of "Comment" label

This topic has been marked as resolved.

I am stuck with the translations. In the comments function, the label “Comment” is not translated (the header is) – http://www.ebooksandhealth.com/2014/tips-for-en-renare-miljo-peters-topp-12/

I am looking into comment-template.php, but I am not able to locate what to do to be able to translate this as well

August 15, 2013 at 3:55 pm #26620

Hi,

Please write only in one support request the problems with translation and dont create new topic for each string. We will check what is the problem for this.

Best,
ThemeBurn team

August 16, 2013 at 10:03 am #26629

Thanks, will not make extra topics for this

http://www.ebooksandhealth.com/2014/

  • This reply was modified 3912 days ago by  themelollo.
August 16, 2013 at 12:25 pm #26635

Hello,

We just checked your language file and you didnt add the string to it.

Please read theme documentation how to translate theme and plugin.

Best,
ThemeBurn team

August 20, 2013 at 10:26 am #26732

From the content of comment-template.php, I can not understand how to get a language string. The code is:

<div id="respond" class="comment-respond">
        <h3 id="reply-title" class="comment-reply-title"><?php comment_form_title( $args['title_reply'], $args['title_reply_to'] ); ?> <small><?php cancel_comment_reply_link( $args['cancel_reply_link'] ); ?></small></h3>
        <?php if ( get_option( 'comment_registration' ) && !is_user_logged_in() ) : ?>
          <?php echo $args['must_log_in']; ?>
          <?php do_action( 'comment_form_must_log_in_after' ); ?>
        <?php else : ?>
          <form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>" class="comment-form"<?php echo $html5 ? ' novalidate' : ''; ?>>
            <?php do_action( 'comment_form_top' ); ?>
            <?php if ( is_user_logged_in() ) : ?>
              <?php echo apply_filters( 'comment_form_logged_in', $args['logged_in_as'], $commenter, $user_identity ); ?>
              <?php do_action( 'comment_form_logged_in_after', $commenter, $user_identity ); ?>
            <?php else : ?>
              <?php echo $args['comment_notes_before']; ?>
              <?php
              do_action( 'comment_form_before_fields' );
              foreach ( (array) $args['fields'] as $name => $field ) {
                echo apply_filters( "comment_form_field_{$name}", $field ) . "\n";
              }
              do_action( 'comment_form_after_fields' );
              ?>
            <?php endif; ?>
            <?php echo apply_filters( 'comment_form_field_comment', $args['comment_field'] ); ?>
            <?php echo $args['comment_notes_after']; ?>
            <p class="form-submit">
              <input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />
              <?php comment_id_fields( $post_id ); ?>
            </p>
            <?php do_action( 'comment_form', $post_id ); ?>
          </form>
        <?php endif; ?>
      </div>

August 20, 2013 at 8:30 pm #26788

I were able to get this working through the codestyle localization module, thanks

August 20, 2013 at 9:22 pm #26793

The string “download remaining” is supposed to be able to translate from:

if ( is_numeric( $download['downloads_remaining'] ) )
            echo apply_filters( 'woocommerce_available_download_count', '<span class="count">' . sprintf( _n( '%s download remaining', '%s downloads remaining', $download['downloads_remaining'], 'woocommerce' ), $download['downloads_remaining'] ) . '</span> ', $download );

The language strings are there, the translation is there, but still it is not showing in correct language. Can you see what is the problem?

August 20, 2013 at 9:27 pm #26794

Hi,

Please check your previous topics, an as we asked once use only one topic for translation problem.

Best,
ThemeBurn team

August 21, 2013 at 3:41 pm #26824

Please mark this as resolved then, thank you

August 21, 2013 at 4:17 pm #26828

Glad we’ve helped :)

Best,
ThemeBurn team

August 22, 2013 at 10:09 am #26850
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.