Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

Supporter timezone: Europe/Vienna (GMT+02:00)

This topic contains 22 replies, has 0 voices.

Last updated by Bigul 6 days, 15 hours ago.

Assisted by: Bigul.

Author Posts
July 18, 2025 at 9:18 am #17249262

dennisv-7

Hello Bigul,

The code in the screenshot I sended and you shared back, is the code I've used to add a product with the REST API.

And as I mentioned in the previous message. The test product I've created with the REST API is working fine and is automatically translated without any problems. You can also test it with the test product:
hidden link

The product "Arden Hutten houten designstoelen in warme houttint" (the product of the product link you sended back) is not automatically translated. As you can see between the languages. Only the Dutch version of this product contains a description. See attachments.

So I have no clue what the difference is between the test product and this actual product.

Scherm­afbeelding 2025-07-18 om 11.16.38.png
Scherm­afbeelding 2025-07-18 om 11.16.16.png
July 21, 2025 at 4:29 am #17253634

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. Just to confirm, could you please let us know how many products are currently showing this issue?

We noticed that the product “Arden Hutten houten designstoelen in warme houttint” is showing the translation status as “Translation needs update” in the post edit screen.

Therefore, we please try the following steps after taking a full site backup. Refer to the attached images for more details.

1) Upgrade to the latest version of WooCommerce (10.0.2)
2) Visit WPML >> Support >> Troubleshooting
3) Click on the following buttons

- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Synchronize local job IDs with ATE jobs
- Synchronize translators and translation managers with ATE
- Cancel in-progress automatic jobs

4) Clear all types of caches
5) Open the page for editing in the original language
6) Make a minor change to the product in original language: hidden link
7) Save the changes

--
Thanks!

Bigul

2025-07-21_09h51_48.png
2025-07-21_09h47_12.png
July 22, 2025 at 8:20 am #17258165

dennisv-7

Hello Bigul,

I've done the steps. After that I made a small change in the product "Arden Hutten houten designstoelen in warme houttint". But it stil wasn't auto translated. So in the Translation Management I've added the product manually for translating. And after that the product is correctly translated (with the small change). After that I removed the small change and updated it. After that all translations were also updated and the product is not in the Translation Management.

Do you think it is now fixed for all current products and future products? Or do I need add all products manually before they are auto translated?

July 22, 2025 at 6:31 pm #17260755

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the feedback. This appears to be a translation sync issue. Therefore, please let us know how many products are currently affected by this problem.

As a next step to track this, please do the following after taking a full site backup:

- Go to WPML >> Translation Management and temporarily disable the Automatic Translation option.
- Navigate to WPML >> Translation Management >> Translation Jobs.
- Filter the post types by Product
- Filter the post type by Status ("In Progress")
- Then check how many products are showing the "In Progress" status.

This will help us identify the issue more effectively. Refer to the attached images for more details.

Also, just to confirm, all new products created via the REST API are now translated as expected, correct?

--
Thanks!

Bigul

2025-07-22_23h51_40.png
2025-07-22_23h50_52.png
2025-07-22_23h50_18.png
July 30, 2025 at 2:18 pm #17282538

dennisv-7

Hello Bigul,

Sorry for the late response. I've checked the Transloation Jobs and there are no products with the status "In progress. See attachment.

Well, the test products are translated and continue to work as expected. But there are some newer and older products which are still waiting to be translated. Also there are some new products which have the status "Translated", but there is no product description at the DE, FR en EN languages of the product only the main language (NL).

After I made a small change to that product's description, the products is given the status "Needs translation update". With that I can manually add the product to the auto translator and the product is fully translated. After that I removed the small change (I forgot the remove it before and all translation had this small change) and all languages of the products is automatically translated without adding it manually to the translator.

Screenshot 2025-07-30 at 15-51-01 Translation Management ‹ Super-Seat — WordPress.png
July 31, 2025 at 9:28 am #17284498

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the feedback. This appears to be an exception. Just to confirm, are you using the same method or code to create both the test products and the existing products that are showing the issue (the ones described below)?

Well, the test products are translated and continue to work as expected. But there are some newer and older products which are still waiting to be translated. Also there are some new products which have the status "Translated", but there is no product description at the DE, FR en EN languages of the product only the main language (NL).

There might be differences in the WooCommerce post metadata or the custom code execution for creating the products, which could be contributing to the problem. Please cross-check and let us know your feedback. This will help us track the bug more effectively.

--
Thanks!

Bigul

July 31, 2025 at 11:16 am #17284772

dennisv-7

Hello Bigul,

I've asked xCore (the company which adds the product with the API) to send me the source code of how they adds the products to the shop. Maybe with that I can compare it with the code I've made to add the test products.

If I have the source code and/or found anything. I'll let you know.

July 31, 2025 at 7:25 pm #17286595

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. That will be very helpful for our troubleshooting process.
Please take your time, we will wait for your feedback.

--
Thanks!

Bigul