Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are unable to translate the 'related product' field manually or automatically in WPML.
Solution:
The 'linked products' field is locked for product translations and cannot be translated directly as it syncs with the original product. Here's how to manage it:
1. Create some products and translate them.
2. Add some of these products to the 'linked products' field.
3. Translate the product to which you added items in the 'linked products' field.
4. Ensure that the products in the 'linked products' field are translated first. They will then appear correctly in the translated product.

This solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If this does not resolve your issue, please open a new support ticket at WPML support forum.

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 16 replies, has 0 voices.

Last updated by Andrey 4 days, 4 hours ago.

Assisted by: Andrey.

Author Posts
May 12, 2025 at 12:54 pm #17023087

rafalL-7

Background of the issue:
I am trying to translate, or copy, the translations of the 'related product' field for my products on my site hidden link. I can't translate it by hand nor let it be translated automatically like product variation fields.

Symptoms:
I am unable to translate the 'related product' field manually or automatically.

Questions:
How can I translate the 'related product' field using WPML?

May 12, 2025 at 7:36 pm #17024514

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

Is the 'related product' field a custom field?

Please upload any relevant screenshots or links that would help illustrate the problem. I want to ensure that I fully understand the issue at hand so that I can provide the best possible solution.

I've enabled debug information for this support ticket. Please refer to this link for instructions on how to retrieve this information from your site and provide it to us: http://wpml.org/faq/provide-debug-information-faster-support/

May 13, 2025 at 9:34 am #17026253

rafalL-7

Hi Andrey,

No, it is not a custom field. It is a standard related products field for WooCommerce Products. You can see the field filled out in Polish (the original language), and in Czech (it does not translate, and I cannot add anything there). When using the translation dashboard, those fields are not offered.

Product_PL.png
Product_CZ.png
May 13, 2025 at 12:29 pm #17027405

rafalL-7

https://woocommerce.com/document/related-products-up-sells-and-cross-sells/

This is the module of WooCommerce. In their documentation it is called "linked products"

May 13, 2025 at 1:16 pm #17027905

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for the explanation. I now have a clear understanding.

The "linked products" field is locked for product translations, along with some other product parameters, and this is expected behavior. This field cannot be translated because it remains in sync with the original product.

Here’s how it works, which I have confirmed on my local installation:

1. Create some products and translate them.
2. Add some of these products to the "linked products" field.
3. Translate the product to which you added items in the "linked products" field.
4. The "linked products" will appear in the translated product, but you must ensure that you have translated those products first.

I have attached screenshots for your review.

Edit-product-“Linking-products”-‹-woo2-site-—-WordPress.png
Edit-product-“Зв’язування-продуктів”-‹-woo2-site-—-WordPress.png
May 13, 2025 at 1:43 pm #17028106

rafalL-7

I'm not sure I understand the steps.

I have created a few products already and translated them. I have added them to the original language version's linked products field and saved the product.

Now, when I go to edit the other language versions, I can add products to the linked products field, but after saving, they disappear.

May 13, 2025 at 2:13 pm #17028307

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback.

Now, when I go to edit the other language versions, I can add products to the linked products field, but after saving, they disappear.

You do not need to do this. They will be automatically added when you translate or update the original product.

I have created a brief screencast for you to review: hidden link

May 13, 2025 at 2:20 pm #17028428

rafalL-7

I see what You mean, but there is no "linked products" field when translating the product using the WPML dashboard.

WPML_Dashboard.png
May 13, 2025 at 2:27 pm #17028503

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback.

As I mentioned earlier, the "linked products" field cannot be added to the translation. It is designed to work as I described above.

If I correctly understood, the items you add to the "linked products" field are the products. So you need to translate them separately as you do for the products in the usual way.

May 13, 2025 at 2:31 pm #17028507

rafalL-7

They have been translated already

May 13, 2025 at 2:35 pm #17028538

rafalL-7

Ok, I think I get it. The translations are a separate product. You mean that if I wish to use the linked products, I need to have just one set of products with all the translations, right?

That is too much work at this moment. Can I force WPML not to translate this field somehow?

May 13, 2025 at 2:36 pm #17028541

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Have you tried the following steps?

- Slightly modify the original product, such as adding something to the description.
- Add linked products.
- Save your changes (Update product).
- Navigate to the WPML translation editor to complete the product translation.

Does the translated linked product appear in the translated version of the product where you added them?

May 13, 2025 at 2:39 pm #17028545

rafalL-7

Or force it to ignore this field, so that I can edit it like I want?

May 13, 2025 at 2:39 pm #17028546

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Ok, I think I get it. The translations are a separate product. You mean that if I wish to use the linked products, I need to have just one set of products with all the translations, right?

Yes, that's correct. You need to translate them.

That is too much work at this moment. Can I force WPML not to translate this field somehow?

The field won't appear for translation. You can not to translate the linked products.

May 13, 2025 at 2:41 pm #17028578

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Or force it to ignore this field, so that I can edit it like I want?

Unfortunately, it is not possible to ignore.