Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 6 replies, has 2 voices.

Last updated by ignasiT 1 year, 10 months ago.

Assisted by: Waqar Ali.

Author Posts
June 14, 2023 at 4:50 pm #13827133

ignasiT

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

nu003cspan class=u0022wpml-ls-nativeu0022 lang=u0022cau0022u003eCatalàu003c/spanu003eu003cspan class=u0022wpml-ls-displayu0022u003eu003cspan class=u0022wpml-ls-bracketu0022u003e (u003c/spanu003eCatalánu003cspan class=u0022wpml-ls-bracketu0022u003e)u003c/spanu003eu003c/spanu003e

Untitled.png
June 15, 2023 at 7:09 am #13829747

ignasiT

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.

June 15, 2023 at 7:53 am #13830057

ignasiT

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.

Screenshot 2023-06-15 094711.png
June 15, 2023 at 12:34 pm #13832177

Waqar Ali

Hi,

Thank you for contacting us and I'd be happy to assist.

To troubleshoot this, I'll need to see how this navigation menu block and the header are set up in the admin area.

Can you please share temporary admin login details, along with the link to the example page where this issue can be seen?

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

June 19, 2023 at 10:52 am #13850495

ignasiT

Any idea of what I can do to solve my problem with Navigation?

June 20, 2023 at 3:47 am #13855225

Waqar Ali

Thank you for sharing the access details.

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.