- We need to create an “Extension”:
- In the entry point we need to extend the views.
- In our case Menutreeview and Header menu myaccount menu. Compare each line and if the id matches thenthe tab need to rename.

Now we need to find the module name to extend the view and pass the value in the template.

- We have to copy the class name we have search for the MenuTree.View,HeaderMenuMyAccountView,ProductListsView.js in (Extension)
- Then we need to change the code for display Changes to the website
- After that we need to find the module name copy and paste it to the view file.
- Then after the changes made we have to deploy theme and extension files.

_.extend(MenuTreeView.prototype,{
getContext: _.wrap(MenuTreeView.prototype.getContext, function (fn)
{
try{
var original = fn.apply(this, _.toArray(arguments).slice(1));
// console.log("original",original.menuItems)
_.each(original.menuItems, function (val){
//.log("val",val)
console.log(original.menuItems)
if (val.name === "Wishlist"){
val.name="Favourite"
}
})
}
catch (e) {
console.log("err@Facetscellview", e);
}
return original
})