I need to import a new translation language for an e-commerce site that uses WooCommerce and WPML. I already have all products set up in Italian as the main language, and I would like to add Polish as a new language by importing the translations.
As plugins, I am using WP All Import Pro and WPML All Import.
In the Italian products, I added several fields for testing: a custom field called _group_wpml, and also a “Unique Identifier” field created with ACF, which matches the Italian product ID.
I managed to import one Polish product and link it correctly to its translation, but when I try to import multiple products, it doesn’t work.
Could you help me with the translation import process?
I see that you are using WP All Import Pro, and WPML All Import. I would like to highlight that while WPML All Import still works, our preferred workflow for importing content uses our new plugin, WPML Export and Import.
I understand that you already have your Polish products on a CSV or XML file. In our documentation, we describe how to prepare it by including some additional fields that will link the imported data with the existing one. Given that your original content already exists, you will need to find the right value for the
_wpml_import_translation_group
field, as the value in the CSV or XML entry for a translation needs to match the value that already exists for the original Italian product. One way to get those values is to install WPML Export and Import, and then export your existing Italian products: the export package will include this field for each entry.
You might also need to pay attention to the documentation section for the additional column
_wpml_import_wc_local_attribute_labels
for WooCommerce local attributes. If you have a staging site that you used to generate the WP All Export package, you can as well install WPML Export and Import in that staging site, run the exporting process again, and this field will be added automatically to your export package - just remember to verify and eventually add or edit the
_wpml_import_translation_group
column of each entry.
Regards.
The topic ‘[Closed] Help to import new linguage in CSV’ is closed to new replies.