This thread is resolved. Here is a description of the problem and solution.
Problem:
Would you please help us in translating the interactive forms with Formidable PRO addon? We have tried already below solutions, none of them worked.
Solution:
It seems that the glue plugin between WPML and Formidable was not made to have the placeholder string available for translation.
Now, can you go to wp-content/plugins/formidable-wpml/controllers folder, edit the FrmWpmlAppController.php file, and make a change on line 606, please?
Basically, just change the code from this:
I just installed this plugin on my website, created a new form, added a couple of fields, and looked at the placeholders. You are right, the value of these fields are nowhere to be found in order to translate them.
I tried a few things in order to translate these elements but I had no luck. This is why I asked my colleagues to have a look at this and see if there's anything else I can try. I will keep you posted about this as soon as I have an update (which shouldn't take long).
One of my colleagues looked at this but couldn't find a way to translate the placeholders. That's why I had to escalate this to the 2nd tier.
This time, my colleagues will check the code of the plugin too, see how it works, where the placeholders are stored, and look for a way to make these elements translatable. We will contact the plugin authors too if needed.
I will keep you posted about the progress we're making on this and keep you posted. Also, I will try to come with a temporary fix too, if possible
My colleagues had a close look at this, as I mentioned in my previous message.
It seems that the glue plugin between WPML and Formidable was not made to have the placeholder string available for translation.
Now, can you go to wp-content/plugins/formidable-wpml/controllers folder, edit the FrmWpmlAppController.php file, and make a change on line 606, please?
Basically, just change the code from this:
As you can see, now the placeholder is added to that array so it can be made available for translation.
Please make this change, and try again to edit the form. If the placeholder strings are not available for translation yet, try to make a small change to one of the placeholders, save the changes, and edit again the translation.
Changing the source code of a plugin is not a good solution for this problem. Yes, it wil fix it for now, but as soon as the plugin gets an update things will go wrong again.
We will contact the plugin builder to see if they have a solution.
It's a good idea to reach out to the plugin author. I know that there's no point in fixing this on the plugin files as long as the update will overwrite the change.
My colleagues already send an email to the authors too. We are doing this for all the fixes that we're making and require changes outside of WPML.
However, it's a good idea to send them a message too (to let them know that this is already impacting the plugin users, it's not just a fix that we want to make, in case anybody would ever like to translate the placeholder texts).
Thanks,
Radu
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.