Skip Navigation

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

Problem:
The client was translating the Gravity Forms (GF) form from WPML >> String Translation page and and translated "-values" entries causing issues in conditional fields.
Solution:
We recommend using the WPML Translation Editor for translating the Gravity Form. Detailed steps can be found in our documentation: Gravity Forms Multilingual.

For string translation, focus on translating custom labels and text from the Gravity Forms plugin files by selecting the "gravityforms" domain in the WPML >> String Translation page. Avoid translating the "gravity_form-ID" domain from WPML >> String Translation page

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.

This topic contains 3 replies, has 2 voices.

Last updated by Noman 1 year ago.

Assisted by: Noman.

Author Posts
November 15, 2023 at 8:56 am #14805693

T4ng

I just ran into this topic.
https://wpml.org/forums/topic/disable-translating-values-for-gravity-forms/

When we translate a GF form, we sometime need to add some logic after the form, for which we don't want the "-values" entries translated

November 19, 2023 at 9:41 am #14869925

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I’ve tried to reproduce this issue at the fresh WP site but it seems to be working correctly for me. I have followed the below steps:

1. Installed/Activated the WPML Multilingual CMS, WPML String Translation, Gravity Forms, and Gravity Forms Multilingual plugin.

2. Activated the WordPress default 2021 theme.

3. Created the default language Gravity form by following the below steps:

- Added the Dropdown field with the Yes/No choices.
- Added a text field and displayed it if the value of the dropdown field is Yes.

4. Translated the Gravity form using WPML Advanced Translation Editor as mentioned in this doc:
https://wpml.org/documentation/related-projects/gravity-forms-multilingual/

During the translation process, it also translated the value of the Yes/No fields.

5. Inserted the Gravity form in the default language page and it displays the conditional field correctly when we choose the Yes option:
hidden link

6. Translated the page in the secondary language and it still shows the conditional field correctly when we choose the translated Yes value:
hidden link

Here is the fresh WP site Auto login URL:
hidden link

Could you please take a look at the fresh WP site and the above steps and let me know if I missed something?

Thank you for your cooperation and amazing patience

EN form.png
FR form.png
Value fields translated by ATE.png
November 22, 2023 at 4:21 pm #14900949

T4ng

I use string translation to translate the forms.

November 23, 2023 at 7:58 am #14904237

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for providing additional details. To translate the Gravity form, we recommend using the WPML Translation Editor, as outlined in our documentation: https://wpml.org/documentation/related-projects/gravity-forms-multilingual/.

For string translation, it's important to note that this is primarily used for translating custom labels of fields or text originating from Gravity Forms plugin files. You can easily distinguish these strings by selecting the "gravityforms" domain, not the "gravity_form-ID" domain, on the WPML >> String Translation page, as illustrated in the attached screenshot.

Kindly attempt to translate the Gravity form following the provided documentation, and let me know if this resolves your issue.

Thank you for your cooperation

gravityforms domain.png