Skip Navigation

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

Problem:
The client is using WP All Import and Export Pro plugin to export WooCommerce products and trying to import the translated file back to the store. However, they are unable to run WPML Export and Import to apply languages and connect translations. Additionally, after importing the translated file, the client faces issues with language switching and 404 errors on translated URLs.
Solution:
We recommend following these steps:
1. Ensure that you import product categories first before importing the products. This sequence is crucial for the correct application of translations.
2. Verify that the necessary WPML import fields such as

_wpml_import_language_code

,

_wpml_import_source_language_code

, and

_wpml_import_translation_group

are included during the import process. These fields are essential for WPML to recognize and apply the correct language settings.
3. If issues persist, particularly with URL language parameters not functioning correctly, it might be necessary to review the configuration settings within WPML and ensure that all settings are correctly applied for URL translations.
4. For detailed guidance on exporting and importing translated content using WPML, please refer to the documentation here: WPML Export and Import documentation.

If this solution does not resolve your issue or seems outdated, 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 further assistance is needed, 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 10 replies, has 0 voices.

Last updated by Carlos Rojas 6 days, 21 hours ago.

Assisted by: Carlos Rojas.

Author Posts
January 9, 2025 at 3:45 am #16575898

valeng

Background of the issue:
I'm using WP All Import and Export Pro plugin to export WooCommerce products from my store and trying to import the translated file back to it. However, I'm unable to run WPML Export and Import to apply languages and connect translations.

Symptoms:
After importing the translated file, I'm unable to run WPML Export and Import to apply languages and connect translations.

Questions:
Why am I unable to run WPML Export and Import after importing the translated file?
How can I successfully import translated WooCommerce products using WPML?

January 9, 2025 at 2:01 pm #16578158

Carlos Rojas
Supporter

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

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

I don't fully understand where you find the problem. I kindly ask you to share a link to a video following the steps described in this guide: https://wpml.org/documentation/related-projects/wpml-export-and-import/ and showing where the problem appears. This will help me to understand the issue.

Looking forward to your message.
Regards,
Carlos

January 9, 2025 at 2:41 pm #16578458

valeng

hi Carlos,

i have imported translated Product category in German language. And i configure the Product menu for it as well. but under the WP Menu Sync section, i see the Menu in German language is Not translated. shouldn't it be translated?

WP MENU SYNC.png
German menu.png
January 9, 2025 at 3:42 pm #16578804

valeng

i have another question is that when i export product from my store and transated it in German language, and import it back via WP ALL IMPORT Pro. (attached image is the translated file to import), the language do not switch corractly between English and German after adding ?lang=de or ?lang=en parameter at the end of the URL. Here is the catagory URL that translated product imported to hidden link

When hidden link should switch to German language but it doesn't . it shows 404 error page. I can see that the menu can be switched to German. But the import translated product and website footer not.

Could you tell me how to fix the issue? thanks

translated German.png
January 10, 2025 at 9:39 am #16581167

Carlos Rojas
Supporter

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

Timezone: Europe/Madrid (GMT+01:00)

Hi there,
Let's focus on one issue at a time.

Could you provide the answer to my previous message? (https://wpml.org/forums/topic/fail-to-import-tranlsated-woocommerce-productds/#post-16578158)

January 10, 2025 at 10:36 am #16581561

valeng

hi Carlos Rojas, i notice that i missing the _wpml_import_language_code
_wpml_import_source_language_code , and _wpml_import_translation_group when importing via wp all import. so i was unable to run the wpml export and import. Now it has been done. but after imported the translated content, it has the issues happens which is the reply #16578804

January 10, 2025 at 10:38 am #16581566

Carlos Rojas
Supporter

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

Timezone: Europe/Madrid (GMT+01:00)

Hi,
Thank you for your answer.

About the product category issue: when I visit hidden link I can see the category translated correctly, no 404 error.

January 10, 2025 at 10:42 am #16581571

valeng

the problem happens when i use WP all import to import translated file to my exist default English products. It did not show error due to i just used WMPL credits to translate it. But i still need to figure it out why this happens

January 10, 2025 at 10:48 am #16581625

Carlos Rojas
Supporter

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

Timezone: Europe/Madrid (GMT+01:00)

Well, I need to reproduce the issue to understand it.

In any case, you must import the product categories first, and then import the products.

January 10, 2025 at 10:54 am #16581638

valeng

thats what i did. my default product langage is en. when i want to upload tranlsated de products. do i need to export my existing English products, and adding a idenfier id and import it back, then import the de tranlsated file?

January 10, 2025 at 10:58 am #16581642

Carlos Rojas
Supporter

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

Timezone: Europe/Madrid (GMT+01:00)

Yes, that would be the correct way.