New Landing How can we help? Themeforest Theme Support Neighborhood How can I make a translation to this text on woocommerce/cart/cart_totals.php

Viewing 2 posts - 1 through 2 (of 2 total)
  • #176000
    luoja
    Member
    Post count: 27

    How can I make a translation to this text on woocommerce/cart/cart_totals.php:

    #: woocommerce/cart/cart-totals.php:84
    #, php-format
    msgid “”
    “Note: Shipping and taxes are estimated%s and will be updated during checkout ”
    “based on your billing and shipping information.”
    msgstr “”

    If i add that to my translation-file, I get an error in poedit. If I remove this line of code from the cart_totals.php I loose the proceed to checkout-button:

    printf( __( ‘Note: Shipping and taxes are estimated%s and will be updated during checkout based on your billing and shipping information.’, ‘woocommerce’ ), $estimated_text );

    #176274
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please find this text in string:-

    estimated%s
    
    Replace with 
    estimated%$s
    

    Thanks
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register