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.hanges after upgrade.