Magento: Decimal price in Spanish. Instead of a comma

I have a multilingual store. The default language is English. There are several products that have a decimal price.

When I switch the language to Spanish, a comma appears instead of a dot in the decimal price.

for example: price: $ 1.35 in English, when I switch the language to Spanish, the price will look Price: $ 1.35

I really want to remove it, I need to. how to do it.?

+4
source share
2 answers

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

Search

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

, , , , .

+10

. . > ​​ .

= > root/lib/Zend/Locale/Data/en.xml( ) = > 2611 .

> <currencyFormat>
>      <pattern>¤#,##0.00;(¤#,##0.00)</pattern>
> </currencyFormat>

= > .

>  <currencyFormat>
>       <pattern>#,##0.00 ¤;(#,##0.00 ¤)</pattern>
> </currencyFormat>

.

1.000 1000

:

: = > root/lib/Zend/Locale/Data/XX.xml(XX.xml ) : = > root/lib/Zend/Locale/Data/en.xml( )

2286 :

<numbers>
    <defaultNumberingSystem> xxx your Language xxx </defaultNumberingSystem>
    <symbols>
        <decimal>,</decimal>
        <group>.</group>

to:

<numbers>
    <defaultNumberingSystem> xxx your Language xxx </defaultNumberingSystem>
    <symbols>
        <decimal>.</decimal>
        <group>,</group>

1.000 1000

Bahattab

+3

All Articles