Overview of the Issue
When setting up a Gravity Forms form, users have the option to add custom messages for Schedule Pending and Login Required. When you translate the form, you won’t be able to translate those strings.
Workaround
This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.
We’re working on a permanent fix for this issue. In the meantime, you can follow these steps to fix the issue:
- Backup your website files and database.
- Modify gravityforms-multilingual/inc/gravity-forms-multilingual.class.php Lines 196 – 210From
protected function get_form_keys() { if ( ! isset( $this->_form_keys ) ) { $this->_form_keys = [ 'limitEntriesMessage', 'scheduleMessage', 'postTitleTemplate', 'postContentTemplate', 'button-imageUrl', 'lastPageButton-text', 'lastPageButton-imageUrl', ]; } return apply_filters( 'gform_multilingual_form_keys', $this->_form_keys ); }To
protected function get_form_keys() { if ( ! isset( $this->_form_keys ) ) { $this->_form_keys = [ 'limitEntriesMessage', 'scheduleMessage', 'requireLoginMessage', 'schedulePendingMessage', 'postTitleTemplate', 'postContentTemplate', 'button-imageUrl', 'lastPageButton-text', 'lastPageButton-imageUrl', ]; } return apply_filters( 'gform_multilingual_form_keys', $this->_form_keys ); } - Then, you can slightly modify the form and re-send it to be translated.
Still Seeing This Issue?
If updating doesn’t fix it, ask a support question and we’ll look into it with you.
Ask a support question