Re [ic] Locale question

Stefano Nota interchange-users@lists.akopia.com
Tue Jul 3 10:49:01 2001


--code:

[item-price]<br>
[if scratch mv_locale eq it_IT]
	[tmp ita][item-price noformat=1][/tmp]
	[setlocale it_IT]
		[currency convert=1][scratch ita][/currency]
	[setlocale]
[/if]
[if scratch mv_locale eq en_US]
		[tmp eng][item-price noformat=1][/tmp]
		[setlocale en_US][currency]
			[currency convert=1][scratch eng][/currency][/currency]
		[setlocale]
[/if]

--Locale.TXT
code 		en_US   de_DE  fr_FR  it_IT      eur_EUR spa_SPA

PriceDivide 1.18154 0.5409 0.1632 0.000516457 1 1.18154

currency_symbol $ DM 		FF 	Lit 		EURO

default 	0 	  0       0       0          1         0
frac_digits 2         2       2     0          2
mon_decimal_point .   ,      ,      ,          ,
mon_thousand_sep    . .
mon_thousands_sep , , . . .
p_cs_precedes 1   1 1
p_sep_by_space   1 1 1


--Catalog.cfg
Locale          eur_EUR LC_CTYPE eur_EUR

DescriptionField description
PriceField price
PriceAdjustment  format

LocaleDatabase  locale



-----Messaggio originale-----
Da: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]Per conto di
Joachim Leidinger
Inviato: marted́ 3 luglio 2001 16.25
A: interchange-users@developer.akopia.com
Oggetto: Re: R: R: [ic] Locale question


Stefano Nota wrote:
>
> i set price_pictures but i can't show price in euro and lira or dollars.
>
> More?

It seems to me, you want to try something with wrong IC Tags.
Post your little part of your codes with that stuff.
Post your little part of your locale.txt.
Post your little part of your catalog.cfg (locale part).

ciao

Joachim

--
-------------<BPA FreeBsd>----------------------------------------------
Hans-Joachim Leidinger          black point arts Internet Solutions GmbH
email: jojo@blackpoint.de       FAX  : +49 0209-398265
http://www.bpaserver.net
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users