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 3 replies, has 2 voices.

Last updated by Mohamed Sayed 9 months, 1 week ago.

Assisted by: Mohamed Sayed.

Author Posts
February 7, 2024 at 10:01 pm #15279190

daliaG

I am trying to: "Translate" the download file in the translated product, but it's locked

Link to a page where the issue can be seen: In variable products, download link field hidden link

I expected to see: An editable field to replace with proper link

Instead, I got: a locked field

Screenshot 2024-02-07 at 4.59.49 PM.png
February 8, 2024 at 12:33 pm #15281235

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

Please try the following steps:

1. Go to Woocommerce > WooCommerce Multilingual & Multicurrency > Settings tab
2. Set the "Products Download Files" to "Add separate download files for translations when translating products
3. Update the original product with a small change
4. Update the translation with the Advanced translation editor
5. Use the search field at the top to find the original file URL and translate it
6. Save the translation

Let me know please if that helps.

Kind regards,
Mohamed

Screenshot_635.png
Screenshot_636.png
February 8, 2024 at 3:05 pm #15281944

daliaG

Hi Mohamed;

I had already done those steps. I was able to translate download links in a simple product, not variable products. While waiting for a reply, I found an old thread and gave it a try: By switching from advanced to classic editor, the fields are now available for "translation" and I am able to input a different download link.

The issue I have now is the following.
Let's say I buy product A in English, then I change language and buy the same product A in French, When I go to the cart, I see quantity of 2 of the same product. This will affect the download links, since they are different.
Is there a way to have the cart page understand that the products are "different" even if translated?

Thank you!

February 8, 2024 at 5:29 pm #15282642

Mohamed Sayed

In this case, you can reset your cart contents when the language changes. This can be done from Woocommerce > WooCommerce Multilingual & Multicurrency > Settings tab, then setting the cart option when changing the language to "Prompt for a confirmation and reset the cart".

https://wpml.org/documentation/related-projects/woocommerce-multilingual/#clearing-cart-contents

Screenshot_637.png