MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Localization-problems



Hiho List...

I am just playing around with the euro-setup in my catalog (see the FAQ for
the Locale-Settings). 

Looking in the manual again I found that the [setlocale]-tag has a
currency-argument and I thought that this should be the argument to use to
get the euro-prices, because euro has nothing to do with the language
itself... So I tried:

DM: [currency]2[/currency]<br> 
[setlocale currency=eur_EUR]
  Eur: [currency]2[/currency]<br>
[setlocale currency=de_DE]
Should be DM: [currency]2[/currency]<br>

But the "Should be DM:"-Line still says the price in euro (just setting the
locale - without using currency= in the setlocale-tags - works right).

Another point I am worried about is how do I set the default locale that is
used if a [setlocale]-Tag is used (without arguments). I know that this is
stored in the scratch variables mv_locale and mv_currency, but those
variables seem to be empty.

I always thought that the last Locale-Directive of the catalog.cfg is used
as default (if not - why are all my prices displayed in DM by default? ;-).

     Balu

PS: Playing around with the currencies I also wonder if there is/should be a
way to access an (*don't know the word*) money-exchange-database with actual
exchange-values.


Search for: Match: Format: Sort by: