badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Search button and hover text on Contact Info Bar are not internationalized

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11296

    Hello, I’m using your Interface Free theme for a site in spanish.
    After creating the corresponding translation I found that there was no way translating the text “Search” on the search button of the Header’s Searchform and the “Call us” and “Mail us” on their corresponding links on the Contact Info Bar.

    I found that in the file SITE\wp-content\themes\interface\inc\structure\searchform-extensions.php the submit input has the text hardcoded:

    <label class="assistive-text">
        <?php _e( 'Search', 'interface' ); ?>
      </label>
      <input type="search" placeholder="<?php esc_attr_e( 'Search', 'interface' ); ?>" class="s field" name="s">
      <input type="submit" value="Search" class="search-submit">

    Likewise in the file SITE\wp-content\themes\interface\inc\structure\header-extensions.php the text for the link’s titles are hardcoded:

    $interface_footer_infoblog .= '<li class=' .'"phone-number"'. '><a title='. '"Call us"'.' '. 'href=' .'"tel:' ;
     $interface_footer_infoblog .=  preg_replace("/[^0-9+-]/", '', $options[ 'social_phone' ]) ; 
    $interface_footer_infoblog .= '">';
    $interface_footer_infoblog .=  preg_replace("/[^0-9+-]/", '', $options[ 'social_phone' ]) ;
    $interface_footer_infoblog .= '</a></li>';
    	} if (!empty($options['social_email'] )){ 
    
    	$interface_footer_infoblog .='<li class=' .'"email"'. '><a title=' .'"Mail us"'. ' ' . 'href=' .'"mailto:';
    	$interface_footer_infoblog .=  is_email($options[ 'social_email'] );
    	$interface_footer_infoblog .='">';
    	$interface_footer_infoblog .=  is_email($options[ 'social_email'] );
    	$interface_footer_infoblog .='</a></li>';

    I tried creating a child theme to override these two php files but they weren’t loaded.

    Could this be fixed in an update,please?

    #11302

    Hi Thanks for your suggestions. We will think about it in our upcomming version.
    Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.