-
-
Hello,
In the product page i have translated the button Add to cart. When i press it, a loader appears to add the product to the cart and later the button changed to “ADDED” and then again back to “ADD TO CART”.
How i can prevent this to happen to keep the translation of the button? Because it swaps it.
Regards
-
-
Hello,
Can you please post some valid wp credentials in your profile data? So we can give it a closer look.
Best regards!
-
-
Hello,
This is a button that uses js to send information from one action to another file. Are you using a translation plugin to translate site? I need to check the configuration of it.
If you are translating the site directly from theme files (**Not recommended as it will prevent you from taking future theme updates, which are very important!), then the given string can be found in these files inside theme folder:
functions.php
\includes\codeless_customizer\codeless_options\shop.php
\js\codeless-main.js
\woocommerce\single-product\add-to-cart\external.php
\woocommerce\single-product\add-to-cart\grouped.php
\woocommerce\single-product\add-to-cart\simple.php
\woocommerce\wishlist-view.phpBest regards!
-
Hey,
I have the same problem. I need to translsate “added” and “add to cart”. I am using a child-theme, so I have founde the files in the June theme that you mention. But how do I change the languae? I can’t see where I do it.
-
Hello,
Please use the pot files to translate the site. Check this article for more information: https://support.ellethemes.com/?ht_kb=translate-site-using-po-mo-files
Best regards!
-
You must be logged in to reply to this topic.