
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Re: German currency / dezimal=zero problem
Erik Kendel wrote:
>
> Ok. I use this in my testlocales.html :
> ------------------------------------
> The locale is [scratch mv_locale] and the price is <FONT COLOR="RED"><br>
> Test field: [data table="products" field="price" key="00687514"]<BR>
> [seti testmyprice][data table="products" field="price"
> key="00687514"][/seti]<br>
> [currency][scratch testmyprice][/currency]<BR>
> -----------------------------------
>
> My catalog.cfg:
> Locale de_DE mon_decimal_point .
> Locale de_DE mon_thousands_sep " "
> Locale de_DE currency_symbol " DM"
> Locale de_DE ps_cs_precedes 1
> Locale de_DE frac_digits 2
> Locale de_DE PriceCommas 1
>
> !No other locale is set!
What is in your products/locale.txt ???
This:
code en_US de_DE fr_FR
frac_digits 2 2 2
April April Avril
currency_symbol $ DM FF
decimal_point . . .
p_cs_precedes 1 0 1
mon_thousands_sep , .
August August Aout
February Februar Février
July Juli Juillet
mon_decimal_point . . ,
mon_thousand_sep
ProductFiles products
December Dezember Décembre
May Mai Mai
p_sep_by_space 1 1
October October Octobre
products de_products produits
default 0 1 0
PriceDivide 1 1 1
September September Septembre
January Januar Janvier
November November Novembre
June Juni Juin
March März Mars
price_picture ### ### ###.## DM
~
But I don't use the LocaleDatabase tag!
> The result is:
> ------------------------------------
> The locale is de_DE and the price is
> Test field: 58.85
>Try it with
>Test field: ([data table="products" field="price" key="00687514"])<BR>
There are no whitespaces
It looks like this:
The locale is and the price is
Test field: (58.85)
58.00 DM
>to see, if there are a whitespace in the field. For example "58.85 " or
>so!
> 58.00 DM
>
> That's my problem. I searched the whole catalog for other
> configurations without any results. The database (mysql)
> seems to be ok. Where's the error?
Have you a working demo shop? If yes, can you change the locale in this
demo shop to de_DE and try it?
Don't forget to look into products/locale.txt!
I've exactly three shops running with this problem!
Hmmm...did you edit all your stuff with an editor under WIN? Are there
any wrong line ending code from WIN in your file, if you edit your stuff
with WIN?
Sometimes I use ultraedit and do my uploads in ascii mode.
But in most cases I use vi!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users