Skip Navigation

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

Problem:
The client is trying to translate user notifications for Gravity Forms using WPML, but despite following the guide and translating all forms and strings, the notifications are still sent in German when the enquiry is made from the English version of the site.
Solution:
We conducted a test by setting up a local copy of the client's site with only essential plugins activated (WPML CMS, String Translation, Gravity Forms, and Gravity Forms Multilingual) and using the default WordPress theme. We created a test page and did not encounter the issue in this minimal setup. We suggest the client to:
1) Deactivate all non-essential plugins.
2) Switch to the default WordPress theme temporarily.
3) Clear the browser's cache or try accessing the site using a private browsing window to see if the issue persists.

If these steps do not resolve the issue, we recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem continues, 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.

Tagged: 

This topic contains 7 replies, has 1 voice.

Last updated by stefanoM-53 5 days, 10 hours ago.

Assisted by: Osama Mersal.

Author Posts
December 5, 2024 at 9:09 am #16480174

stefanoM-53

Background of the issue:
I am trying to translate the user notifications of Gravity Forms on my site hidden link using WPML.

Symptoms:
I followed the guide. All forms are translated and all the strings are also translated. Nonetheless the system keeps sending the user notification in german even if I send an enquiry from the english site

Questions:
How can I translate the user notifications of Gravity Forms using WPML?

December 5, 2024 at 9:11 am #16480222

stefanoM-53

hidden link

Bildschirmfoto 2024-12-05 um 10.11.15.png
Bildschirmfoto 2024-12-05 um 10.11.10.png
December 8, 2024 at 11:00 am #16489577

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

First of all, sorry for the late reply; it was due to a higher workload.

1) Please log in to this hidden link">sandbox site and try to replicate the issue. If it is reproducible, please let me know how to reproduce it.

Note: You can check the emails using the hidden link">Mail Log plugin.

2) Could you please share your Debug information with me?
You can read a detailed explanation about it here. (http://wpml.org/faq/provide-debug-information-faster-support)
The debug info will give me much information about how your site is configured.

Best regards,
Osama

December 9, 2024 at 9:58 am #16491729

stefanoM-53

Hi Osama,

thanks for your reply.

I attached the debug information.

I also installed the form on the staging site, translated the strings for the confirmation mail and sent a couple of test enquiries.

Let me know if you can find the error.

Best regards,
Stefano

December 9, 2024 at 10:47 am #16492043

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Stefano,

Thanks for importing the form. The form was not translated, so I translated it via WPML-> Translation Management. Please submit the form in hidden link">English and check the hidden link">mail.

I tested it, and it seems to work correctly. Please check the last mail in the mail log to see my test.

Best regards,
Osama

December 12, 2024 at 10:15 am #16507029

stefanoM-53

Hi Osama,

thanks for your reply.

I tested it and can also see the email in english.

Do you then have an idea why the form is not working correctly on the live site?

Best regards,
Stefano

December 12, 2024 at 10:18 am #16507032

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Stefano,

Please go to WPML-> Translation Management, select the form, and send it to translation.

After that, please update the translation and check if the strings are translated correctly.

If that didn't help, please check if the issue persists in a minimal environment by following these steps.

1- Deactivate all the plugins except those active ones on the sandbox site.
2- Switch to a WordPress default theme like Twenty Twenty-one.

If the issue is gone, activate them one by one to see which one is causing an interaction issue.

❌ Please backup your database before performing the above test ❌

Best regards,
Osama

December 12, 2024 at 10:43 am #16507128

stefanoM-53

Hi Osama,

i retranslated the form (which was already translated) and made multiple tests with only the plugins activated in attachment.

I only have to let WP Mail SMTP PRO active because if I deactivate it I don't receive any email from the system.

Nothing changes and I still get the email in german.

I also checked all the strings and these are translated....

Bildschirmfoto 2024-12-12 um 11.42.55.png
Bildschirmfoto 2024-12-12 um 11.37.55.png
December 12, 2024 at 10:48 am #16507161

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Stefano,

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

December 12, 2024 at 11:57 am #16507584

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Stefano,

1) I installed a local copy of your site and deactivated all plugins except WPML CMS, String Translation, Gravity Forms, and Gravity Forms Multilingual.

After that, I activated the WordPress default theme and created a test page to reproduce the issue.

The issue didn't happen in the minimal installation. Kindly check this hidden link">video.

2) On your site, I tested the form on this hidden link">page, and it worked correctly. Kindly check the attached screenshot to see the mail I received.

Would you please clear your browser's cache or check using a private window?

Best regards,
Osama

2024-12-12_13-55-26.png
December 19, 2024 at 8:15 am #16528603

stefanoM-53

Hi Osama,

I'm on it and will get back to you until tomorrow.

Unfortunately I still didn't find the cause of the problem...

Best regards,
Stefano

December 19, 2024 at 8:58 am #16528771

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Stefano,

Please take your time and let me know what you find.

Best regards,
OSama

December 20, 2024 at 12:23 pm #16533923

stefanoM-53

Hi Osama,

never mind.

I just created a copy of the german contact form, translated it and added it to the english site.

Now I have 2 identical forms in different languages for the same page.

It's not the best solution but at least the problem is solved...

Best regards,
Stefano