• Resolved Helen

    (@web09)


    Hi,
    I just added the plugin and modified the text for the add to cart button. Now I need to translate it, we have WPML but I cannot find it in the string translation. I can only see the string “Add to cart text”, which is not it. How can I translate it?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, @web09 .

    Thanks for using our plugin. I’m sorry to hear you’re having difficulty with translating the custom Add to cart text. I’m happy to help you sort this out.

    I am relaying this concern to our development team, and will let you know as soon as we have an update.

    Thank you for telling us about this, and I’m very sorry for the inconvenience.

    Hi again, @web09 .

    Thank you for your patience.

    We confirm that you can translate our plugin’s custom “Add to cart” text by translating the “Add to cart text” string in the WooCommerce plugin.

    You can see this mentioned in the following comment in our plugin’s code, that our plugin’s “Add to cart” text is picked up from the WooCommerce translation in the “woocommerce” text domain – https://share.getcloudapp.com/rRuQbpBP .

    If you’ve already translated this on your site and the translation does not display in the front-end, then this could be due to some form of caching. I suggest that you clear/delete/empty all forms of caching that might be active on your site, its web server, or the web browser that you’re using (you can also use an incognito/private browser window or a different browser).

    Should you continue to have difficulty with translating the custom “Add to cart” text using WPML, and given the translation plugin’s complexity, WPML’s support team have kindly agreed to support Barn2’s customers in using it to translate our plugins. That’s because they are much more familiar with WPML than we are and can make sure you have configured it correctly. If they discover that it’s a compatibility issue rather than a setup issue, then they will liaise with our developers directly to find a solution.

    As a result, please could you reach out to WPML Support and they will be happy to assist.

    Alternatively, you can also consider using either the Weglot Translation Plugin or the TranslatePress Multilingual plugin instead. We have tutorials about how you can translate our plugins using these at:

    I hope this makes sense and helps. Please let me know how it goes, and if you have any more questions.

    Best regards,

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