Skip to content Skip to sidebar

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

Problem:
The client needs to add German translations for over 1,000 existing product categories on their multilingual website, which are already translated into four languages. They attempted to import the German categories as translations of the Latvian terms using WP All Import, but the translations were not linked correctly.
Solution:
We recommend following the specific workflow outlined in our guide for importing multilingual content. Ensure that you use the WPML Export and Import add-on and adhere to the process described to correctly link the imported categories to the existing translations. You can find the guide here: Importing Multilingual Content.
If this method does not resolve the issue, another approach involves exporting all language data, ensuring the CSV file aligns with our documentation, and then re-importing each language. This should allow WPML to correctly connect the default language and its translations.
Alternatively, for manual assignment of a large number of categories, consider developing a custom code solution. Use our hook wpml_set_element_language_details to connect the German categories as translations of the default language.

If these solutions do not apply to your case, or if they seem 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. Should you need further assistance, please do not hesitate to 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.

Tagged: 

This topic contains 3 replies, has 1 voice.

Last updated by Dražen 1 week ago.

Assisted by: Dražen.

Author Posts
July 22, 2025 at 12:43 pm #17258936

vadimP

Background of the issue:
I have over 1,000 product categories on my website hidden link, each translated into 4 languages (Latvian, English, French, Russian). I need to add translations for these existing categories in a new language (German) using WP All Import.

Symptoms:
I imported the categories in Latvian first and then imported the German categories, marking them as translations of the previously imported Latvian terms in the WPML tab during import. However, this approach didn’t link the translations correctly.

Questions:
How could I import new language translations for existing product categories?

July 23, 2025 at 1:35 am #17261483

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for reaching out to WPML support. While one of my colleagues reviews your ticket, I’d like to share some initial debugging steps that might help right away.

Please ensure you’ve followed the correct workflow as outlined in our guide:
https://wpml.org/documentation/related-projects/wpml-export-and-import/#import-multilingual-content

When using the WPML Export and Import add-on, the imported categories should link correctly to the existing translated categories, provided the process is followed as described.

Let us know if you run into any issues or need further assistance.

July 25, 2025 at 10:33 am #17270684

vadimP

Hi. I have installed plugin which you suggested, follow instruction for import product category, but still no changes.

July 28, 2025 at 11:52 am #17274772

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for getting back.

As I have understood and as per your question, you are trying to import translation to existing categories on your website.

I am afraid that will not be possible out of box, you will need to export all languages, make sure the language info / CSV file is correct as per docs shared and then import back each language. Then it will work fine and WPML will connect default language and translation correctly.

Other way is, as you are doing it now, but instead manually assigning 1000 categories develop a custom code solution using our hook and connect German category as translation of default language:

- https://wpml.org/wpml-hook/wpml_set_element_language_details/

Regards,
Drazen