[ic] German currency / dezimal=zero problem

Joachim Schubert interchange-users@interchange.redhat.com
Tue Dec 11 03:56:01 2001


Erik Kendel wrote:

> [scratch mv_locale] shows me nothing when I set LocaleDatabase locale and
> Locale de_DE  in the
> catalog.cfg. The same result if I put [setlocale de_DE] into to index.html.
> 
> I use [item-price].
> [loop-field price] doesn't work.
> 
> Erik Kendel

My settings for the locale in the tutorial-catalog:

catalog.cfg:
------snip---------
# Und jetzt die Locale-Definition
Database	locale	locale.txt	TAB
Locale          de_DE	LC_CTYPE C 
Locale          en_US 	LC_CTYPE C
LocaleDatabase  locale
------snap----------

locale.txt:
code	en_US	de_DE
default	0	1
currency_symbol	$	€
p_cs_precedes	1	0
mon_thousands_sep	,	.
mon_decimal_point	.	,

in index.html (near the top):
<a href=[area href="process/locale/en_US/page/index.html"]>engl.</a>&nbsp;
<a href=[area href="process/locale/de_DE/page/index.html"]>dt.</a>
<p>Die Locale ist: [scratch mv_locale].</p>

in the products.txt prices with dots (eg. 275.45)

works for me.

achim