Example:
For US Dollars have to be $10,00
But for Euro in Spain we use 10,00€
There is an easy way to change the currency position in the Locale (lenguage) you want.
In my case I wanted to change the € simbol for the Spanish locale on my Magento installation.
1. Go from your root folder to /lib/Zend/Locale/Data
2. Find the lenguage file. In my case es.xml
3. Look for <currencyFormat>
A line just below you will find the <pattern>
Change the side of the weird simbol and leave it like this:
Before
<currencyformatlength>
<currencyformat>
<pattern>¤ #,##0.00</pattern>
</currencyformat>
</currencyformatlength>
<currencyformat>
<pattern>¤ #,##0.00</pattern>
</currencyformat>
</currencyformatlength>
<currencyformatlength>
<currencyformat>
<pattern>#,##0.00 ¤</pattern>
</currencyformat>
</currencyformatlength>
<currencyformat>
<pattern>#,##0.00 ¤</pattern>
</currencyformat>
</currencyformatlength>
I’m not sure but I think its something about caching those XML files.
Anyway, just be patient until the change comes by itself.
No comments:
Post a Comment