[Resolved] ActiveCampaign - Unable to translate shortcodes with ATE
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is unable to translate shortcodes using the Advanced Translation Editor (ATE) when they are not created with the WordPress Editor.
Solution: We recommend trying the following steps in a staging environment: 1. Manually open the page and edit the HTML element to change the embedded code for each language if it's not appearing in the translation editor. 2. Add the shortcode to a regular HTML widget. 3. Use the 'manual mode' in the WPML editor for this specific page. You can find more information on how to use different translation editors for different pages in our documentation: Using Different Translation Editors for Different Pages.
If this solution doesn't seem relevant to your issue, please open a new support ticket in our forum: WPML Support Forum.
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.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
I did some internal research and we have been testing the ActiveCampaign plugin about a year ago but it did not pass.
The issue here is that the plugin is not using the shortcode arguments in a way in which we could translate these shortcodes.
We informed the author of the plugin about this issue one year ago and are still waiting for cooperation.
Could you please ask the author of the plugin to implement "quotes" on their shortcode attributes which you access in "Settings > Active Campaning > Copy Shortcode" button?
Example:
E.g. this is what we have:
[activecampaign form=1 css=0]
This makes the attribute be handled as an integer and not as a string.
This is what we need:
[activecampaign form="1" css="0"]
If the author does not adapt this in their code, we will not be able to translate those shortcodes with the WPML Translation Editor.
Hi!
I got a few messages with activecampaign support, and in the end unfortunately they said that they won't be able to help:
"Hi again, Cyrille,
Thanks a lot for providing us with the video recording.
Our technical team could confirm that this is a limitation with the third party plugin, and that it would be needed to be checked with the developer of that plugin.
I understand that you have already communicated with them on that issue, however, we wouldn't be able to help further on that issue as much as we would love to (although, the full embed code may work for what you would like to achieve if you want to give it a go).
I wish you a great day!
Kind Regards"
So they suggest that i should use the embed code instead of the shortcode, and that it would work with wpml in that case. Can you confirm that indeed it would work? In this case i may replace all shortcodes by embed code. Except if you see any other solution ?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Hi Cyrille,
I can't confirm it, as this plugin has not been tested and certified with WPML. I recommend testing this on a staging environment to see if this is a valid workaround.