Translate wishlist button - by nettel - on WordPress WooCommerce support

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

  • Avatar: nettel
    nettel
    Participant
    May 4, 2016 at 14:59

    Hello,

    How can I translate button “Add to wishlist”? I made translation on /wp-content/themes/royal/languages pl_PL.po and default.po and still I see english version.

    11 Answers
    Avatar: Robert Hall
    Robert Hall
    Participant
    May 4, 2016 at 15:16

    Hello,

    You can edit this button in Dashboard->YIT Plugins->Wishlist->General Settings->”Add to Wishlist” text.

    Regards,
    Robert Hall

    Avatar: nettel
    nettel
    Participant
    May 4, 2016 at 15:28

    Thanks!.

    One more question, how to add button Browse Wishlist to navbar header? Next to Newslleter and login.

    Avatar: Robert Hall
    Robert Hall
    Participant
    May 4, 2016 at 16:17

    First you need create the custom menu in Appearance->Menus – http://prntscr.com/b06ych
    Then navigate to Appearance->Widgets and add the Custom Menu widget to Right Side Top bar area – http://prntscr.com/b06yum

    Regards,
    Robert Hall

    Avatar: nettel
    nettel
    Participant
    May 5, 2016 at 08:32

    Thank you Robert but it doesn’t work. No reaction.

    My steps:
    1. I added custom menu: http://scr.hu/0qstu/3lkgg
    2. I put it to Right Side Top bar area in widgets http://scr.hu/0qstu/4oj6r

    View is the same:
    http://scr.hu/0qstu/gsprx

    When I go to personalise view I do not see Right side top bar, only left with social icons, maybe this is issue.
    http://scr.hu/0qstu/7a0vo

    Avatar: Robert Hall
    Robert Hall
    Participant
    May 5, 2016 at 08:35

    Hello,

    Please provide us with wp-admin and FTP credentials in Private Content.

    Regards,
    Robert Hall

    Avatar: nettel
    nettel
    Participant
    May 5, 2016 at 08:59

    Hi,

    Credentials in private content.

    Please, contact administrator
    for this information.
    Avatar: Robert Hall
    Robert Hall
    Participant
    May 5, 2016 at 10:11

    Hello,

    Sorry, but this method works only with Header Type which included the Top Bar menu. For example, Header Type 1-7, 9.
    http://prntscr.com/b0hl0h

    Regards,
    Robert Hall

    Avatar: nettel
    nettel
    Participant
    May 5, 2016 at 10:43

    Ok. So how can I add this to this Header what I use? Or in which file I can find it to code by me?

    Avatar: Robert Hall
    Robert Hall
    Participant
    May 5, 2016 at 11:27

    In this case you need edit the etheme_top_links function in \wp-content\themes\royal\framework\theme-functions.php file.

    add this code

    <li class=""><a href="/autoinstalator/wordpressplus/wishlist/view/" class=""><?php _e('Browse Wishlist', ETHEME_DOMAIN); ?></a></li>

    before

    <?php if(etheme_get_option('promo_popup')): ?>
    <li class="popup_link <?php if(!etheme_get_option('promo_link')): ?>hidden<?php endif; ?>"><a class="etheme-popup <?php echo (etheme_get_option('promo_auto_open')) ? 'open-click': '' ; ?>" href="#etheme-popup"><?php _e('Newsletter', ETHEME_DOMAIN); ?></a></li>
    <?php endif; ?>

    See screenshot how it should be http://prntscr.com/b0ic0d

    Regards,
    Robert Hall

    Avatar: nettel
    nettel
    Participant
    May 5, 2016 at 13:10

    Works! Thank you very much.

    Avatar: Eva
    Eva Kemp
    Participant
    May 5, 2016 at 13:12

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘Translate wishlist button’' 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.