function my_altered_strings( $altered_text, $text, $domain ) {
switch ( $altered_text ) {
case 'Show sidebar' :
$altered_text = __( 'filters', 'woocommerce' );
break;
}
return $altered_text;
}
add_filter( 'gettext', 'my_altered_strings', 20, 3 );