• Resolved raphire

    (@raphire)


    Track your order button in customer email is not localized to dutch. I checked the po files and confirmed there is a translation, but it isn’t used.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Zorem

    (@zorem)

    Hi @raphire,

    You can customize the Track your order button text using the AST Email Customizer. Please check this documentation for more details.

    Thanks

    Thread Starter raphire

    (@raphire)

    I already found a solution to this without using the email customizer. The plugin actually doesn’t use the translation that does actually exist in the localization files.

    In fluid-tracking-info.php, line 154:

    <a href="<?php echo esc_url( $tracking_item['ast_tracking_link'] ); ?>" class="track-button" target="_blank"><?php esc_html_e( $fluid_button_text ); ?></a>
    

    Needs to be replaced by:

    <a href="<?php echo esc_url( $tracking_item['ast_tracking_link'] ); ?>" class="track-button" target="_blank"><?php esc_html_e( 'Track Your Order', 'woo-advanced-shipment-tracking' ); ?></a>  

    Now it grabs the correct translation, which the other parts of the tracker also do.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Track your order button in email not localized’ is closed to new replies.