Skip Navigation

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

Problem:
The client is using WPML with the Gravity Forms Multilingual plugin and is facing an issue where form entries cannot be translated. While form labels and sub-labels are translatable, the received submissions cannot be translated natively or during export.
Solution:
Currently, WPML does not support the translation of form entries directly. We recommend adding a hidden field to collect the language code when the form is submitted. This allows filtering submissions by language. For translating the content of form entries, the client might consider implementing a custom function using the Google Translate API, as WPML does not provide a native solution for this.

If this solution does not fully address your issue or seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If further assistance is needed, we highly recommend opening a new support ticket here.

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 3 voices.

Last updated by Ilyes 3 weeks, 1 day ago.

Assisted by: Ilyes.

Author Posts
October 8, 2024 at 7:58 pm #16267311

matthewB-39

Background of the issue:
I am using the WPML Gravity Forms Multilingual plugin with WPML Multilingual CMS, String Translation, and Gravity Forms (Elite License). I am testing in a development environment.

Symptoms:
Form entries cannot be translated. While form labels and sub-labels can be translated, the received submissions cannot be translated natively or while exporting.

Questions:
Is there a known solution for translating Gravity Form entries?
Can received submissions be translated natively or while exporting?

October 9, 2024 at 2:47 pm #16271262

Osama Mersal
Supporter

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

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

Hi,

Thank you for contacting WPML support. Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

1) I don't think form entries are translatable. However, you can add a hidden field that collects the language code when the form is submitted, and then you can filter by language code.

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

October 15, 2024 at 1:30 pm #16291094

matthewB-39

Hi Osama,

Thank you for your assistance. I've added the debug information above. I have also added a hidden field to identify the language code of the form submission.

As a solution, I can create a custom function using the Google Translate API to translate the form entry. However, is there a native solution in WPML to translate the form entries so I don't have to use the Google Translate API separately?

October 15, 2024 at 10:26 pm #16292760

Ilyes
Supporter

Languages: English (English ) French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

WPML translates the form fields and does not create a separate form for each language.

Hence we do not have a built-in solution to translating entries.

We could add a feature request if you think this is a useful tool that many users could benefit from, I could then share it with our developers and see if it is possible to add.

Best,

October 22, 2024 at 1:29 pm #16317665

matthewB-39

Hi Ilyes,

Thank you, this could be a useful tool for the Gravity Forms integration as I can imagine many others facing the same problem. For now, I will create a function to the Google Translate API.

Best,

matthewB-39 confirmed that the issue was resolved on 2024-10-22 13:29:50.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.