Home›Support›English Support›[Waiting for user confirmation] shortcode created by WP Coder using PHP set in widgets cannot be translated to other languages
[Waiting for user confirmation] shortcode created by WP Coder using PHP set in widgets cannot be translated to other languages
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.
Background of the issue:
I am using a shortcode created by WP Coder in PHP, which is set in widgets for the main sidebar. This shortcode is intended to work across all languages on my site hidden link. Currently, it works for the English page but not for the other two languages.
Symptoms:
The shortcode created by WP Coder using PHP set in widgets cannot be translated to other languages.
Questions:
How can I make the shortcode work for all languages using WPML?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Hi,
before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.
We can make it translatable using an XML-Config. Can you please post the code you have right now?
I don't see any textual context in your shortcode; therefore, I'm unsure why you need to translate it. If you still want to register the shortcode for WPML’s awareness (even if no translation is needed), you can use this minimal config:
I added the code in Custom XML Configuration and then saved it. But it doesn't work and I also don't see a automatically (should it?) created wpml-config.xml file placed in the root folder of child theme.