-
AuthorPosts
-
April 6, 2016 at 4:03 pm #609028
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!April 6, 2016 at 4:15 pm #609034Hey 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!
YigitApril 6, 2016 at 4:43 pm #609052Can I do it in the css plugin?
April 6, 2016 at 6:47 pm #609109Isn’t WPLANG deprecated?
http://codex.wordpress.org/Installing_WordPress_in_Your_Language
April 6, 2016 at 7:54 pm #609134Hi!
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 wayCheers!
BasilisApril 6, 2016 at 9:31 pm #609198That’s all I know:
The WPLANG constant is no longer needed.
April 6, 2016 at 10:21 pm #609217Hey!
Please go to Enfold/config-templatebuilder/avia-shortcodes and edit contact.php file and change the text as needed
Cheers!
YigitApril 7, 2016 at 9:24 am #609445Hi!, 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!!
April 7, 2016 at 12:57 pm #609557Hey!
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 -
AuthorPosts
- You must be logged in to reply to this topic.
