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
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 2 replies, has 1 voice.

Last updated by Prosenjit Barman 7 months, 3 weeks ago.

Assisted by: Prosenjit Barman.

Author Posts
November 19, 2024 at 10:48 pm #16421827

Fabian

Background of the issue:
I am trying to export my product categories using any export plugin where WPML hooks into the export to add _wpml_import_language_code, _wpml_import_source_language_code, and _wpml_import_translation_group. I am using WPML Export and Import plugin version 1.0.2. I found that I can recreate the issues by manually running this: apply_filters( 'wpml_element_trid', null, $term->term_taxonomy_id, 'tax_product_cat'); This gives me the correct data that I wish I saw in my exported file.

Symptoms:
Each term is exported with the TermID, but the _wpml_import_* fields are filled with data from the term id instead of the term taxonomy id. It works fine for some items where the term id and the term taxonomy id are the same, but on most items, it does not work. This gives me the data that I see in my exported file: apply_filters( 'wpml_element_trid', null, $term->term_id, 'tax_product_cat');

Questions:
Why are the _wpml_import_* fields filled with data from the term id instead of the term taxonomy id?
How can I ensure the correct language codes and translation groups are exported?

November 23, 2024 at 5:01 pm #16436299

Fabian

Anyone?

November 25, 2024 at 10:35 am #16439181

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There!

Thank you for reaching out to WPML Support. Sorry for the delayed response, as we experienced a sudden increase in tickets, and the weekend added to the delay.

I understand your concern. When exporting WooCommerce data, ensuring the WooCommerce exporter settings are configured correctly should result in an export file that includes all necessary data, such as taxonomies, terms, and language codes. If the export file is missing information or displays incorrect data, it could be due to misconfigured settings or inconsistencies in the product data.

To ensure everything is correctly configured in the exporter, could you try exporting the products again, making sure to select 'All languages' in the language selector? You can refer to the guide below for a detailed explanation.

- https://wpml.org/documentation/related-projects/wpml-export-and-import/#export-multilingual-content

Make sure you've selected the 'All Custom Meta option' at the time of exporting the product.

If the issue persists, I kindly request you to create a video, demonstrating the steps to replicate the problem and share it in your next response. Please try to capture everything from the beginning, as this will greatly help in understanding the issue more clearly and provide more accurate suggestions to resolve it.

Looking forward to your response and appreciate your patience and kind cooperation in this matter.

Best regards,
Prosenjit

The topic ‘[Closed] There is a bug in your Import Export plugin’ is closed to new replies.