Home » Magento

Magento: How to change Currency symbol ?

18 July 2010 5,096 views Popularity: 11% Share/Bookmark

email

Magento: How to change Currency symbol?

I had a hectic day changing the currency symbol in Magento. Though different blogs and magento forum helped me, I am writing this article for my reference. ;)

I had to change the currency symbol of Nepalese Rupee (from Nrs to Rs). By default, the currency symbol for Nepalese Rupee is Nrs.

For this, you need to edit lib/Zend/Locale/Data/en.xml

Well, the xml file to edit depends upon your locale settings. My locale is set to English (United States). So, I will have to change en.xml file.

You can change your locale setting from
Admin Panel –> System –> Configuration –> GENERAL –> General –> Locale options –> Locale

If your locale is Japanese (Japan), you need to change lib/Zend/Locale/Data/ja.xml

If your locale is Hindi (India), you need to change lib/Zend/Locale/Data/ne.xml

It’s similar for other locale settings. I have locale setting as English, so I will be editing en.xml file.

- Open lib/Zend/Locale/Data/en.xml

- Find the following :-

	<currency type="NPR">
		<displayName>Nepalese Rupee</displayName>
		<displayName count="one">Nepalese rupee</displayName>
		<displayName count="other">Nepalese rupees</displayName>
		<symbol>Nrs</symbol>
	</currency>

- Change

<symbol>Nrs</symbol>

to

<symbol>Rs</symbol>

- That’s it.

But wait, you are still not done. The most important thing is still left.

- Clear the Cache.
- Go to System –> Cache Management
- Refreh Cache.

- If you have not enabled the Cache OR if it didn’t work even after refreshing the cache, then
- delete the cache folder present inside var (var/cache)

Now, it should definitely work. :)

I changed the currency symbol for Nepalese Rupee. You can do similarly for your currency type.

Hope this helps. Thanks.

PS: Your changes will be gone when you upgrade Magento. You need to redo the above changes after upgrade.

Related posts:

  1. Magento: How to change Currency symbol by Model Override ?
  2. Magento: Convert Price from Current Currency to Base Currency and vice-versa
  3. Magento: How to get Currency Rates?
  4. Magento: Setup multiple currency shop
  5. Magento: Show Currency Selector in header
  6. Magento: Show Currency Selector in right sidebar
  7. Magento: How to change or reorder top links?
  8. Magento: How to change Admin URL Path?
  9. Magento: PayPal Website Payments Standard not displayed
  10. Magento: How to change order status programmatically?
  • http://www.e-commerce-news.co.uk/ecommerce-design/magento-how-to-change-currency-symbol-mukesh-chapagains-blog/ Magento: How to change Currency symbol ? | Mukesh Chapagain's Blog | e-commerce News

    [...] Magento: How to change Currency symbol ? | Mukesh Chapagain's Blog [...]

  • http://www.magentonews.co.uk/magnento/magento-how-to-change-currency-symbol-mukesh-chapagains-blog/ Magento: How to change Currency symbol ? | Mukesh Chapagain's Blog | Magento News

    [...] Magento: How to change Currency symbol ? | Mukesh Chapagain's Blog [...]

  • http://topsy.com/blog.chapagain.com.np/magento-how-to-change-currency-symbol/?utm_source=pingback&utm_campaign=L2 Tweets that mention Magento: How to change Currency symbol ? | Mukesh Chapagain’s Blog — Topsy.com

    [...] This post was mentioned on Twitter by Joonkiri J, Tech Blog. Tech Blog said: Magento: How to change Currency symbol ? (http://bit.ly/abeLzG) #currency #Magento [...]

  • http://www.currency.com.pk/ Currency

    wonderful program for currency symbol…

  • http://www.instinctmedia.in rushabh

    Nice post.!!!
    this was really helpful!!
    Thank you..!!

  • http://www.consumercourt.in Cbnimbhal

    Thanks for the post,

    I need to change the currency symbol into image (Indian Rupee).

    Thanks in advance

  • Test

    You can change from libZendLocaleDataroot.xml

  • http://www.facebook.com/holysmok3 Rehan Sheikh

    Thanks … m/