How to change currency position in Magento

Magento fails when you change the Currency in your store.

I mean it doesn’t crash or something it’s just it doesn’t change the currency position.


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:



Now this becomes interesting. Try to refresh the Magento Cache and the browser cache. In my case nothing happened. The change made effect itself an hour after this.

I’m not sure but I think its something about caching those XML files.

Anyway, just be patient until the change comes by itself.

14 Responses to “How to change currency position in Magento”

  1. colin July 15, 2010 at 11:24 am #

    to get it to refresh instantly just delete the cache folder in the zend folder

    • quicoto July 15, 2010 at 8:43 pm #

      Thanks colin! ๐Ÿ˜‰

    • ingo July 11, 2013 at 12:02 pm #

      deleting the cache folder inside the zend folder (lib/Zend/Cache) would be a BAD idea. It contains the zend cache logic. Deleting it would lead to a broken installation.
      The right approach is to delete the content of var/cache/ to get the changes live.

      GOOD JOB – collin…..

    • Rick July 12, 2013 at 7:50 pm #

      Interesting, haven’t tryied that myself.

      Thanks ingo.

  2. Anusha September 7, 2011 at 7:06 am #

    To have price in a right/left format

    $options = array( ‘position’ => 16 );
    echo Mage::app()->getStore()->getCurrentCurrency()->format($_product->getPrice(), $options, true);

    • Rick September 7, 2011 at 8:24 am #

      How interesting.

      Next time I need to fix this I’ll give it a try.

      Thanks for posting !

  3. Pavel January 25, 2012 at 12:56 pm #

    That could also be achieved with css with this technique.

    • Rick January 25, 2012 at 1:01 pm #

      Since you have to edit the same file. Why change the position with CSS? ๐Ÿ˜•

  4. Juan Aguirre March 7, 2013 at 10:17 am #

    Great, Thanks fot sharing this goooood information

    • Rick March 11, 2013 at 9:52 am #

      Glad it helped ๐Ÿ˜‰

  5. Ignacio June 25, 2014 at 7:09 pm #


    I pass two days searching the problem, but your post gave me illumination to find the f+++ file to replace the currency and the decimal problem.
    thanks for the help… and

    is a fucking asshole. ๐Ÿ˜‰

    Regards from Santiago de Chile.

    • Rick June 25, 2014 at 8:25 pm #

      You’re welcome!

  6. Anita January 23, 2015 at 1:53 pm #

    what about if I need to have webshope in english language and in Euros? If I change ‘lib/Zend/Locale/Data/en.xml’ to:

    then it won’t work OK for US dollars anymore.
    Do you have any suggestion?

    Thank you in advance

    • Rick January 25, 2015 at 8:55 pm #

      Is this still an issue with the latest versions of Magento ? If so, it’s pretty lame. I wrote this post almost 5 years ago.

      If you happen to find the answer, please let us know Anita!

Leave a Reply

Add <code> Some Code </code> by using this tags.