Viewing 9 posts - 1 through 9 (of 9 total)
Viewing 9 posts - 1 through 9 (of 9 total)
- You must be logged in to reply to this topic.
Hi! I have put the captcha in the contact form, but it appears in spanish! I need it in english.
I’d be grateful if you can explain how to change it. Many thanks!
Hey belenluna!
Please add following code to Functions.php file in Appearance > Editor
function native_admin_lang( $locale ) {
if ( is_admin() ) {
return 'es_ES';
}
return $locale;
}
add_filter( 'locale', 'native_admin_lang' );
and change language to English in wp-config.php file
define ('WPLANG', 'en_US');
Cheers!
Yigit
Can I do it in the css plugin?
Isn’t WPLANG deprecated?
http://codex.wordpress.org/Installing_WordPress_in_Your_Language
Hi!
No WPLANG is not deprecated and Yigit is also using it into his reply to the user.
Let us know if we can help with any other way
Cheers!
Basilis
That’s all I know:
The WPLANG constant is no longer needed.
Hey!
Please go to Enfold/config-templatebuilder/avia-shortcodes and edit contact.php file and change the text as needed
Cheers!
Yigit
Hi!, i can see that in the original contact.php file, the text is in english! I don’t know why my wordpress, change it to spanish!!!! Al the website is in english!!
Hey!
That is because your WordPress is in Spanish :)
Please go to Enfold/config-templatebuilder/avia-shortcodes/contact.php and find
$elements['avia_age'] = array('type'=>'captcha', 'check'=>'captcha', 'label'=> __('Please prove that you are human by solving the equation','avia_framework' ));
and change it to
$elements['avia_age'] = array('type'=>'captcha', 'check'=>'captcha', 'label'=> 'Please prove that you are human by solving the equation');
If you are using a child theme, please refer to this post – http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
Regards,
Yigit