Re: Locale Directive in 4.9.x
Kirill Sapelkin <[email protected]> Mon, 17 Mar 2003 12:30:51 -0800
| Newsgroups | gmane.comp.web.interchange.internationalization |
|---|---|
| Message-ID | <[email protected]> |
Hello, Thanks for your answer. Including: Database products MAP comment ru_RU rcomment in catalog.cfg worked fine. rcomment is the russian translation of the data in the products.comment field. Efforts to use the products/specs.txt were not so successful. Adding: Database specs MAP header ru_RU rheader Database specs MAP detail ru_RU rdetail to catalog.cfg did not work. Sample line from specs.txt follows: code sku sort header detail rheader rdetail os28069 000 Case material Painted Steel íÁÔÅÒÉÁÌ ëÒÁÛÅÎÁÑ óÔÁÌØ Could this be because we are using mysql database and specs.txt not in with the rest of the mysql tables? Thanks for your help. > On Mon, 17 Mar 2003 11:07:53 +0100 > Stefan Hornburg <[email protected]> wrote: > > > On Sun, 16 Mar 2003 18:27:36 -0800 > > Kirill Sapelkin <[email protected]> wrote: > > > > > Hello, > > > > > > With the Locale Directives and the products/locale.txt (and the Shadow > > > Database scheme, that I haven't looked at yet) it seems, in 4.9, > > > possible to have a multi-lingual page without resorting to another > > > whole website or even a second set of html pages. > > > > > > Is it possible to use different specs.txt files depending on which > > > locale is picked? Can this be done by specifying a different file or > > > a diffent products directory? > > > > You can use the Shadow database for that. Either you add columns for > > another language and this catalog configuration snippet: > > > > Database specs MAP header de_DE header_de_DE > > > > or use a different database file: > > > > Database specs_de_DE specs_de_DE.txt TAB > > Database specs MAP header de_DE specs_de_DE:header > > Uuh, actually you need a double colon for that: > > Database specs MAP header de_DE specs_de_DE::header > > Bye > Racke > _______________________________________________ > interchange-i18n mailing list > [email protected] > http://www.icdevgroup.org/mailman/listinfo/interchange-i18n --Kirill Sapelkin [email protected]