Translate "Add to WishList" and "Returns & Delivery"

This topic has 12 replies, 3 voices, and was last updated 9 years, 7 months ago ago by Eva Kemp

  • Avatar: jeff2003
    jeff2003
    Participant
    May 5, 2015 at 10:02

    Hi,

    1) I would like to know how to translate “Add to Wishlist” on Homepage (the product slider)

    2) Also, how to translate “Returns & Delivery” on single product page

    For 1, I have done the PO file translation for the theme & yith-wishlist plugin, and they still don’t work.
    For 2, in the WordPress admin platform -> “Theme Options” -> “Single Product Page”, there is only one place to fill “Returns & Delivery” for the default language. Where can I fill in other languages?

    Thank you!

    Please, contact administrator
    for this information.
    11 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    May 5, 2015 at 10:13

    Hello,

    1) Please find this string in \themes\royal\framework\woo.php file on line 807.
    2) You can translate in WooCommerce->Products->select product->edit->custom fields.

    Regards,
    Robert Hall.

    Avatar: jeff2003
    jeff2003
    Participant
    May 5, 2015 at 10:48

    Hi Robert,

    Thanks for your prompt reply.

    For 1), line 807 doesn’t work, as for line 803, it actually return the YITH short code. It seems line 807 doesn’t run at all as I try to change to phase in line 807, the original word appears. (Please correct me if I was wrong)

    For 2), the original “returns & delivery” is to be shown for every product. Your suggested solution will require administrator to fill in the details for every product. Is there any way to fill in the translation only once, and then to be shown for every product?

    Avatar: Eva
    Eva Kemp
    Support staff
    May 5, 2015 at 12:21

    Hello,

    1. You can translate “Add to Wishlist” text in wp-admin panel > YIT Plugins > Wishlist > “”Add to Wishlist” text” field.

    2. Translate “Returns and Delivery” in WPML > String Translation, search for the needed text and you’ll be able to translate it to different languages.

    Regards,
    Eva Kemp.

    Avatar: jeff2003
    jeff2003
    Participant
    May 5, 2015 at 14:31

    Hi Eva,

    Thank you!

    For 1), if I translate the text at there (i.e. wp-admin panel > YIT Plugins > Wishlist > “Add to Wishlist” text field), then the translated text will be appeared in all languages version. This is not what I want.

    What I want is when users select their own language (e.g. English), then the text will be appeared in English. Or if user select Spanish, then the text will be shown in Spanish.

    For 2), it works! thanks a lot!

    Avatar: Robert Hall
    Robert Hall
    Support staff
    May 5, 2015 at 14:38

    Hello,

    Please provide us with correct wp-admin credentials.

    Regards,
    Robert Hall.

    Avatar: jeff2003
    jeff2003
    Participant
    May 5, 2015 at 14:44

    Please find the admin account in private message, please.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    May 5, 2015 at 14:47

    Hello,

    As I see “Add to Wishlist” text isn’t fully translated in WPML > String Translation. Please check it attentively.

    Regards,
    Eva Kemp.

    Avatar: jeff2003
    jeff2003
    Participant
    May 5, 2015 at 14:58

    Hi,

    Many thanks. It works now!
    Is that you have imported the po file to the WPML string translation page?

    Avatar: Eva
    Eva Kemp
    Support staff
    May 5, 2015 at 15:01

    Hello,

    You’re welcome.
    I edited WPML > Theme and plugins localization and selected “Translate by WPML”, then I added theme strings to WPML String Translation:
    http://storage1.static.itmages.com/i/15/0505/h_1430834407_9720283_e81b65c54f.png .

    Regards,
    Eva Kemp.

    Avatar: jeff2003
    jeff2003
    Participant
    May 5, 2015 at 15:11

    Great! Many thanks for your help!

    Avatar: Eva
    Eva Kemp
    Support staff
    May 5, 2015 at 15:53

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘Translate "Add to WishList" and "Returns & Delivery"’' 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.