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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-08:00)

This topic contains 5 replies, has 2 voices.

Last updated by Bobby 1 year, 4 months ago.

Assisted by: Bobby.

Author Posts
July 7, 2023 at 6:30 pm #13969883

mariannaF-4

I create a custom menu widget but it doesn't show up on the Spanish language.

July 7, 2023 at 6:37 pm #13969913

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hello,

Please share with me how you are adding the language switcher and the code you used.

For being of better help, can you please provide your WPML Debug information in the debug field below? http://wpml.org/faq/provide-debug-information-faster-support/

July 7, 2023 at 6:40 pm #13969917

mariannaF-4

I added [wpml_language_selector_widget] as a raw html element using wpbakery

July 10, 2023 at 6:27 pm #14008995

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Thank you for verifying.

Are you adding the shortcode in a template or the page builder?

if it is a template/layout verify that it has been translated correctly and it includes the shortcode for the translation as well.

Also, review the following documentation as you will need to add supportt for the Raw HTML element.

https://wpml.org/documentation/plugins-compatibility/how-to-build-multilingual-sites-with-wpbakery-page-builder-and-wpml/#adding-support-for-the-raw-html-element

This might be the reason why the switcher is not showing in the translation.

If the support has not been added then the shortcode was not copied over to the translation.

Let me know your results, please.

July 11, 2023 at 4:22 pm #14017083

mariannaF-4

This is how I added it. How do I verify that it has been translated correctly? I added the snippet to settings.

Screenshot 2023-07-11 at 12.20.51 PM.png
July 11, 2023 at 7:33 pm #14017777

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

If you added the snippet already, then edit the homepage and make a small change and update the translation again.

This should ensure it works as expected.

Let me know your results, please.

The topic ‘[Closed] custom menu widget’ is closed to new replies.