Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Magento: Decimal Price in spanish language display Dot instead comma

i have multilanguage store. default language is english. there are few products have decimal price.

when i switch languge to spanish the comma appears instead dot in decimal price.

for example: price: 1.35$ in english when i switch language to spanish the price will look like Price: 1,35$

i really wanna remove this , need . how to do that.?

like image 229
Jack Torris Avatar asked Dec 08 '22 12:12

Jack Torris


1 Answers

You could try to change the local settings. So go to your magento directory and open the file lib/Zend/Locale/Data/en.xml (replace en.xml by the language file for which you would like to perform your changes).

Search for

<numbers>
    <symbols>
        <decimal>.</decimal>
        <group>,</group>

Clear the cache, also for safer side please try to do this first on your test installation to avoid issues.

like image 59
Sunil Verma Avatar answered Apr 24 '23 20:04

Sunil Verma