• Resolved viktoriamf

    (@viktoriamf)


    Hey there,

    is there any possibility to change the language of the submit notice?
    (Form has been successfully submitted. Thank you.)

    I want to use the plugin on a german website and I need this notice to be in german.
    I’ve already tried this code snippet:

    add_filter( 'caldera_forms_render_notices', function( $notices ){
    	//Will ONLY be set (during AJAX return) if there is no error
    	if( isset( $notices[ 'error' ], $notices[ 'error' ][ 'sucess' ] ) ){
    		$notices[ 'error' ][ 'sucess' ] = 'That was awesome!';
    	}
    	return $notices;
      
    });

    … but this didn’t work.

    Any other ideas?

    Thanks in advance!

    Viktoria

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Change submit notice language’ is closed to new replies.