Background of the issue:
I am trying to import products into WooCommerce using WPALLIMPORT and WPML. My products can belong to multiple categories, and I am using a .csv file with multiple fields for category hierarchies. I want to import these categories without creating duplicates or translating them, using the Italian categories as the base for other languages.
Symptoms:
When importing French or English languages, categories are sometimes duplicated with suffixes like -fr or -en, or products are not in the correct categories. I want to avoid creating categories first and ensure that categories exist only in Italian, with other languages using the same Italian categories.
Questions:
How can I import products in multiple languages without duplicating categories?
How can I ensure that categories are not translated and remain consistent across languages?