cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the ISO currency code in the Magento core?

SOLVED

How to change the ISO currency code in the Magento core?

Hello,

I have a very rare problem.
More than a year ago, the ISO currency code "Belarusian Ruble" changed. Previously it was "BYR", and now "BYN".
Since then, there have been many updates to Magento, but the list of currencies and their codes has not changed.

Using the settings in the admin panel (System > Manage Currency > Symbols ), I can change the display of the currency ISO code at frontend, but inside in system it still wrong.
So I can not use payment solutions in my country, auto-renewal of exchange rates and many other things.

Please explain how to fix the wrong currency code in the Magento core?
Magento version  CE 1.9.3.6

Tags (2)
1 REPLY

Re: How to change the ISO currency code in the Magento core?

Hi @TopmanJ,

 

Those definitions are defined by ZendFramework.

You'll find all the definitions per locale here: lib/Zend/Locale/Data. Maybe you can try to edit the locale you're using.

The only problem with those files is that future upgrades could override your change (and you'll need to change it again).

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"