I can't translate the text contained in a shortcode added via Elementor using the Heading widget on a WordPress page.
Example shortcode: [test-wpml string="Hello X."]
Original version : Fr, Translation : En
What works:
OK: use the shortcode directly in Gutenberg (by configuring the shortcode in WPML > Settings > Custom XML Configuration)
OK: find and translate the shortcode in Adv. CE
OK: Display the front page with the result of the correctly translated shortcode.
What doesn't work:
OK: use the shortcode in a Heading widget (or HTML or Custom code widget) by configuring the shortcode in WPML > Settings > Custom XML Configuration.
OK: find and translate the shortcode in ACE
KO: The front page displays the UNtranslated version of the shortcode.
It looks like you are already familiar with our documentation but for good measure, I will link it below, please give it a quick read and verify everything is set up OK:
I confirm that I read this page in full before contacting you. I have just redone it, taking into account the following paragraphs:
- Making Shortcodes Translatable
- Translating Registered Custom Shortcodes
No ID, no link and no hardcoded text in my case.
Thanks for the sandbox. I've just used it. Unfortunately it's worse, I can't see the shortcode in the Advanced Translation Editor. Could you help me ?
1. If you search for the shortcode directly in the ATE you can find it and tranlsate it, however, I can confirm that even after it still does not display.