AW: [ic] Use one table for product descriptions in different languages

Andreas Grau agrau at esquat.com
Thu Jul 21 10:14:14 EDT 2005


Works like a charm. Thanks a lot!

Ton Verhagen wrote:
> Quoting Andreas Grau <agrau at esquat.com>:
> 
>> Hello world \n;
>>
>> Stefan Hornburg wrote:
>>
>>> You don't need one table for each language. You can also put all your
>>> translations in one table, e.g.
>>
>>   <snip>
>> >
>>
>>> and then:
>>> Database products MAP description de_DE products_i18n description_de
>>> Database products MAP description fr_FR products_i18n description_fr
>>
>>
>> I have tried this, but get a syntax on when trying to restart ic 5.3.1 
>> saying:
>>
>>    standard config error: Incomplete parameter list for MAP.
>>    In line 6 of the configuration file 'dbconf/mysql/products.mysql':
>>
>> I searched the docs for a description of MAP, but to no avail. Can 
>> someone please point me in the right direction?
> 
> 
> Andreas try this:
> 
> Database products MAP description de_DE products_i18n::description_de
> Database products MAP description fr_FR products_i18n::description_fr
> 
> Please note:
> 1. The table products_i18n must exist
> 2. The table products_i18n must be accessible by Interchange.
> 3.  Note the added "::"
> 
> I'm using this MAP thingy successfully for a couple of my clients, so
> you must be able to get it to work as well...
> 
> 
> Good luck,
> 
> Ton
> 
> -- 
> Alamerce Nederland --- Cornerstone of eBusiness
> Phone +31-40-2374381    info at alamerce.nl    http://www.alamerce.nl
> 
> eCommerce Solutions -- Consulting -- Website & Interchange Hosting
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
> 
> 


More information about the interchange-users mailing list