Skip to content Skip to sidebar

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 12 replies, has 4 voices.

Last updated by Mohamed Sayed 1 year, 5 months ago.

Assisted by: Mohamed Sayed.

Author Posts
March 27, 2024 at 7:27 am #15453672

montaS

I use WPML to translate Grsavity forms. After translating the form the configured notifications routing is not working anymore.

March 27, 2024 at 8:20 am #15453849

Alejandro
WPML Supporter since 02/2018

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Hello!

As my colleague mentioned, please try what's missing and let us know.

---------------

If the problem continues, please let us know the steps you followed and write us the steps to recreate the problem since the problem seems to be with the "routing" and we need to confirm what feature you're talking about and how to be able to recreate it on our own in order to test it.

Regards.

March 27, 2024 at 8:21 am #15453850

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Please reply to this ticket if you need further help with the GF issue.

Also, please share your site's Debug information with us. You can read about it here.

http://wpml.org/faq/provide-debug-information-faster-suppor

Regards,
Itamar.

March 27, 2024 at 4:42 pm #15457313

montaS

I followed the steps provided in this guide: https://wpml.org/documentation/related-projects/gravity-forms-multilingual/

But the notification routing is still not working in other languages then the source language

I have the following routing:

Send to example@email.com if Required Monta Service is Outsource fulfillment
Send to example2@email.com if Required Monta Service is Warehouse Management System

When translated this words "Required Monta Service" and "Outsource fulfillment" chance to for example in Dutch to "Gewenste Monta-dienst " and "Fulfilment uitbesteden"

Then the initial routing from the source language is not working anymore.
How and where can is se the routings for the different languages?

With kind regards,
Martien Verhaar

March 27, 2024 at 10:50 pm #15458367

Mohamed Sayed

Hi Martien,
I'm taking over this ticket and will be glad to help you.

I have created this clean sandbox setup on our servers here:
hidden link (one click login)

I would need you to please set up WPML + the WPML add-ons + Gravity Forms as you have them on your site (they are already installed) and try to recreate the issue.

Please don't install anything else like plugins that are not necessary, on a clean sandbox we try to use just the WPML plugins and the plugin/theme that's part of the issue.

If the issue will take place on this clean setup on our servers too, then I can forward this to our compatibility department.

Please let me know how that goes and what you can find.

Kind regards,
Mohamed

March 28, 2024 at 6:11 am #15458709

montaS

Hi Mohamed,

I set up the form and the routing.

It looks like the sandbox setup is not able to send any notification emails after the form completion.
I guess the SMTP is not set proper for this website.
Could you have a look into that?

To be able to translate the form and recreate the issue we need to install the WPML String translation and Gravity Forms Multilingual add on.
But by the WPML Setup wizzard i get errors on installing the plugins.

Could you help me with these issues?

Thanks in advance,
With kind regards,
Martien Verhaar

March 28, 2024 at 8:49 am #15459360

Mohamed Sayed

Hi,

String Translation and Gravity Forms Multilingual addons are activated now.

Regarding emails, they can't be sent on the sandbox site, so we can use the Email log plugin (https://wordpress.org/plugins/email-log/) to show them and It's already installed.

Let me know please once the issue is replicated.

March 28, 2024 at 8:57 am #15459377

montaS

Hi Mohamed,

It seems that there is an issue with the automatic translation.
I attached a screenshot.

Could you have a look at it?

Thanks,
With kind regards,
Martien Verhaar

Schermafbeelding 2024-03-28 095509.png
March 28, 2024 at 9:21 am #15459498

Mohamed Sayed

I activated the automatic translation with a dummy translation engine.

It will add the language code to the segment instead of translating it (e.g., Title -> de Title ), but it should be ok for testing because it works the same way as automatic translation.

March 28, 2024 at 11:41 am #15460207

montaS

Hi Mohamed,

i get another translation error. (screenshot is attached)

The form needs to be translated because when the trigger words for the routing are displayed in another language the routing does not work anymore.

And that is exactly the problem what i would like to solve.

With kind regards,
Martien Verhaar

Schermafbeelding 2024-03-28 124035.png
March 28, 2024 at 12:19 pm #15460436

Mohamed Sayed

The form is translated now, could you please check if you can reproduce the issue there?

March 28, 2024 at 12:57 pm #15460663

montaS

Hi Mohamed,

I replicated the issue.
In the attached screenshot you can see that 4 forms where submitted.
2 from the English and 2 from the Dutch part of the website.
By the English forms you see there is a notification email send to the user and to the admin/sales department
By the Dutch forms you see that only the email to the user is send.
The email to the admin can not be sent because the routing is not working anymore.

How can i fix that? where can i adjust the routing settings in any other language then the source language?

With kind regards,
Martien Verhaar

Schermafbeelding 2024-03-28 135308.png
March 30, 2024 at 7:23 pm #15466747

Mohamed Sayed

Hi Martien,
Sorry for the late reply due to the weekend.

The issue happens because the choice field values are translated, and the Routing option depends on those values to send notifications to different email addresses.

You can fix this issue with the following steps:

1. Go to WPML > Translations
2. Edit the form translation
3. Copy the choice field values from the default language for the following:
- radio-6-choice-0-Outsource-Fulfillment-value
- radio-6-choice-1-Warehouse-Management-System-value
4. Complete the translation

I tested this on the sandbox site and now the routing is working from second languages as you can see here: hidden link

Kind regards,
Mohamed

Screenshot_840.png
Screenshot_839.png