• To get this 2 plugins working together, I always have to slightly modify the CF7 do_shortcode funcion in includes/shortcodes.php this way_

    Before:
    return preg_replace_callback( ‘/’ . $pattern . ‘/s’,array( &$this, ‘do_shortcode_tag’ ), $content );

    After:
    return preg_replace_callback( ‘/’ . $pattern . ‘/s’,array( &$this, ‘do_shortcode_tag’ ), __($content ));

    It’s only needed to add the function translate (__) to $content to get them work together.

    Wouldn’t be good to do this change in original CF7 code?

    Thanks.

    http://wordpress.org/extend/plugins/contact-form-7/

  • The topic ‘[contact-form-7] working with qtranslate’ is closed to new replies.