Home›Support›English Support›[Resolved] How can I update gravity forms without it translating again all select values
[Resolved] How can I update gravity forms without it translating again all select values
This thread is resolved. Here is a description of the problem and solution.
Problem: The client needed to maintain the values of a country field in a form in the original Dutch language, despite automatic translations. After manually correcting the values to Dutch and adding a new field, the values were automatically translated again. Solution: We recommended the following steps: 1. Edit the "wp-content/plugins/gravityforms-multilingual/inc/gfml-tm-api.class.php" file
2. Replace the following line 212
3. Make a change to the form and update it. 4. Navigate to WPML-> Translation Management. 5. Send the form to translation. 6. Check the translation editor.
If this solution does not apply to your situation because it might be outdated or not relevant to your case, we suggest opening a new support ticket. We also highly recommend checking related 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 contact us in the WPML support forum.
100% of people find this useful.
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.
Our next available supporter will start replying to tickets in about 11.68 hours from now. Thank you for your understanding.
I created forms with a country field. This form has some conditional logic with email routing, so I need to keep the values of the country field in my base language (Dutch).
With the automatic translation, all the labels and values were translated. I manually put all the values back into the original Dutch language.
I then added an extra field to the form and wanted to edit it for all my other languages. But no, the values are again translated!?
1) Please log in to this sandbox site and try to replicate the issue. (hidden link)
In order to replicate the issue, please create a simple form with the country select field and translate it to reproduce the issue.
If the issue is replicable, please let me know to check and consult our 2nd tier support team.
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.
1) This sandbox site does not have automatic translation enabled. I can't replicate my issue on the sandbox. My issue is that when I edit a form it still translates field values. Although I disabled the translation engines.
1. The form has a country select field and all countries are translated.
2. Edit the form in my other languages (Dutch and German). I reset the values of the countries to the original (English language) and save the form.
3. Now all works fine and email routing is ok.
(Here the problem occurs)
4. Disable the translation engines. So nothing is translated automatically!?
5. Edit the original form and change one of the field labels.
6. Send the form to translation.
7. In the Translation management I select the form and choose 'Translate myself'.
8. In the Translations queue the forms say Needs translation. Click on Translate.
9 The Advanced translation opens. The changed label needs translation, that's good (green marking in screenshot). But the select values are again translated 🙁 (red marking in screenshot)
3- Edit the form in the default language, make a minor change, and update it
4- Send it to translation
5- Complete the translation and check the front end
I've applied the above steps to the sandbox site. Please check if it works correctly. (hidden link)
Our dev team is aware of the issue and will check if it needs a permanent fix. In the meantime, please save this workaround and apply it after updating Gravity Forms Multilingual.