Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is unable to find the texts of the 'DIVI form helper' plugin in the advanced translation editor, specifically needing to translate the module fields 'Confirmation Email Subject' and 'Confirmation Email Message'.

Solution:
1. Navigate to WPML > Settings > Custom XML Configuration tab.
2. Add the following XML code and save it:

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag>et_pb_contact_form</tag>
      <attributes>
        <attribute>title</attribute>
        <attribute>title_tablet</attribute>
        <attribute>title_phone</attribute>
        <attribute>email</attribute>
        <attribute>custom_message</attribute>
        <attribute>success_message</attribute>
        <attribute>confirmation_email_subject</attribute>
        <attribute>confirmation_message_richtext</attribute>
        <attribute>submit_button_text</attribute>
        <attribute>submit_button_text_tablet</attribute>
        <attribute>submit_button_text_phone</attribute>
        <attribute type="media-url">background_image</attribute>
        <attribute type="link">redirect_url</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

3. Make a minor change and update the page.
4. Update the translation.

The fields should now be available in the translation editor.

Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket.

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 next available supporter will start replying to tickets in about 5.47 hours from now. Thank you for your understanding.

This topic contains 7 replies, has 3 voices.

Last updated by Mohamed Sayed 6 months, 3 weeks ago.

Assisted by: Mohamed Sayed.

Author Posts
March 2, 2024 at 1:46 pm #15365749

christianD-67

Tell us what you are trying to do?
My website baltrag.com (staging: studio-d.ch) works fine, even the contact form of DIVI is translated. I have supplemented the contact form with the plugin "DIVI form helper". It enables, among other things, an email copy to the sender. But I can't find the texts of the new plugin in the advanced translation editor. I have to translate the module fields "Confirmation Email Subject" and "Confirmation Email Message".

Is there any documentation that you are following?
I wanted to create an XML using the plugin "Multilingual Tools", but I failed.

March 2, 2024 at 4:13 pm #15365892

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Please install "Divi Contact Form Helper" on the following test site which already includes Divi and WPML.

One-Click-Login:
hidden link

Now import your specific content (only the affected page) or recreate a simple example page from scratch, and we will have a look into that.

Make sure to leave us a comment on this ticket once you are done with this task.

Best regards
Andreas

March 2, 2024 at 5:32 pm #15365958

christianD-67

Hi Andreas. Thank you for your quick reply. I have installed the plugin as requested and copied the contact page.

March 3, 2024 at 2:08 pm #15366733

Mohamed Sayed

Hi Christian,
Thanks for contacting WPML support.

I tried the following steps and it works on the sandbox site:

1. Go to WPML > Settings > Custom XML Configuration tab
2. Add the following XML code and save it:

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag>et_pb_contact_form</tag>
      <attributes>
        <attribute>title</attribute>
        <attribute>title_tablet</attribute>
        <attribute>title_phone</attribute>
        <attribute>email</attribute>
        <attribute>custom_message</attribute>
        <attribute>success_message</attribute>
        <attribute>confirmation_email_subject</attribute>
        <attribute>confirmation_message_richtext</attribute>
        <attribute>submit_button_text</attribute>
        <attribute>submit_button_text_tablet</attribute>
        <attribute>submit_button_text_phone</attribute>
        <attribute type="media-url">background_image</attribute>
        <attribute type="link">redirect_url</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

3. Update the page with a minor change
4. Update the translation

The fields are available now in the translation editor (Please check the attached screenshot).

Let me know please if that helps.

Kind regards,
Mohamed

Screenshot_751.png
March 3, 2024 at 7:18 pm #15367192

christianD-67

It works now perfectly. Thank you so much for you help, I didn't expect that support with this non-compatible plugin. I am very happy! One last question: How could I find these attributes myself to generate a xml file? Just in case I have to edit the module...

March 4, 2024 at 10:20 am #15368659

Mohamed Sayed

I'm glad to hear that the issue is resolved.

You need first to get the module name which can be found in the Divi module shortcode. Please check this article for more details about how to find it: hidden link

Once you have the module name, you can use it to register the module with a custom XML config.

Please check the following docs for more info:

- https://wpml.org/documentation/translating-your-contents/page-builders/how-to-register-page-builder-modules-and-theme-options/
- https://wpml.org/documentation/support/maintaining-divi-builder-compatibility-wpml/
- https://wpml.org/documentation/support/language-configuration-files/#page-builder-content

March 4, 2024 at 2:29 pm #15370151

christianD-67

One problem is new, since I installed the plugin "Divi Contact Form Helper" or since I added the XML code. The erorr message "Please fill in the following fields:" is not translated any more. What could I do?

March 4, 2024 at 9:33 pm #15372237

Mohamed Sayed

It seems that the plugin is showing a different string, please try the following steps to translate it:

1. Go to WPML > String Translation > Translate texts in admin screens link
2. Search for the text
3. Select it and click "Add to String Translation"
4. Go to WPML > String Translation
5. Search for the text again and translate it

Screenshot_754.png
Screenshot_756.png
Screenshot_755.png
March 5, 2024 at 6:19 am #15372646

christianD-67

It works, thank you so much.

christianD-67 confirmed that the issue was resolved on 2024-03-05 06:19:38.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.