For info: I believe when the back-end URL's are the right ones, we set up in the wpml, than all should be good.
After that I use the following code to make things work on the front-end. This is how we did it with watervision. So the problem is the MISMATCH in the settings and what you actually see in the back-end when viewing the overview of product categories. There is a wrong slug for the languages.
Not trusting you guys will come up with a working solution, altough i have other sites that have this setup too, I hereby close this ticket.
I will fix it myself.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.