If you use the Genesis theme or one of its "child themes" it may happen to you like me, that you want to put it in Spanish.
For this you have the module genesis translations that just by activating it translates almost everything to the language that you have configured wordpress. But one of the things it doesn't translate is the search widget text, for this you have to add the following code to the theme's functions.php file.
/** Customize search form input box text */
add_filter( 'genesis_search_text', 'custom_search_text' );
function custom_search_text( $text ) {
return esc_attr( 'Buscar en la Web...' );
}
Thanks Oscar. I will do ( :
Thanks to you 😉
regards
Oscar