Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi grisgc,

    you should never change strings directly from the plugin, as every update would erase all you work ??

    The correct way to translate plugin strings is through .po and .mo archive
    You can follow our localization guide, that you can find here

    Let me know if this solves the problem
    Have a nice day ??

    Thread Starter grisgc

    (@grisgc)

    Hi!

    Thank you for your answer, but i don′t see any changes. I followed all the instructions ahnd there is not change in wishlist page (columns: Product – Stock – Status Add to Cart). Any idea?

    Have a nice day! ??

    Plugin Author YITHEMES

    (@yithemes)

    Hi again ??

    Maybe, your theme is overwriting wishlist template, changing text domain (so that our .po arichives cannot translate this strings anymore)

    Can you please check if your theme contains wishlist.php or wishlist-view.php files?

    Thank you
    Have a nice day!

    Thread Starter grisgc

    (@grisgc)

    Hello!

    You are right! There are two files inside theme folder… Thank you!!! Have a nice week ??

    Plugin Author YITHEMES

    (@yithemes)

    Hi!

    Glad to hear good news
    Marking this topic as resolved ??

    Thread Starter grisgc

    (@grisgc)

    Hi!

    I would like to do that but I still do not know how to translate this section , so I can not mark it as resolved, sorry ??

    Best regards!

    Plugin Author YITHEMES

    (@yithemes)

    Hi again Grisgc

    You can change strings directly editing wishlist-view.php file; search for strings to translate, and change them as you wish

    This method is quite rough, but should work; alternatively, search for strings to translate, and check what text domain is associated to them.

    Usually, an i18n string appears like this

    __( 'String', 'text_domanin' );
    _e( 'String', 'text_domanin' );

    If text domain differs from yith-woocommerce-wishlist, you should translate your strings from .po file of your theme

    Please, let me know if this helps you
    Have a nice day ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Translate "In stock" "Add to cart" in wishlist’ is closed to new replies.