Looking for a JavaEE Architect or Potential Tech Co-Founder?
Please don't hesitate to contact me.

Magento change label of My Wishlist, etc:

Magento change label of My Wishlist, etc:

This works for me:

I've change all the wishlist instances in these csv files:
app/locale/en_US/
Mage_Adminhtml
Mage_catalog
Mage_Checkout
Mage_Customer
Mage_Reports
Mage_Sales
Mage_Tag
Mage_Wishlist

Make sure you override the default by copying these files in your theme folder or at least back up first.

Example:
"Add to Wishlist","Add to Wish List" -> "Add to Wishlist","Add to Bid List"

Or you can change it in the translate file located in:

app/design/frontend/default/yourtheme/locale/en_US/translate.csv (en_US can be replace, depends on your locale)


Example: I want to change "My Wishlist", so I'll add an entry to translate.csv

"My Wishlist", "Bid List"

You can further customize the text by adding html tags like <b>, Bid List etc.

Also you have to activate translate by going to the admin module:

System->Developer->Translate Inline

Or if you want an image instead of text like what I did, for example wishlist sidebox,

Copy the app.design.frontend.default.default.template.wishlist.sidebar.phtml to app.design.frontend.default.yourpackage.template.wishlist.sidebar.phtml
And add a line similar to this:


<div class="right_hd">
<img src="<?php echo $this->getUrl('').'/skin/frontend/default/omar/images/bidlist.jpg'?>" alt="" width="25" height="17" hspace="4" /> 
<?php echo $this->__('Bid List', $this->helper('wishlist')->getListUrl(), $this->helper('wishlist')->getItemCount() ) ?>
</div>


Make sure you have bidlist.jpg in your skin directory.
Magento change label of My Wishlist, etc: Magento change label of My Wishlist, etc: Reviewed by czetsuya on Sunday, September 13, 2009 Rating: 5

2 comments:

Anonymous said...

Thanks for sharing this info because it worked a lot for me.
Magento Online Templates

Anonymous said...

doesn't work.

Powered by Blogger.