[interchange-i18n] Locale Directive in 4.9.x
znanie at rawbw.com
Mon Mar 17 17:21:01 UTC 2003
Thanks for your answer.
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 <racke at linuxia.de> wrote:
> > On Sun, 16 Mar 2003 18:27:36 -0800
> > Kirill Sapelkin <znanie at rawbw.com> 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
> interchange-i18n mailing list
> interchange-i18n at icdevgroup.org
--Kirill Sapelkin znanie at rawbw.com
More information about the interchange-i18n