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 5 replies, has 2 voices.

Last updated by Long Nguyen 4 months, 1 week ago.

Assisted by: Long Nguyen.

Author Posts
July 17, 2024 at 7:29 am #15964324

brianH-21

Background of the issue:
I used Automatic Translation for the whole site (deepl). It worked fine so far, but I have an issue with GravityForms. The term "{all_fields}" also seems to get translated in the other languages. WPML Gravity Forms addon shouldn't translate these static variables. All Merge Tags that are below the "Other" area shouldn't be translated. See hidden link

Symptoms:
I expected to see: {all_fields} so GravityForms can send me all data of the submitted form over email. Instead, I got: {tutti_i_campi}, GravityForms doesn't recognize it and I'm left with this variable but no data in my mails. See: hidden link

Questions:
Why is the term "{all_fields}" being translated in GravityForms?
How can I prevent WPML Gravity Forms addon from translating static variables like merge tags?

July 17, 2024 at 8:58 am #15964860

Long Nguyen
Supporter

Languages: English (English )

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

Hi Brian,

Thank you for contacting WPML support, I’m happy to help you with this issue.

I try to replicate the issue on a clean installation of WordPress and don't see that. The merge tags are not translated automatically along with the form content.
I also don't see the tag {all_fields} is available in the list, see the attached screenshot.

Can you please help me replicate the issue on the sandbox site? You can access the admin area directly with this link
hidden link

Kindly follow the steps below:

- Don’t restore your site there.
- Try to replicate the issue with minimal steps.
- Then let me know the steps to replicate it.

Looking forward to your reply.
Thanks

Forms - Gravity Forms ‹ Sandbox — WordPress 2024-07-17 15-51-30.png
July 22, 2024 at 1:48 pm #15987231

brianH-21

Hey Long

Just checked: hidden link

But seeems like you chose "Translate What You Choose". we went with "Translate Everything Automatically". You should make sure there its not translating this automatically as gravityforms cant handle this else.

Greets
Brian

July 23, 2024 at 1:11 am #15989738

Long Nguyen
Supporter

Languages: English (English )

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

Hi,

Actually, you can send content to automatic translation from Translation Management as well with the mode Translate What You Choose.
Also, can you please create a form with the tag {all_fields} on the sandbox site? Do you use a third-party plugin to have the tag?
And try to replicate the issue with other tags as this happens on your site.

Looking forward to your reply.
Thanks

Translation Management ‹ Sandbox — WordPress 2024-07-23 08-08-42.png
July 23, 2024 at 5:30 am #15990357

brianH-21

Hey Long
Thanks for the informations but to reproduce this bug you should switch to the translation system we told you and then the bug will show up.

Greets

July 23, 2024 at 6:51 am #15990545

Long Nguyen
Supporter

Languages: English (English )

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

I activate the option Translate Everything Automatically and see the same result. The tag is the same in the second language after translating the form.
Can you please help me replicate the issue on the sandbox site?

Thanks.

The topic ‘[Closed] Automatic Translation with GravityForms’ is closed to new replies.