Closed
Description
In Magento 2.1, when you are in a top category, for example: example.com/fashion and you switch to another language, it works ok.
But when you are inside a child category, like: example.com/fashion/men and you switch to another language, it leads to 404 not found.
In child category, the url becomes: example.es/fashion/fashion/men (main category duplicated in url) so it returns a 404.