Ajay Patel
Ajay Patel

Reputation: 791

Currency Symbol in magento

I have created two Magento Store Views in two Different Languages:

  1. English
  2. Dutch

English (EURO) Currency symbol comes in proper manner like € 20.00 but for Dutch Language view it shows me like 20,00 EUR. I wants to setup by default symbol € for both views since the EURO is the same. How can i achieve it in Magento.

Upvotes: 5

Views: 9934

Answers (5)

ShriHans
ShriHans

Reputation: 89

You can define currency symbol from admin.

Go to system->manage currency and select symbol.

Here you can define currency symbol.

Upvotes: 3

adi23ro
adi23ro

Reputation: 11

You will have to change the file: /lib/Zend/Locale/Data/root.xml

Go to the row that contains <symbol>[Your currency]</symbol> and change [Your currency]

Ex: change <symbol>USD</symbol> to <symbol>XYZ</symbol>

Upvotes: 0

Bahattab
Bahattab

Reputation: 51

You can change your locale setting

here is example for English. For that you have to do Minor changes in your Language File. >Following is the Directory Structure of File.

>=> root/lib/Zend/Locale/Data/en.xml (For English Language)

=> around line 2611 you can see following code.

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

=> Now Change above code with Following code.

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

you can set it to for Dutch.


To fix the comma form 1.000 to 1,000

add to the past post the following :

go to:  => root/lib/Zend/Locale/Data/XX.xml (XX.xml For your Language)

for example : => root/lib/Zend/Locale/Data/en.xml (For English Language)

around line 2286 you can see following code :

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

this wil change the comma form 1.000 to 1,000

Upvotes: 1

Ravi Patel
Ravi Patel

Reputation: 5211

For both store english and dutch select Default Config

system > configuration > general > currency setup > currency options >

change Base currency = Euro

default display currency = Euro

Allowed Currencies = Euro and US DOllar

only for dutch store admin-panel system > configuration

and select your dutch store.

After set your currency.

system > configuration > general > currency setup > currency options

Set this option

Default Display Currency = Euro

Allowed Currencies = Euro and US DOllar

Upvotes: 1

liyakat
liyakat

Reputation: 11853

You can change your locale setting

here is example for English. For that you have to do Minor changes in your Language File. Following is the Directory Structure of File.

=> root/lib/Zend/Locale/Data/en.xml (For English Language)

=> around line 2611 you can see following code.
 <currencyFormat>
      <pattern>¤#,##0.00;(¤#,##0.00)</pattern>
 </currencyFormat>

=> Now Change above code with Following code.

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

you can set it to for Dutch.

Upvotes: 4

Related Questions