Hello,
First, thank you so much for this plugin. I am used to Polylang and switched to WPML because it had a Gravity forms integration, bust WPML is such a nightmare… So i switched back and tried your plugin and it does exactly what I need.
The only thing is that I don’t want the values to be translated, only the labels, so that all appears in original language in the admin. I edited the code modifying the white and black lists in the GravityFormsPolylang constructor, in order to black list the “value”, but maybe in the next version you could use a filter on white and black list to avoid this ?
I also had to edit the code to avoid a fatal error (PHP 8.2) :
Fatal error: Uncaught Error: Return value of GravityFormsPolylangInitialize::translateStrings() must be an instance of mixed, array returned
in /Applications/MAMP/htdocs/cinelatino/wp-content/plugins/translate-gravity-forms-x-polylang/gf_pll.php on line 31
I just erased the “mixed” type from the line.
Thanks again,
Etienne
]]>