Skip to content Skip to sidebar

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

Problem:
The client is unable to change the GravityForm ID for each language via the String Translation tab as previously possible. They need each language to have its own form and unique ID for Salesforce purposes. The client also inquires about managing language-specific shortcodes for WP Store Locator.
Solution:
We recommend following the guidelines outlined in the Gravity Forms Multilingual documentation. Ensure that you have the Gravity Forms Multilingual plugin active. If you require different forms for each language rather than translations, you should manually disable the WPML editor and update the shortcode in each language as described here: Using Different Translation Editors for Different Pages. Additionally, you can add custom XML for the GravityForm shortcode and PHP code for translating numbers via Advanced Translation Editor (ATE) as detailed here: Translate Custom Shortcodes with WPML.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket.

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 1 voice.

Last updated by Dražen 3 weeks, 4 days ago.

Assisted by: Dražen.

Author Posts
July 15, 2025 at 3:09 pm #17238627

alfredP-3

Background of the issue:
I am working on a site under development and trying to manage language-specific shortcodes for GravityForm and WP Store Locator using WPML. Previously, I could change the GravityForm ID for each language via the String Translation tab, but this is no longer possible. My current workaround involves using the Divi Builder to manually update the GravityForm shortcode in the translated language, which is risky and often reverts to the default form. I plan to apply a similar approach for WP Store Locator to display specific locations based on the active language.

Symptoms:
The ability to change the GravityForm ID for each language via the String Translation tab is no longer available, requiring manual updates through the Divi Builder, which is risky and often reverts to the default form.

Questions:
How can I find the GravityForm ID?
How can I change the WPSL shortcode per language?

July 15, 2025 at 8:54 pm #17239745

Itamar
WPML Supporter since 02/2016

Languages: English (English )

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

Hi,

Thank you for contacting WPML support. While you wait for one of my colleagues to take this ticket and work on it, let me provide you with the first debugging steps or see if I can help with the issue quickly.

Changing the ID in String translations should not be necessary. When working with WPML and the Gravity Forms plugin, follow the guidelines outlined in the following guide.

https://wpml.org/documentation/related-projects/gravity-forms-multilingual/

Can you please confirm that you work according to the guide, and you also have Gravity Forms Multilingual, our bridge plugin, active?

Additionally, please share your site's Debug information if you require further assistance with this issue. You can read about it here.

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

Regards,
Itamar.

July 21, 2025 at 2:19 pm #17256251

alfredP-3

Hi Itamar,

Unfortunately, the Gravity Forms Multilingual add-on plugin won’t work for our setup. It’s essential that each language has its own form and unique ID for Salesforce purposes.

That said, we’d like to continue with what worked in the past -- changing the Gravity Form ID in the String Translations (or something similar), so that each language points to a different form ID.

We’re not sure if this option has been moved elsewhere, but we can’t seem to find where to change the ID anymore.

Could you help us with this?

July 22, 2025 at 7:37 am #17257981

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for getting back.

I am afraid that is not possible anymore, since it is not recommended way. If you wish to have different forms for each language and not translation, you should use manual approach, disable WPML editor and change short code manually in each language:

- https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

Other then that you can try next method, and add Custom XML for gravityform short code and PHP code for translating numbers via ATE:

- https://wpml.org/documentation/support/language-configuration-files/translate-custom-shortcodes-with-wpml/

Let me know how it goes and if you have any other doubts or questions.

Regards,
Drazen