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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 -
- - - - - - -

Supporter timezone: Pacific/Easter (GMT-05:00)

This topic contains 0 replies, has 2 voices.

Last updated by Ilyes 3 days, 2 hours ago.

Assisted by: Ilyes.

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,

February 4, 2025 at 9:25 pm #16668514

arnaudh-8

HI Ilyes,

I haven't heard from you since Jan 30th, could you please review my request?

Thank you for your assistance.

Best,

February 5, 2025 at 2:50 pm #16671668

Ilyes
Supporter

Languages: French (Français )

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

Hello,

The ticket was marked as resolved the first time, so I did not receive your reply on the 30th, I will now check your site.

For the translations that reverted back, I'm sure that's a cached version because the first time I tested the untranslated parts, I reverted the page back to the original language temporarily.

February 5, 2025 at 3:20 pm #16671869

Ilyes
Supporter

Languages: French (Français )

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

I'm installing a copy of your site locally, I will download a backup of your site using All In One Migration plugin so I can test freely without affecting your site.

But for now, one of the forms are made using MailChimp, which require this glue plugin to work properly with WPML: https://wpml.org/documentation/related-projects/mailchimp-for-wordpress-multilingual/

I did install it for you, I will give you more updates shortly.

February 5, 2025 at 3:44 pm #16672070

arnaudh-8

Hi Ilyes,

Thank you for your response. Please note that I stopped the automatic translation for my website and switched to the classic editor as I have it set this way on another website and it works better for me.

Also, it looks like I am now able to modify the translated pages in Elementor, which allows me to modify the links for the grid. For now, the links for the french hompage / grid link to the french pages, so I am hoping this won't change and my problem with links is resolved.

Regarding 1. Submit button and 3. Conditions générales d’utilisation / Contact / Politique de confidentialité Links I would appreciate your assistance.

Thank you for your assistance!

February 5, 2025 at 3:59 pm #16672112

arnaudh-8

For the grid, the links on the french page reverted again to the english pages... I d'ont know what to do with this... It's so frustrating...

February 5, 2025 at 5:23 pm #16672478

Ilyes
Supporter

Languages: French (Français )

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

1- The submit button from the WordPress Commenting form cannot be translated, this is a compatibility issue with Houzez

2- The URL of each grid is not set dynamically : hidden link

This mean WPML cannot update the URL to the right language automatically and there is no possible way to use dynamic links with this widget, I'm preparing an XML code so you can translate it manually using the translation editor.

3- The footer is now translated, it turns out the footer menu is not translated : hidden link

I will get back to you with more updates,