[ad_1]
Hello,
At the provided link, the only available forms are in Elementor and not in Contact Form 7. This plugin only works with Contact Form 7 forms.
We do have a wpcf7_recaptcha_locale filter hook in the following plugin file that you could use to switch the ReCaptcha language:
recaptcha-v2.php LN 70
apply_filters( ‘wpcf7_recaptcha_locale’, get_locale() )
The usage of the filter hook could look something like this:
/** * Return the curent page ReCaptcha locale. * Defaults to the site locale fromget_locale()function. * * @param String $locale * * @return String $locale */ add_filter( 'wpcf7_recaptcha_locale', function( $locale ) { // Example: domain.com/?lang=ru if( isset( $_GET, $_GET['lang'] ) && 'ru' === $_GET['lang'] ) { $locale="ru_RU"; } return $locale; } );
