[Waiting for user confirmation] Contact Form 7 - Auto translation issues
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.
Background of the issue:
I am trying to translate Contact Form 7 using WPML. We’re facing two issues after translating the Contact Form 7. The auto-translation for Contact Form 7 isn’t working correctly in some languages, and we’re seeing the contact form shortcode on the frontend. Additionally, after auto-translation, the <[your-email]> placeholder is not appearing in the message body for secondary languages. See screenshots: hidden link and hidden link.
Symptoms:
1) Auto-Translation Issue: The auto-translation for Contact Form 7 isn’t working correctly in some languages, showing the contact form shortcode on the frontend. 2) Missing Email Placeholder: The <[your-email]> placeholder is not appearing in the message body for secondary languages after auto-translation.
Questions:
Why is the auto-translation for Contact Form 7 not working correctly in some languages?
Why is the <[your-email]> placeholder missing in the message body for secondary languages after auto-translation?
2.- Also, create a full site backup and update the WPML main plugin in Plugins -> Add new -> Commercial tab. Then double-check if the issue disappeared.
Yes, I suspect that might be the cause of the issue. Can you manually edit the form in the secondary language, set the correct shortcodes and double-check if the issue disappeared?
If you need help with these steps I can do it for you 🙂
Can you manually edit the form in the secondary language, set the correct shortcodes and double-check if the issue disappeared?
Reply : We've already manually edited and resolved the issue. However, if we re-translate in the future, we may encounter the same problem again. That’s why we raised this ticket — to bring attention to the issue and have it resolved, so we won’t need to manually edit the form in the secondary language each time.
Second issue: After auto-translation, the <[your-email]> placeholder is not appearing in the message body for secondary languages. As a result, when a customer sends a message from the form in the secondary language, we don't receive the email. Please refer to the following screenshot: hidden link.
I suspect this might be an isolated case, however, I would like to take a closer look at the site configuration and try to reproduce the issue. Please share the access credentials to the site in your next message that I have set private.
Confirm you created a full site backup that you can use to restore the site if necessary.
However, I haven't been able to access the site because the server credentials are missing. Could you edit your previous (private) message and share the server credentials?
Note: If you open the site on incognito mode you will see the form for the missing credentials
Thank you very much! This time I was able to access the site.
Before proceeding, I ask you to please create a backup of the entire site and update all the plugins and themes that appear as outdated on this link: hidden link
Outdated functionalities can cause conflicts in the code.
Once the update is complete, I kindly ask you to create a test form and check if the issue disappears when translating it.