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

1 ACCEPTED SOLUTION

Accepted Solutions

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).

View solution in original post

1 REPLY 1

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).