Support » Theme: Wordstrap » Internationalization

  • Resolved danbp


    Home on the nav bar is not internationalized.

    To get it translated, go to theme’s functions.php and replace ws_no_menu function with this one:

    function ws_no_menu () {
        $link = '<b>custom menu</b> !';
        $output = '<div class="nav-collapse first-nav"><ul class="nav ws-nav"><li><a href="'. get_site_url() .'">
    		<i class="icon-home icon-white"></i>'.__('Home', 'wordstrap').'</a></li><li class="divider-vertical"></li></ul>';
        $output .= '<div style="float: left; margin-top: 10px; color: #666; font-style: italic;">';
        $output .= sprintf ( __('You should customize a %s', 'wordstrap'), $link);
        $output .= '</div>';
        echo $output;
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Internationalization’ is closed to new replies.