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 1 reply, has 0 voices.

Last updated by Andreas W. 16 hours, 29 minutes ago.

Author Posts
March 8, 2025 at 10:53 pm #16792134

ericH-23

Background of the issue:
I am using a dynamic key in my WordPress site under development, but its name is being translated, for example, **{{Optionsschlüssel:shortcode_for_search_in_place}}**, which causes it to stop working (should be optionkey). I can manually correct this in the translations.

Symptoms:
The dynamic key's name is being translated, causing it to stop working.

Questions:
How can I ensure that the original page remains correctly translated while preventing the key from being altered?

March 9, 2025 at 12:44 am #16792223

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

To avoid the automatic translation you can make use of the Advanced Translation Editor's Glossary by adding your dynamic keys as "Names" to the Glossary:

https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/how-to-create-and-manage-glossary-entries/

In case you need further assistance It would be very helpful if you could send us the WPML debugging information.
More information here:
https://wpml.org/de/faq/provide-debug-information-faster-support/

Best regards
Andreas