WordPress.org

Forums

mqTranslate
No language tag on "Terms & Conditions" links (3 posts)

  1. yokotsumo
    Member
    Posted 9 months ago #

    Hello,

    I am using a custom theme for woocommerce with Terms & Conditions page. The link to this page is :
    <?php printf( __( 'I’ve read and accept the terms & conditions', 'woocommerce' ), esc_url( get_permalink( wc_get_page_id( 'terms' ) ) ) ); ?>
    The text is correctly translated by the html link never contains the language tag, whatever page I use. It is the only link that is not working in the page (https checkout)...

    Any clue on this problem?

    https://wordpress.org/plugins/mqtranslate/

  2. yokotsumo
    Member
    Posted 8 months ago #

    qtrans_convertURL receives the URL and converts it but at the end, the URL reamins the same on the webpage.

  3. yokotsumo
    Member
    Posted 8 months ago #

    here is the code in review-order.php:
    <p class="form-row terms">
    <label for="terms" class="checkbox"><?php printf( __( 'I’ve read and accept the terms & conditions', 'woocommerce' ), esc_url( get_permalink( wc_get_page_id( 'terms' ) ) ) ); ?></label>
    <input type="checkbox" class="input-checkbox" name="terms" <?php checked( $terms_is_checked, true ); ?> id="terms" />
    </p>

Reply

You must log in to post.

About this Plugin

  • mqTranslate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.