[Waiting for user confirmation] Shortcode translating (fluent forms)
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.
Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
<b>Symptoms: </b>
I am unsure how to translate a shortcode with WPML for non-compatible plugins.
<b>Questions: </b>
How can I translate a shortcode (fluent forms) on my page using WPML for non-compatible plugins? I have a quick video for you here: hidden link
Your steps in the screencast are correct. You will not overwrite any existing XML settings; instead, you'll be adding a new XML configuration. Here’s a more straightforward outline of the steps to follow:
1. Add the new XML configuration by navigating to WPML → Settings → Custom XML Configuration, then click “Save.”
2. Make a minor change to the page containing the shortcode and update the page.
3. Go to the translation editor and change the ID to match the translated version.
Before making any changes, please ensure that you back up your database first.
good to know then.
I did as you wrote -but still see no way in the translation editor to edit any "ID".
Also when I tried the trick with make a slightly change to the page (in the orig. language) a 2nd and 3rd time and then go to the translation editor, I get this error - see screenshot attached.
Is this something on the wpml site itself? As when in the translation editor its a hidden link?.... link and not the website url itself.
New threads created by Andrey and linked to this one are listed below:
Did the ID not appear in the translation editor after the page update? Did you also add the line to the functions.php of your current theme?
Also when I tried the trick with make a slightly change to the page (in the orig. language) a 2nd and 3rd time and then go to the translation editor, I get this error - see screenshot attached.
Is this something on the wpml site itself? As when in the translation editor its a hidden link?.... link and not the website url itself.
This indicates that the page has a lot of data for translation and has exceeded the limit. For example, the issue might be caused by some HTML metadata that could be added to each heading and paragraph on that page or custom CSS data if you added some. So, something besides the text for transaltion could be attached to the translation job and increased it.
If you encounter this issue again, please check the headings and paragraphs, and if you find the same metadata, make sure to delete it. Also, if you paste content, check if any metadata are pasted with it. I hope this helps.
yepp I did as you said reg. the [shortcode] issue. See also the video here: hidden link
I also show you in the clip any possible add. information or html metadata. Its not really much there. Please see for yourself - and kindly let me know in case where I could see that extra HTML metadata to each heading/paragraphs. (after viewing the video)
Thank you for your explanation. Yes, I was referring to the metadata on the page itself; that might be one reason for the issue, but what you’ve shown looks fine.
Regarding the shortcode, it won’t appear in the Advanced Translation Editor (ATE) until you trigger the translation. Here’s what you can do:
1. Make a minor change to the page that contains the shortcode and update the page.
2. Then, go to the translation editor and change the ID to match the translated version.