[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


Works like a charm. Thanks a lot!

Ton Verhagen wrote:
Quoting Andreas Grau <suppressed>:

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    suppressed    http://www.alamerce.nl

eCommerce Solutions -- Consulting -- Website & Interchange Hosting

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.