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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by John-Pierre Cornelissen 46 minutes ago.

Assisted by: Dražen.

Author Posts
June 24, 2025 at 11:14 am #17164431

John-Pierre Cornelissen

Background of the issue:
I use the shortcode [wpml_disabled_selector_widget] to display the language switcher on my site hidden link. The translator, who has the WP user role subscriber, translates with the classic translation editor.

Symptoms:
When I receive the translated content, the shortcode in the translations is [wpml_disabled_selector_widget], which shows "You're not allowed to use this shortcode." in the front end.

Questions:
Why does the translation get a different shortcode?

June 24, 2025 at 11:27 am #17164487

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

this is the ticket, let us know how it goes and if anything else we can do.

Regards,
Drazen

June 25, 2025 at 8:38 am #17167686

John-Pierre Cornelissen

Hi,

I have tested this and now I am 100% sure that it's WPML who changes the shortcode upon saving the translations from

[ wpml _language _selector _widget ]
to
[wpml_disabled_selector_widget]

Here is a screen recording that shows what/how it happens.
hidden link

Thanks
JP

Edit: I added spaces in the correct shortcode, because here too it changes the correct shortcode into the wrong one.