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.