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

Last updated by Andreas W. 6 days, 22 hours ago.

Assisted by: Andreas W..

Author Posts
April 25, 2025 at 6:24 pm #16969628

alirezaS-3
Site owner

Background of the issue:
I am trying to import products in two different languages (EN and DE, where EN is the default language) using the built-in importer. The import of EN and DE reports no issues, and the WPML Export and Import also run with no issues. The shop initially shows the variables and variations correctly.

Symptoms:
After performing an update to the EN product, all the DE local product attributes (such as size and colour) are afterwards not shown in the webshop. I expected to see translated variables/variations functioning correctly, but instead, I got a variable with no variations shown.

Questions:
Why are the DE local product attributes not shown after updating the EN product?
How can I ensure that translated variables/variations function correctly after updates?
In WPML, settings, under "Custom Term Meta Translation", the Custom fields are marked as "Don't translate". Before the product update, all 6 were shown. After the update, only the 3 EN are shown. I believe that some wpml hook deleted the tree DE's.

April 26, 2025 at 2:03 am #16970204

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

The issue might be caused by a different setting.

Please revise WPML > Settings > Taxonomy Translation. Are the attributes set as "Translatable"?

Are all global attributes currently translated at WPML > Taxonomy Translation?

Best regards
Andreas

April 26, 2025 at 2:27 pm #16971051

alirezaS-3
Site owner

Hi

The attributes are local, so they are not listed under Taxonomy Translation.

I have attached the taxonomy settings. Please notice that this is the view after I did a simple change to the EN product.

2025-04-26_16-19-44.jpg
2025-04-26_16-03-18.jpg
April 26, 2025 at 8:27 pm #16971599

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

If those attributes are custom attributes, that were created directly on the original product, then you should try to edit the attributes on the original product, save the product and then translate it again with the WPML Translation Editor to 100%.

Did you try this already?

April 28, 2025 at 6:32 am #16973232

alirezaS-3
Site owner

Hi

I edited one of the attributes of the original product, but still no translated attributes are shown (ie. when looking at the translated product).

Where shall I re-translate the attributes ? It does not make sense to manually re-translate the whole product as the translations are already imported using the import tool.

If I try to re-translate the product, then all translations (ie all input fields) are empty. If I fill in all input fields (to 100%), then the translated product attribute is shown, but no translated values are shown.

Remember that after importing the csv files, everything seems to be working - ie translated texts and attributes are shown. The issue is after a simple change to the original product.

April 29, 2025 at 5:21 pm #16980476

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

If you use custom attributes, that are created directly on the product, then the only way to translate them is by translating the product using the WPML Translation Editor as a translation method.

If you use the WordPress Editor as a translation method or reply in imports without translating the products, then you need to use global attributes that are created as Products > Attributes.

April 30, 2025 at 10:14 am #16982940

alirezaS-3
Site owner

I need some clarification.

When I import csv files with originals AND translations, then translations (custom attributes included) are imported correctly. I don't need to re-translate them. I can see the products and variations (in the shop) in both languages. The problem arise if I afterwards want to, as an example, change the price of the original product.

Can't we migrate products from one shop to another without re-translating ?

April 30, 2025 at 11:13 am #16983450

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Yes, if you make edits on the original product you will need to update the translation and it would be expected that the custom attributes are translated together with the product on the translation editor.

The problem generally is, that if you use the WordPress Editor, you will not be able to translate custom attributes, but if you earlier imported translated attributes, then this usually should remain saved.

I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.

You can find the required fields below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up your website and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and website credentials will be set to "PUBLIC." DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may need to install a plugin called "All In One WP Migration" to create a copy of the website so I can investigate the issue further.

However, I would also be very grateful if you could provide a staging site or a copy of the website from your server for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/account/websites/.

If you are unable to provide such a copy of the website for testing, please let me know on this ticket.

The private reply form looks like this:
hidden link

Click "I still need assistance" the next time you reply.

Video:
hidden link

Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket in the private response form.

April 30, 2025 at 2:20 pm #16984476

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

There was a config issue reported at WooCommerce > WooCommerce Multilingual & Multi-Currency > Status. See screenshot.

The 'product_variation' needs to be set to "Translatable only show translated items" - you can not use fallback in this case.

I have fixed this issue now. Please test again.

status.jpg
April 30, 2025 at 5:04 pm #16984998

alirezaS-3
Site owner

I have done the following

1. I deleted all products
2. I imported the csv (with original and translated products)
3. I ran the wmpl export import
4. The products and translations are shown correctly.
5. I updated the description of a product (in the original language)
6. The product variations of the translated product are not shown
7. The WooCommerce > WooCommerce Multilingual & Multi-Currency > Status show no erros.

What do I do wrong ?

April 30, 2025 at 5:43 pm #16985070

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I would suggest you update all the plugins, then test again and if the issue persists, then please send me your import files and let me know which import method you are using.

I will then try to recreate the issue on a new test site and if I can not recreate it I will take a copy of your site for testing.

One question:
Do you get the same results if you disable the plugin "wpmlimport-137"?

April 30, 2025 at 6:57 pm #16985171

alirezaS-3
Site owner

Same result after updating all plugins and deactivating "wpmlimport-137".

Here's the csv file: hidden link

May 1, 2025 at 5:28 am #16985601

alirezaS-3
Site owner

There was a type in the link. Now corrected

hidden link

May 2, 2025 at 6:42 pm #16990579

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Please revise the example files on this page:
https://wpml.org/documentation/related-projects/wpml-export-and-import/preparing-import-files-for-wpml-export-and-import/#creating-spreadsheets-with-language-columns

Questions:
You did use the WooCommerce Export method at Products > All Products > Export?
Did you make any edits to the column titles or rows of the file?

Your example uses "Parent" values like "id:26" which might be a mismatch.

You should usually use the ID "26" in such cases.

Also, the field for that parent should be empty and not "0".

You use:
0
id:26
id:26

But it should be:

26
26

---

If I run a test on a minimal setup I can not confirm such issue. It seems the export file was altered somehow.

May 8, 2025 at 12:44 pm #17011750

alirezaS-3
Site owner

can you please show me your csv file.

Thanks.