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 5:00 – 13:00 5:00 – 13:00 5:00 – 13:00 5: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/Argentina/Buenos_Aires (GMT-03:00)

This topic contains 3 replies, has 0 voices.

Last updated by Otto 3 days, 23 hours ago.

Assisted by: Otto.

Author Posts
February 13, 2025 at 2:17 pm #16703011

witoldR

Background of the issue:
I am trying to translate shortcodes, for example: [tpl_method id="123"]. The issue can be seen on this page: hidden link

Symptoms:
The client did not specify what they expected to see or what they got instead.

Questions:
How can I translate shortcodes in WPML?
Is there a specific method to handle shortcodes like [tpl_method id="123"]?

February 13, 2025 at 3:24 pm #16703403

Otto
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hi,

I think this documentation will point you in the right direction:
hidden link Custom Shortcodes with WPML">Translate Custom Shortcodes with WPML

Best Regards,
Otto

February 20, 2025 at 9:40 am #16728467

witoldR

The link does not work.
Could you give me the correct link?

February 20, 2025 at 1:33 pm #16729810

Otto
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

I am sorry, please apologize.

Here you have the correct link:
https://wpml.org/documentation/support/language-configuration-files/translate-custom-shortcodes-with-wpml/

Best Regards,
Otto