WordPress.org

Forums

Wordstrap
[resolved] Internationalization (2 posts)

  1. danbp
    Member
    Posted 1 year ago #

    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;
    }
  2. Aritz Olabarrieta
    Member
    Theme Author

    Posted 1 year ago #

    Thanks for pointing that out!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic