• Hello

    I really hope to find some answers here, since woocommerce has no support for their users that uses their free products.

    I have manually translated every text by going through every .php file, but i still haven’t found the 2 most important texts.
    “Browse Wishlist” & “Add to Wishlist”

    These are the last 2 text before the plugin is fully translated.

    Can somebody name the .php file in which the text is located?

    – Mark

    https://www.ads-software.com/plugins/yith-woocommerce-wishlist/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Katie

    (@kymkeracousticalsurfacescom)

    I’m not sure if this will help with your translation, but I was able to change the text of the “Browse Wishlist” button by hooking into a filter. (This would go in your functions.php file)

    function edit_browse_wishlist_label() {
    return 'ENTER YOUR LABEL HERE';
    }
    add_filter( 'yith-wcwl-browse-wishlist-label', 'edit_browse_wishlist_label' );

    To change the “Add to Wishlist” text, you can do that within the settings page. (Woocommerce Settings -> Wishlist -> “Add to Wishlist” Text) Otherwise you can edit the filter in the same manner as above, using yith_wcwl_button_label when you are adding the new filter.

    If you still want to just edit the php file, it is located within the file class.yith-wcwl-ui.php.

    Thanks Katie. I added this to my functions.php file and it worked great.

    One potential gotcha is the priority parameter. I had to raise the priority (100 in the snippet below) override the default value.

    add_filter( 'yith-wcwl-browse-wishlist-label', 'edit_browse_wishlist_label', 100 );

    Have the same problem. I can fixt i now. But would be great if this is solved in the next update.

    Plugin Author YITHEMES

    (@yithemes)

    Hi,

    Thank you for reporting. We do a test and let’s fixare shortly.

    Hi, Did update version 2.0.3 fix this?

    Plugin Author YITHEMES

    (@yithemes)

    We will add an option to customize “browse the wishlist” text in the next release.

    Thanks for your patience ??

    Hi!

    Is it also possible to change the text of the ‘Wishlist’ in the header?
    I mean the wishlist that indicates how many items there are in your wishlist, which you can click to visit you wishlist. Can’t find it in the language files..

    ??

    Plugin Author YITHEMES

    (@yithemes)

    @liv2day.com

    This seems to be a theme feature, and not a default plugin behavior; you can ask this correction to theme developers ??

    Try version 2.0.4 for “browse the wishlist” text option ??

    Aaaah you’re right! ?? thx!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Translation of 2 buttons’ is closed to new replies.