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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 7 months ago.

Assisted by: Long Nguyen.

Author Posts
May 3, 2023 at 11:53 am #13578093

chrisW-51

Wpforms notification email message cannot show multiple choice translated value.How can show the translated multiple choice value in email.

May 4, 2023 at 4:24 am #13582637

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Chris,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

It could be a compatibility issue between WPForms and WPML, we will address that by reporting this to the compatibility team.

To be able to report the compatibility issues we need to replicate the issue on a clean installation. I created a clean installation of WordPress, WPML, and all necessary WPML add-ons. You can access the WordPress dashboard using the link below:
hidden link

Kindly follow the steps below:

- Install WPForms plugin.
- Try to replicate the issue.
- Then let me know the steps to replicate it.

This will help us to report the probable issue to the compatibility team and solve the possible problem faster.

Look forward to your reply.
Thanks

May 4, 2023 at 8:26 am #13583847

chrisW-51

I can replicate the same issue of this server.

Testing step:
1. Install the wpforms and wpforms multilingual.
2. Create the wpforms.
3. Create the email notification in wpforms and use the form multiple choice value.
4. Translate the form to SC/EN.
5. Submit the translated language form and get email to test.
6. Receive email and see the multiple choice field not translated.

Testing result:
The form is translated to English.The submit form email cannot show the transalated value of multiple choice(English) ,email just show original language(Traditional Chinese) multiple choice value.

This is translated form page link:
hidden link

Edit form link:
hidden link

WPML EN multiple choice email template.jpg
WPML EN multiple choice.jpg
WPML EN multiple choice email.jpg
May 4, 2023 at 9:07 am #13584229

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Thank you for your feedback.

I see that issue on the sandbox site and I'm asking our 2nd tier support about the issue to get some advice. I will update you here when I have something to share.

Thanks.

May 10, 2023 at 6:31 am #13618559

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Chris,

I got a workaround from our 2nd tier support to fix this issue, please check it below:

❌ IMPORTANT: Please backup your database and website before proceeding ❌

- Edit the file wp-content\plugins\wpml-wpforms\classes\Hooks\WpForms\Notifications.php line 45 and comment it out, for example:

from

$field['value'] = $this->getFieldValue( $field, $entry['fields'][ $key ], $formPostFields[ $key ], $translatedFields[ $key ] );

to

//$field['value'] = $this->getFieldValue( $field, $entry['fields'][ $key ], $formPostFields[ $key ], $translatedFields[ $key ] );

then check the issue again. Let me know how it goes.

The topic ‘[Closed] Wpforms notification email message cannot show multiple choice translated value.’ is closed to new replies.