[Resolved] Divi Contact Form Helper fields not available for translation
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is using the Divi Contact Form Helper plugin and has identified certain fields that are not available for translation in the WPML Advanced Translation Editor. These fields include Description, Placeholder text, HTML field, and various fields within the Confirmation Email settings.
Solution: We provided a Custom XML Configuration to make the missing fields translatable. The client should add the following code to WPML > Settings > Custom XML Configuration:
After adding the code, the client should re-translate the page. Additionally, we reminded the client not to forget to translate URLs, providing a link to our documentation on this topic:
If the provided solution does not apply due to being outdated or not relevant to the client's specific case, we recommend opening a new support ticket. We also highly suggest checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that the latest versions of themes and plugins are installed.
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.
I'm using the plugin Divi Contact Form Helper to create forms on for example: hidden link
However, there are a few fields that's not available for translation in the Advanced Translation Editor. I know that this can be solved with the Custom XML Configuration but I can't just get my head around it. Could you please help me?
I've pointed out the fields in the attached screenshot.
that plugin is not officially on our list and probably needs additional configuration to be translatable. We can help with a few, but it would be also good to invite the author to our compatibility program so we can together make it WPML compatible:
As for your issue, I can take a look and help out with XML code. I created a minimal installation of WordPress, WPML, and all necessary WPML add-ons.
You can access the WordPress dashboard using the link below:
- hidden link
Kindly follow the steps below:
- Set up WPML
- Install the necessary plugins.
- Try to replicate the issue with simple example
- Share with me step by step guide on how can I check the issue
Amazing, thanks! I will for sure contact the plugin developer and ask him to join your program.
I've installed everything and added a form on this page: hidden link
There are a few form fields that are not available for translation in the WPML Advanced Translation Editor. Please see the attached image.
* Description
* Placeholder text
* HTML field (this is a free text TinyMCE editor)
* Confirmation email (this is not visible onpage but can be found in the Contact Form module under Settings » Content » Confirmation Email). I've tried to add this in the Custom XML settings but I can only see the Email Subject in the Translation Editor. These fields are missing from the confirmation email:
- Email Address Field ID
- Confirmation Email From Name
- Confirmation Email From Email Address
- Confirmation Email Message
Thanks! How can I combine your XML with my existing custom XML? I've tried to combine them but they have different tags and I just get error messages when I try to merge them.
et_pb_contact_field and et_pb_contact_form, are not the same shortcode, so you shouldn't add that one to another, it is different widget on your page / Divi builder.
Thanks, now we are really close. I noticed that the options for Radio buttons, Checkboxes and Dropdowns/Selects were not available for translation. I tried to add these attributes but it looks fishy in the translation editor. Is there a better way to add these fields? See the attached image.