Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23083
    #118488

    and just one more section to find. The “You are here” section.

    #118489

    Personally I’d use a po file to translate the plugin (default.po can be found in the replete/lang/ folder or use codestyling: http://wordpress.org/extend/plugins/codestyling-localization/ to translate the theme. If you really want to hardcode the text open up wp-contentthemesrepleteconfig-woocommerceconfig.php and search for:

    $output .= "<li class='$current account_overview_link'><a href='".$url['account_overview']."'>".__('My Account', 'avia_framework')."</a>";
    $output .= "<ul>";
    $output .= "<li class='$sub1 account_change_pw_link'><a href='".$url['account_change_pw']."'>".__('Change Password', 'avia_framework')."</a></li>";
    $output .= "<li class='$sub2 account_edit_adress_link'><a href='".$url['account_edit_adress']."'>".__('Edit Address', 'avia_framework')."</a></li>";
    $output .= "<li class='$sub3 account_view_order_link'><a href='".$url['account_view_order']."'>".__('View Order', 'avia_framework')."</a></li>";
    $output .= "</ul>";
    $output .= "</li>";
    $output .= "<li class='account_logout_link'><a href='".$url['logout']."'>".__('Log Out', 'avia_framework')."</a></li>";

    and:

    $output .= "<a class='cart_dropdown_link' href='".$link."'>".__('Cart', 'avia_framework')." - </a><span class='cart_subtotal'>".$cart_subtotal."</span>";

    and in wp-contentthemesrepleteframeworkphpclass-breadcrumb.php search for:

    'before' => '<span class="breadcrumb-title">' . __( 'You are here:', $textdomain ) . '</span>',

    and

    echo '<p class="breadcrumb"><span class="breadcrumb_info">'.__('You are here:','avia_framework').'</span> <a href="'.get_bloginfo('url').'">';

    #118490

    Yes, that would be the elegant way. But…

    Thank You, worked fine. I will post the link when the site will goes officially online, will bet the original Replete theme :) just joking!

    Thanks again!

    Lorant

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Translating My Account in header’ is closed to new replies.