Changing “wishlist” on Magento

In: development

29 Sep 2008

I didn’t think it was fitting to call it a “wishlist” on CeliacClub.com.  Frankly, if I went to any website with a wishlist, I’m not really sure what it does.  I think calling it a “watchlist” is much more applicable.  This article shows how to change it on your Magento site.  This process could probably be adjusted to modify the other named aspects of Magento also.

1. We don’t want to mess with core Magento files so it’s best to modify the string translations.  Edit the following CSV files (I like to edit them with a plaintext editor like Notepad++ but you could use Excel to do it):

  • /app/locale/en_US/Mage_Wishlist.csv
  • /app/locale/en_US/Mage_Adminhtml.csv
  • /app/locale/en_US/Mage_Catalog.csv
  • /app/locale/en_US/Mage_Checkout.csv
  • /app/locale/en_US/Mage_Customer.csv
  • /app/locale/en_US/Mage_Reports.csv
  • /app/locale/en_US/Mage_Rss.csv
  • /app/locale/en_US/Mage_Sales.csv
  • /app/locale/en_US/Mage_tag.csv

With these csv translations, the original string is the first value on the line, indicated by quotation marks (or on the left side, if you’re using Excel).  The replacement string is the value following it, separated by a comma (or on the right side, if you’re using Excel).  You’ll need to use the “replace” function, but we need to be careful not to change any of the original string values–we only want to change the translation values.  We also need to be careful to preserve the case of the strings–that’s why I use Notepad++ where I can match the case.  Do a Replace search for “wishlist” and check the box for “match case”, replacing with “watchlist”.  Don’t do a “Replace All”.  You’ll need to individually replace each string, making sure to only change the second value on each line.  After you’re done doing that, do it again, but for “Wishlist”.

2. We need to change the rewrite configuration of the URL so that requests for http://website.com/watchlist/ get referenced to http://website.com/wishlist/ .  Unfortunately, I don’t have a solution for this yet.  I spent 4+ hours on this but run into 404 errors that I think are caused by Magento.  I’ll update this blog when I find a solution.

Comment Form

About this blog

I'm Jon Chin. I love technology, food, and learning. I served a mission in the Philippines and loved it. You probably can't type on my keyboard because I don't have qwerty installed--I use Colemak. I'm obsessed with learning about North Korea and abandoned anything.

Photostream