When using the Simplpars module for parsing products from the donor website, there are issues when working with multilingual categories and attributes.
For example, on the source site, the category is called «vacuum cleaner / пилосос» — that is, indicated in two languages (Russian and Ukrainian).
When I run parsing in Ukrainian, a «пилосос» category is created, as expected. I translate the content and get, as on the donor «пылесос / пилосос»
However, during re-import or product updates, the module again creates a duplicate «пилосос» category, even if it already exists.
The problem, apparently, is that the module checks the category (or attribute) name in two languages simultaneously, even if parsing is performed only in one language. Similar behavior is observed with attributes — duplicates appear in different languages.
It is necessary to fix this logic so that:
The module correctly works with categories and attributes when parsing only one language;
Duplicate records are not created;
After updating the module, the changes do not break its functionality.