Skip Navigation

Open

Symptoms

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

We’re working on a permanent fix for this issue. In the meantime, you can follow these steps to fix the issue:

  1. Backup your website files and database.
  2. Modify gravityforms-multilingual/inc/gravity-forms-multilingual.class.php Lines 196 – 210

    From

    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 );
    	}
    
    
  3. Then, you can slightly modify the form and re-send it to be translated.

Leave a Reply

Please leave here comments about this page only.
For technical support and feature suggestions, head to our forum. We are waiting there!

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>