Akopia Akopia Services

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

Re: [ic] Localization causes misbehavior of basket?



Quoting Ton Verhagen (ton@verhagen.net):
> Dear All,
> 
> I encountered a problem while localizing the construct demo.
> 
> Entries in locale database:
> 
> code	en_US	de_DE	fr_FR	nl_NL
> ProductFiles	products	de_products	fr_products	nl_products
> products	products	de_products	fr_products	nl_products
> 
> With these settings all searches perform well (as long as no file is 
> explicitly mentioned in search).
> In other words, when a locale is in effect, e.g. nl_NL, the results come 
> from the associated products table (nl_products). So far so good.
> However, when I order a product when nl_NL is in effect, the basket shows 
> info coming from 'products' and mv_ib is set to 'products'.
> Is this intended behavior, have I overlooked something, or is this a bug?
> 

Not intended. You can help by putting this code at the top of your
basket page and telling me what you see:

[calc]
	push @out, "ProductFiles: ";
	push @out, join ",", @{$Config->{ProductFiles}};
	push @out, "\nDefaultLocale: $Config->{DefaultLocale}\n";
	push @out, "current locale: @@MV_LANG@@\n";
	return join "", @out;
[/calc]

-- 
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>

Fast, reliable, cheap.  Pick two and we'll talk.  -- unknown

_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: