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 1 reply, has 0 voices.

Last updated by przemyslawD-3 3 days ago.

Assisted by: Otto.

Author Posts
February 18, 2025 at 10:03 am #16717798

przemyslawD-3

Background of the issue:
I am trying to copy products from one WooCommerce-based online store to another. The store is translated from Polish into English, German, French, Italian, and Spanish using WPML. I used the default WooCommerce import/export function and the WPML import/export extension. Link to a page where the issue can be seen: hidden link

Symptoms:
The products and attributes import correctly, but the categories have random language assignments. In the WooCommerce > Products view, they seem correct, but in the category view or the WooCommerce Multilingual category view, there is chaos.

Questions:
What could be the cause of the random language assignments for categories?
How can we fix the issue with category language assignments?

February 18, 2025 at 12:48 pm #16718905

Otto
Supporter

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I am not sure why the import failed. But this documentation may help you to fix it:
https://wpml.org/faq/how-can-i-reconnect-taxonomy-translations-to-their-default-language-terms/

If it does not work or there are too many. You may try creating a product that includes all the categories and translate it. Import just that product and check everything works fine and then import the rest of the products.

Also importing the taxonomies in advance may help:
https://wpml.org/documentation/related-projects/wpml-export-and-import/#import-multilingual-content

Please, let me know if this points you in the right direction.

Best Regards,
Otto

February 26, 2025 at 2:47 pm #16751665

przemyslawD-3

I fixed the categories manually. It's not the best solution, but it worked.