Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 7 replies, has 2 voices.

Last updated by michelR-20 1 year, 2 months ago.

Assisted by: Mohamed Sayed.

Author Posts
October 2, 2023 at 2:57 pm #14498975

michelR-20

Tell us what you are trying to do?
Woocommerce "Add to Cart" English button appears as French "Ajouter au Panier"

Is there any documentation that you are following?
No
Theme is Kadence Pro
Also running Formindable Forms

Is there a similar example that we can see?

What is the link to your site?
It is affecting all products in the shop:
hidden link

But you need to sign in to view it.

Attached screen shot shows string translation and english product page with french button.

Please help

screen shot.jpg
October 2, 2023 at 10:59 pm #14501069

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

Please create a full backup of the database and website then go to WPML > Support > Troubleshooting page, and click the following:

- Clear the Cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Fix WPML table collation
- Set language information
- Fix post type assignment for translations

Let me know please if that helps.

Kind regards,
Mohamed

October 3, 2023 at 12:44 pm #14504805

michelR-20

Hello,
I did all the above from the Troubleshooting Page.
It did not help. Still seeing 2nd Language translation on 1st Language Add to cart button.

October 3, 2023 at 12:47 pm #14504813

michelR-20

If I "Delete the selected string" will that reset it if I call it up again?

October 3, 2023 at 2:48 pm #14506199

Mohamed Sayed

The "Delete selected strings" option in "String Translation" page will delete the French translation.

Please try the following steps and let us know how that goes:

- Go to WPML String Translation
- Delete the string
- Scroll down to the "Auto register strings for translation" section and enable that option
- Visit the page where the string is added on the front end
- Go back to String translation and disable the auto register option
- Search again for the string and translate it

October 3, 2023 at 3:23 pm #14506643

michelR-20

Hi Mohamed,
That french string is stubborn. It 's still stuck on the 1st language english "Add to cart" button.

Screenshot.png
October 3, 2023 at 3:25 pm #14506669

michelR-20

Even when I delete the string.

October 3, 2023 at 3:38 pm #14506791

michelR-20

I installed free plugin:
WooCommerce Custom Add To Cart Button
By Barn2

Which some how resolved my issue.