Unable to translate “addresses” in account menu
-
Hi im trying to translate the text “addresses” on the menu account, i was able to translate all others normally using loco transalate, but with that line the text remain as it is. to have a work around ive now added this code in the php:
add_filter ( ‘woocommerce_account_menu_items’, ‘wptips_customize_account_menu_items’ );
function wptips_customize_account_menu_items( $menu_items ){// Chnage the Menu Item name text
$menu_items[‘edit-address’] = ‘Indirizzi’; //Rename ‘Addresses’ to ‘Indirizzi’
return $menu_items;
}
Hope to get a fast answare back.
Mirko
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Unable to translate “addresses” in account menu’ is closed to new replies.