WordPress.org

Support

Support » Plugins and Hacks » No language tag on "Terms & Conditions" links

No language tag on "Terms & Conditions" links

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • qtrans_convertURL receives the URL and converts it but at the end, the URL reamins the same on the webpage.

    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>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No language tag on "Terms & Conditions" links’ is closed to new replies.