Advertisement:

Author Topic: How to configure currency depending on language  (Read 1020 times)

kingsult

  • Premium
  • Full Member
  • *****
  • Posts: 204
How to configure currency depending on language
« on: June 24, 2011, 01:09:52 am »
Hi,

I was wondering how I can configure the currency in the admin panel.

So far, 1 million is represented as 1000000.00

I would like to configure for the different languages.

In US english, the number should display: 1,000,000.00
In French, the number should display 1.000.000,00

Thanks,


mirsalehi

  • Newbie
  • *
  • Posts: 11
Re: How to configure currency depending on language
« Reply #1 on: June 25, 2011, 03:14:36 pm »
I need it too.
I think it's very important.

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: How to configure currency depending on language
« Reply #2 on: June 27, 2011, 11:05:36 am »
Hi,


Great suggestion, will look to include it somehow.

Thanks!

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: How to configure currency depending on language
« Reply #3 on: June 27, 2011, 07:49:21 pm »
I think that this PHP function will help: http://php.net/manual/es/function.number-format.php