Hello,
As we don’t have access the the WPML plugin we are unable to complete test the compatibility of the plugin.
We have started working on prepping all the static strings to make make the plugins settings translatable.
In your cause through you are looking to translate the custom Error message which is stored in the wp_options table
Based on this reply
https://wpml.org/forums/topic/translate-database-string/#post-6896319
You will want to enable the Auto register strings for translation and enable the “Look for strings while pages are rendered” setting.
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#strings-arent-selected-for-translation
Additional options might be to look at the
Gravity Forms Multilingual
https://wpml.org/documentation/related-projects/gravity-forms-multilingual/
Other resource
`Fixing Compatibility With Other Plugins and Themes
https://wpml.org/purchase/support-policy/
Achieving WPML Compatibility for Your Themes and Plugins
https://wpml.org/documentation/support/achieving-wpml-compatibility-for-your-themes-and-plugins/
Hope this helps.
I already tried the option to look for strings while pages are rendered and it doesn’t work.
This may be due to the your form using ajax and loading the validation after page load.
https://docs.gravityforms.com/adding-a-form-using-blocks/
If that doesn’t work we can look into adding some filters to allow you to manipulate the validation message setting before they are output.
You can also look at using https://docs.gravityforms.com/gform_validation/ filter to catch the forms validation results and alter/translate the message
I saw your last release mentions that you’ve done a change to allow translating some strings. However, when I enter a custom message in your plugin, I still cannot find my custom message in WPML String Translation.
It’s not about ajax, it’s about compatibility with WPML. Please try it yourself, add a custom error message and try to find that message in WPML String Translations.
Thanks