I can not add properly the language switcher block to the header. I use the language switcher block, but when I click the spanish link the menu shows something like this; nu003cspan class=u0022wpml-ls-nativeu0022 lang=u0022esu0022u003eEspañolu003c/spanu003e
Two details. The problem is NOT the language switcher block. The block just outputs a pair of links. So, as far as I see, the issue is related to the navigation menu for the translation. It seems the menu is corrupted in some way.
I reviewed menu translations and they seem fine to me. So, I am wondering if all is related to blocks. I am using Twenty Twenty Three theme which is a block theme, and I know the navigation block has still some issues. But, I have a hundred product translated and I do not have a menu!
But how can I fix this? I need this fixed ASAP. Otherwise WPML for me is useless.
I'm currently reviewing the website's setup and running some tests accordingly.
Will share the findings, as soon as this testing completes.
Thank you for your patience.
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.