Skip Navigation

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.

This topic contains 0 replies, has 2 voices.

Last updated by arnaudh-8 2 days, 16 hours ago.

Author Posts
January 22, 2025 at 2:04 pm #16623497

arnaudh-8

Background of the issue:
I am trying to translate the Submit label of the contact form button on my contact page, which uses the contact form widget from the Houzez theme: hidden link. I have attempted to translate this label using WPML's String Translation and by looking for strings while pages are rendered, but neither method worked.

Symptoms:
The Submit label of the contact form button does not appear in ATE, while other fields like First Name and Last Name do.

Questions:
How can I translate the Submit label of the contact form button in ATE?

January 22, 2025 at 4:09 pm #16624228

Ilyes
Supporter

Languages: French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

Thanks for contacting WPML support team,

I recommend increasing your WP_MEMORY_LIMIT value to at least 256M (You currently have 40M)
Please follow this documentation to learn how to increase it :
https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/#how-to-increase-your-sites-memory-limit

Then try re-translating the label again from String Translation, as the memory could be the cause of this behavior,

If that did not help, I would like to ask for temporary access to your site’s wp-admin.

It is important to note that you should back up your site and database before proceeding, and you can use a plugin like Duplicator for this purpose. Here’s a link to the plugin: http://wordpress.org/plugins/duplicator/

If you do not see the form below, please do not enter your credentials as they will be publicly exposed:

hidden link

For your privacy and security, please ensure that you make your reply a private one.

Best regards,

January 22, 2025 at 5:43 pm #16624626

Ilyes
Supporter

Languages: French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

Your form is now completely translated : hidden link

I have increased your memory, but that wasn't enough to solve this, it turns out WPML wasn't able to detect the button label field in ATE, which could be fixed by manually adding this code under WPML's language configuration file:

<wpml-config>
  <elementor-widgets>
    <widget name="houzez_elementor_contact_form">
      <fields>
        <field>form_name</field>
        <field>form_fields</field>
        <field>button_text</field>
        <field>email_to</field>
        <field>email_subject</field>
      </fields>
      <fields-in-item items_of="form_fields">
        <field>field_label</field>
        <field>placeholder</field>
      </fields-in-item>
    </widget>
  </elementor-widgets>
</wpml-config>

That widget is now completely compatible and can be translate from the translation editor.

Let me know if you have any other questions,

Best

January 22, 2025 at 6:26 pm #16624823

arnaudh-8

Thank you for your help Ilyes, my issues are resolved now! I hope the compatibility between Houzez & WPML can be improved in the future, to avoid this type of issues, as I have had many.

January 22, 2025 at 7:29 pm #16624972

arnaudh-8

Hello Ilyes,

In fact, after a closer look on my website, and after your intervention, many translation reverted to the original language and my website got super slow (Performance grade F while it was A this morning). SCARY...

Please HELP!!!

January 23, 2025 at 12:37 pm #16627788

Ilyes
Supporter

Languages: French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

Could you share the access again? we have deleted the first access since you confirmed the issue was resolved,

Best,