- Status
- Resolved
- Reported for
- WPForms Multilingual 0.2.0
- Resolved in
- WPForms Multilingual 0.3.1
- Topic tags
- Compatibility
Overview of the issue
By going to WP Forms → Fancy Fields → Entry Preview, you can allow users to view a preview of the form before submitting it. However, the form labels and placeholder text in the preview do not appear translated.
Workaround
Please, make a sure full backup of your site before proceeding.
- Edit the /wp-content/plugins/wpforms/pro/includes/fields/class-entry-preview.php file.
- Look for line 306 and just after:
wpforms()->get( 'process' )->fields = [];
- Add this code:
$form_data = apply_filters('wpforms_frontend_form_data', $form_data);