Missing text for translation - by madsk - on WordPress WooCommerce support

This topic has 6 replies, 2 voices, and was last updated 9 years ago ago by Eva Kemp

  • Avatar: madsk
    madsk
    Participant
    April 24, 2015 at 18:48

    Hi

    I’ve edited the po file and created a Danish translation and everything is almost working.

    But some of text strings seems to be missing.

    If I go to a category on the website (I’m using Woocommerce) that has no items the text says

    “NO PRODUCTS WERE FOUND” – I’m not able to translate that.

    Also in the shoppingcart there is a text string under Totals that says

    “SHIPPING AND HANDLING” – which i’m also not able to translate.

    Can you help me out?

    5 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    April 24, 2015 at 20:58

    Hello,

    The text “NO PRODUCTS WERE FOUND” can be translated in the file wp-content/themes/royal/woocommerce/loop/no-products-found.php.
    “SHIPPING AND HANDLING” is placed in the file wp-content/themes/royal/woocommerce/cart/cart-shipping.php (on line 22).

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: madsk
    madsk
    Participant
    April 24, 2015 at 21:04

    Will these changes be reset when the theme is updated?

    Avatar: Eva
    Eva Kemp
    Support staff
    April 24, 2015 at 21:13

    Hello,

    Unfortunately yes, they will. We recommend you to make changes in the child theme, how to create it is described here:
    http://codex.wordpress.org/Child_Themes

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: madsk
    madsk
    Participant
    April 24, 2015 at 21:39

    I created a child theme with only those two files I needed for translation and it worked.

    Thank you very much 🙂

    Avatar: Eva
    Eva Kemp
    Support staff
    April 24, 2015 at 21:47

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Missing text for translation’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.