Akopia Akopia Services

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

Re: [mv] MV 3.14-5 locale & currency



******    message to minivend-users from Hans-Joachim Leidinger <jojo@buchonline.net>     ******

"Barry Treahy, Jr." schrieb:
> 
> ******    message to minivend-users from "Barry Treahy, Jr." <Treahy@mmaz.com>     ******
> 
> Quick question, what could cause MV to ignore the currency symbol here?
> 
> Locale en_PB pricedivide 1.3426
> Locale en_PB mon_thousands_sep ,
> Locale en_PB mon_decimal_point .
> Locale en_PB p_cs_precedes 1
> Locale en_PB frac_digits 2
> Locale en_PB currency_symbol &pound;
> 
> The HTML looks like:
> 
> [if value disty_type =~ /MMUK/]
> [setlocale currency=en_PB]
>             <TR>
>               <td ALIGN="RIGHT"><font size="-1">[currency
> convert=1][data table=
>               <td ALIGN="RIGHT"><font size="-1">[currency
> convert=1][data table=
>               <td ALIGN="RIGHT"><font size="-1">[currency
> convert=1][data table=
>               <td ALIGN="RIGHT"><font size="-1">[currency
> convert=1][data table=
>               <td ALIGN="RIGHT"><font size="-1">[currency
> convert=1][data table=
>               <td ALIGN="RIGHT"><font size="-1">[currency
> convert=1][data table=
>               <td ALIGN="RIGHT"><font size="-1">[currency
> convert=1][data table=
>               <td ALIGN="RIGHT"><font size="-1">[currency
> convert=1][data table=
>             </TR>
> [setlocale currency=en_US persist=1]
> [/if]
> 
> Please ignore the truncated [data] tag, the complete tag is ending
> currency, font, and td are all there...
> 
> Everything else works find, but it is still placing a dollar sign!
> 
> Thanks...
> 
> Barry

Hmmm... I've two different locale setting and it works. Maybe it will
works for you too, if you try

[setlocale en_PB]

instead of

[setlocale currency=en_PB]

?

Joachim

BTW: Did you restart the MV Server?

-- 
-------------Hans-Joachim Leidinger---------------------


-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: