From znanie at rawbw.com Wed Apr 9 18:17:00 2003 From: znanie at rawbw.com (Kirill Sapelkin) Date: Wed Apr 9 18:17:00 2003 Subject: [interchange-i18n] Locale Directive in 4.9.x In-Reply-To: Message from Stefan Hornburg of "Sat, 22 Mar 2003 13:33:46 +0100." <20030322133346.4f6f915c.racke@linuxia.de> Message-ID: <200304092056.h39Ku7101224@rawbw.com> Hello Racke, Still can't get shadow specs to work for me. Archive search did not yeild up any docs for me. > However, I found a bug in the Shadow module, please upgrade to the attached > one (latest CVS). With that, you can use: > > Database specs specs.txt TAB > Database specs MAP detail ru_RU rdetail > > I tested that, but needed to add keys to my specs database file, otherwise on ly one > column will be displayed. > As an experiment I made a plain vanilla 4.9.7 DBM tools catalog, added Database specs specs.txt TAB #TAB is uppercase "T" "A" "B" Database specs MAP detail ru_RU rdetail to catalog.cfg, added [setlocale locale=ru_RU persist=1 to pages/index.html. Replaced nl_NL with ru_RU in products/locale.txt. Doctered products/specs.txt as follows: code sku sort header detail rheader rdetail os28069 000 Case material ?ainted Steel ????????? ????? os28069 000 Hinge material Galvanized os28069 000 Latch material Stainless Steel os28069 000 Height 14" os28069 000 Width 24" os28069 000 Depth 10" The effect that I get is as if no changes were made. On screen we see: Case material and ?ainted Steel. It's not looking at the rdetail column. So that's all I did. Similar changes to products work fine. Switching files from one to the other as in: Database products ru_RU rproducts does not work, neither in DBM or in mysql:dbi. I'm may be missing some configuration somewhere. That's why I tried the experiment above. I like 4.9.7 because of the extensive locale.txt but I would switch to another version to get Shadow to work. Thanks for all your help. --Kirill Sapelkin znanie at rawbw.com From racke at linuxia.de Wed Apr 9 18:32:01 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Wed Apr 9 18:32:01 2003 Subject: [interchange-i18n] Locale Directive in 4.9.x In-Reply-To: <200304092056.h39Ku7101224@rawbw.com> References: <20030322133346.4f6f915c.racke@linuxia.de> <200304092056.h39Ku7101224@rawbw.com> Message-ID: <20030410003132.3656cc96.racke@linuxia.de> On Wed, 09 Apr 2003 13:56:07 -0700 Kirill Sapelkin wrote: > Hello Racke, > > Still can't get shadow specs to work for me. Archive search did not > yeild up any docs for me. > > > However, I found a bug in the Shadow module, please upgrade to the attached > > one (latest CVS). With that, you can use: > > > > Database specs specs.txt TAB > > Database specs MAP detail ru_RU rdetail > > > > I tested that, but needed to add keys to my specs database file, otherwise on > ly one > > column will be displayed. > > > As an experiment I made a plain vanilla 4.9.7 DBM tools catalog, added > > Database specs specs.txt TAB #TAB is uppercase "T" "A" "B" > Database specs MAP detail ru_RU rdetail > > to catalog.cfg, added > > [setlocale locale=ru_RU persist=1 > > to pages/index.html. Replaced nl_NL with ru_RU in > products/locale.txt. Doctered products/specs.txt as follows: > > code sku sort header detail rheader rdetail > os28069 000 Case material ?ainted Steel ????????? ????? > os28069 000 Hinge material Galvanized > os28069 000 Latch material Stainless Steel > os28069 000 Height 14" > os28069 000 Width 24" > os28069 000 Depth 10" > > The effect that I get is as if no changes were made. On screen we > see: > Case material and ?ainted Steel. It's not looking at the rdetail > column. You probably didn't modify flypage.html and the specs database as described in an earlier posting from myself. Bye Racke From znanie at rawbw.com Thu Apr 10 17:38:01 2003 From: znanie at rawbw.com (Kirill Sapelkin) Date: Thu Apr 10 17:38:01 2003 Subject: [interchange-i18n] Locale Directive in 4.9.x In-Reply-To: Message from Stefan Hornburg of "Thu, 10 Apr 2003 00:31:32 +0200." <20030410003132.3656cc96.racke@linuxia.de> Message-ID: <200304101814.h3AIE7A00797@rawbw.com> Hello Racke, > You probably didn't modify flypage.html and the specs database as described > in an earlier posting from myself. You're absolutly right. Confused myself on the flypage modification, thought that was to be used for specs as part of mysql database and didn't know what to do with "keys" in specs.txt. Still don't, really. > I tested that, but needed to add keys to my specs database file, otherwise only one > column will be displayed. Adding numbers to code column in specs.txt: code sku sort header detail rheader rdetail 001 os28069 001 Case material Painted Steel ????????? ????? 002 os28069 002 Hinge material Galvanized ??????? ???????????????? 003 os28069 003 Latch material Stainless Steel ????? ?????????? 004 os28069 004 Height 14" ?????? 14 ?? 005 os28069 005 Width 24" ?????? 24 ?? 006 os28069 006 Depth 10" ??????? 10 ?? allows all of the lines to display on screen. However, they do do not come up in the order they appear in specs nor in "sort" column order. Adding or deleting spaces in front of first line or all lines makes no difference. Anyway, this is great. --Kirill Sapelkin znanie at rawbw.com From znanie at rawbw.com Fri Apr 11 15:41:00 2003 From: znanie at rawbw.com (Kirill Sapelkin) Date: Fri Apr 11 15:41:00 2003 Subject: [interchange-i18n] Shadow.pm v. 1.23 slower than 1.22 Message-ID: <200304111819.h3BIJWo01240@rawbw.com> Hello, The Shadow.pm 1.23 works fine, allows us to select different columns in products and specs.txt, except is slower than v 1.22. On my machine, http://localhost/cgi-bin/znanie: Click on Home button with ru_RU locale with en_US locale with 1.22 ru_RU 7 secs 4 sec 1 sec Search on sku with ru_RU locale with en_US locale with 1.22 ru_RU 16 sec 7 sec 2 sec We have a mysql products table with about 5000 items and 4 specs for each one in the specs.txt. Is this supposed to be this way? Would it be faster if we used text only database? Thanks. --Kirill Sapelkin znanie at rawbw.com From racke at linuxia.de Fri Apr 11 19:55:01 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Fri Apr 11 19:55:01 2003 Subject: [interchange-i18n] Shadow.pm v. 1.23 slower than 1.22 In-Reply-To: <200304111819.h3BIJWo01240@rawbw.com> References: <200304111819.h3BIJWo01240@rawbw.com> Message-ID: <20030412015450.5e7f49b5.racke@linuxia.de> On Fri, 11 Apr 2003 11:19:32 -0700 Kirill Sapelkin wrote: > Hello, > > The Shadow.pm 1.23 works fine, allows us to select different columns > in products and specs.txt, except is slower than v 1.22. > > On my machine, http://localhost/cgi-bin/znanie: > > Click on Home button > > with ru_RU locale with en_US locale with 1.22 ru_RU > 7 secs 4 sec 1 sec > > Search on sku > with ru_RU locale with en_US locale with 1.22 ru_RU > > 16 sec 7 sec 2 sec > > We have a mysql products table with about 5000 items and 4 specs for > each one in the specs.txt. > > Is this supposed to be this way? Would it be faster if we used text > only database? The shadow database adds another level of abstraction, so an overhead is to be expected. Furthermore, optimization of Shadow.pm isn't planned for Interchange 5.0, but certainly possible. Can you please repeat your database settings so I can check for possible problems. Bye Racke From znanie at rawbw.com Fri Apr 11 21:14:01 2003 From: znanie at rawbw.com (Kirill Sapelkin) Date: Fri Apr 11 21:14:01 2003 Subject: [interchange-i18n] Shadow.pm v. 1.23 slower than 1.22 In-Reply-To: Message from Stefan Hornburg of "Sat, 12 Apr 2003 01:54:50 +0200." <20030412015450.5e7f49b5.racke@linuxia.de> Message-ID: <200304112351.h3BNpeo02898@rawbw.com> > On Fri, 11 Apr 2003 11:19:32 -0700 > Kirill Sapelkin wrote: > > > Hello, > > > > The Shadow.pm 1.23 works fine, allows us to select different columns > > in products and specs.txt, except is slower than v 1.22. > > > > On my machine, http://localhost/cgi-bin/znanie: > > > > Click on Home button > > > > with ru_RU locale with en_US locale with 1.22 ru_RU > > 7 secs 4 sec 1 sec > > > > Search on sku > > with ru_RU locale with en_US locale with 1.22 ru_RU > > > > 16 sec 7 sec 2 sec > > > > We have a mysql products table with about 5000 items and 4 specs for > > each one in the specs.txt. > > > > Is this supposed to be this way? Would it be faster if we used text > > only database? > > The shadow database adds another level of abstraction, so an overhead > is to be expected. Furthermore, optimization of Shadow.pm isn't planned > for Interchange 5.0, but certainly possible. If I could make Shadow.pm 1.22 work, that would be plenty fast. > > Can you please repeat your database settings so I can check for > possible problems. > Do you mean the Database settings in variable.txt? They are: MV_DEFAULT_SEARCH_DB 1 Database MYSQL 1 Database ORACLE Database PGSQL Database SQLDSN dbi:mysql:znanie Database SQLITE Database SQLPASS Database SQLUSER Database Record counts of the tables in the database are: use znanie; select count(*) from affiliate; 2 select count(*) from area; 6 select count(*) from cat; 43 select count(*) from cat42; 498 select count(*) from country; 252 select count(*) from eng42; 498 select count(*) from forum; 2 select count(*) from gift_certs; 0 select count(*) from inventory; 4467 select count(*) from merchandising; 151 select count(*) from options; 3435 select count(*) from order_returns; 0 select count(*) from orderline; 25 select count(*) from pricing; 39 select count(*) from products; 4469 select count(*) from rproducts; 4469 select count(*) from state; 201 select count(*) from transactions; 15 select count(*) from tree; 0 select count(*) from userdb; 13 select count(*) from variants; 18 If it is something else please tell me. Regards. --Kirill Sapelkin znanie at rawbw.com From znanie at rawbw.com Sat Apr 12 00:06:02 2003 From: znanie at rawbw.com (Kirill Sapelkin) Date: Sat Apr 12 00:06:02 2003 Subject: [interchange-i18n] Shadow.pm v. 1.23 slower than 1.22 In-Reply-To: Message from Stefan Hornburg of "Sat, 12 Apr 2003 01:54:50 +0200." <20030412015450.5e7f49b5.racke@linuxia.de> Message-ID: <200304120244.h3C2iov00263@rawbw.com> > > Can you please repeat your database settings so I can check for > possible problems. > Most of the way through a Belgian dubbel, it occured to me what you might have meant. The Shadow database settings in catalog.cfg are: # ZNCH Shadow Database setup as per racke Database products MAP comment ru_RU rcomment Database specs specs.txt TAB Database specs MAP header ru_RU rheader Database specs MAP detail ru_RU rdetail Regards. --Kirill Sapelkin znanie at rawbw.com From znanie at rawbw.com Sat Apr 12 02:34:01 2003 From: znanie at rawbw.com (Kirill Sapelkin) Date: Sat Apr 12 02:34:01 2003 Subject: [interchange-i18n] Shadow.pm v. 1.23 slower than 1.22 In-Reply-To: Message from Kirill Sapelkin of "Fri, 11 Apr 2003 16:51:40 -0700." <200304112351.h3BNpeo02898@rawbw.com> Message-ID: <200304120512.h3C5CHv01646@rawbw.com> > > > > > > The Shadow.pm 1.23 works fine, allows us to select different columns > > > in products and specs.txt, except is slower than v 1.22. > > > > > > > > > Is this supposed to be this way? Would it be faster if we used text > > > only database? > > > If I could make Shadow.pm 1.22 work, that would be plenty fast. > > Follow on to previous post. Sorry it's dribbling out like this. Shadow.pm 1.22 tried with DBM catalog, with catalog.cfg settings below works, and is FAST. Hate to give up mysql but might have to. # ZNCH added as per Interchange I18N Features Database products MAP comment ru_RU rcomment # Database products de_DE products_de_DE # Database specs ru_RU specs_ru_RU.txt TAB # Database specs MAP header ru_RU specs::rheader Database specs specs.txt TAB Database specs MAP header ru_RU rheader Database specs MAP detail ru_RU rdetail --Kirill Sapelkin znanie at rawbw.com From znanie at rawbw.com Sat Apr 12 16:21:01 2003 From: znanie at rawbw.com (Kirill Sapelkin) Date: Sat Apr 12 16:21:01 2003 Subject: [interchange-i18n] Shadow.pm v. 1.23 slower than 1.22 In-Reply-To: Message from Stefan Hornburg of "Sat, 12 Apr 2003 01:54:50 +0200." <20030412015450.5e7f49b5.racke@linuxia.de> Message-ID: <200304121833.h3CIX3A00373@rawbw.com> > On Fri, 11 Apr 2003 11:19:32 -0700 > Kirill Sapelkin wrote: > > > Hello, > > > > The Shadow.pm 1.23 works fine, allows us to select different columns > > in products and specs.txt, except is slower than v 1.22. > > Can you please repeat your database settings so I can check for > possible problems. > The slowness seems to occur when: Database products MAP comment ru_RU rcomment is added to the catalog.cfg. products is a mysql table and has about 4000 records. Tried: Database products ru_RU rproducts hoping that using a different table instead of looking for different columns would be faster but Shadow doesn't make the switch --Kirill Sapelkin znanie at rawbw.com From galel at prgh.net Fri Apr 25 11:08:00 2003 From: galel at prgh.net (Galel López) Date: Fri Apr 25 11:08:00 2003 Subject: [interchange-i18n] Need Help Message-ID: <3EA94F1A.000003.02728@estacion1> Hello i'm new in Interchange and i like to change my locale to spanish, i live in Honduras, how i can change the currency? for my locale currency? can i do this from the UI of Interchange? Thanks. Galel L?pez Mart?nez Gerente de Operaciones PRG de Honduras Tel: (504)2396120 Fax:(504)2396134 Web: www.prgh.net galel at prgh.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.icdevgroup.org/pipermail/interchange-i18n/attachments/20030425/99f65943/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 358 bytes Desc: not available Url : http://www.icdevgroup.org/pipermail/interchange-i18n/attachments/20030425/99f65943/attachment.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 2663 bytes Desc: not available Url : http://www.icdevgroup.org/pipermail/interchange-i18n/attachments/20030425/99f65943/attachment-0001.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 494 bytes Desc: not available Url : http://www.icdevgroup.org/pipermail/interchange-i18n/attachments/20030425/99f65943/attachment-0002.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 5627 bytes Desc: not available Url : http://www.icdevgroup.org/pipermail/interchange-i18n/attachments/20030425/99f65943/attachment.jpeg From racke at linuxia.de Fri Apr 25 11:35:00 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Fri Apr 25 11:35:00 2003 Subject: [interchange-i18n] Need Help In-Reply-To: <3EA94F1A.000003.02728@estacion1> References: <3EA94F1A.000003.02728@estacion1> Message-ID: <20030425173340.65f71401.racke@linuxia.de> On Fri, 25 Apr 2003 09:07:06 -0600 "Galel L?pez" wrote: > Hello i'm new in Interchange and i like to change my locale to spanish, i > live in Honduras, how i can change the currency? for my locale currency? > can i do this from the UI of Interchange? Hello, Galel ! Greetings to Honduras. Which version of Interchange do you using ? Bye Racke From galel at prgh.net Fri Apr 25 19:53:00 2003 From: galel at prgh.net (Galel López) Date: Fri Apr 25 19:53:00 2003 Subject: [interchange-i18n] Re: interchange-i18n digest, Vol 1 #143 - 2 msgs References: <20030425160002.13848.99507.Mailman@icdevgroup.org> Message-ID: <3EA9CA42.000001.02728@estacion1> i use 4.9.6 can you help me? Hello, Galel ! Greetings to Honduras. Which version of Interchange do you using ? Bye Racke --__--__-- _______________________________________________ interchange-i18n mailing list interchange-i18n at icdevgroup.org http://www.icdevgroup.org/mailman/listinfo/interchange-i18n End of interchange-i18n Digest . -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.icdevgroup.org/pipermail/interchange-i18n/attachments/20030425/b86a4d06/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 494 bytes Desc: not available Url : http://www.icdevgroup.org/pipermail/interchange-i18n/attachments/20030425/b86a4d06/attachment.gif From racke at linuxia.de Fri Apr 25 20:06:00 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Fri Apr 25 20:06:00 2003 Subject: [interchange-i18n] Need Help In-Reply-To: <3EA94F1A.000003.02728@estacion1> References: <3EA94F1A.000003.02728@estacion1> Message-ID: <20030426020529.31cc5db3.racke@linuxia.de> On Fri, 25 Apr 2003 09:07:06 -0600 "Galel L?pez" wrote: > Hello i'm new in Interchange and i like to change my locale to > spanish, i > live in Honduras, how i can change the currency? for my locale > currency? can i do this from the UI of Interchange? You can put in your catalog.cfg (Interchange 4.9.x): Locale es_ES currency_symbol " Pesetas" DefaultLocale es_ES Bye Racke From galel at prgh.net Fri Apr 25 21:46:00 2003 From: galel at prgh.net (Galel López) Date: Fri Apr 25 21:46:00 2003 Subject: [interchange-i18n] Thanks Racke Message-ID: <3EA9E4B2.000003.02728@estacion1> thanks for help me in change mi currency works fine, but how can i change mi language to spanish, i got to transalate the html pages?, can be done automatic? and where i can found images in spanish? thanks god bless you!!! Galel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.icdevgroup.org/pipermail/interchange-i18n/attachments/20030425/b39193c7/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 494 bytes Desc: not available Url : http://www.icdevgroup.org/pipermail/interchange-i18n/attachments/20030425/b39193c7/attachment.gif From znanie at rawbw.com Sat Apr 26 00:12:00 2003 From: znanie at rawbw.com (Kirill Sapelkin) Date: Sat Apr 26 00:12:00 2003 Subject: [interchange-i18n] Thanks Racke In-Reply-To: Message from "Galel L pez" of "Fri, 25 Apr 2003 19:45:22 -0600." <3EA9E4B2.000003.02728@estacion1> Message-ID: <200304260249.h3Q2nZx00463@rawbw.com> > > thanks for help me in change mi currency works fine, but how can i change= > mi > language to spanish,=0D Look at products/locale.txt. It is a tab delimited file. The top line is locale codes and the rest of the lines are some settings in different languages. So if two tabs over is Spanish, put all of your Spanish text in the column two tabs over. The icdevgroup site has "Interchange I18N Features", it explains the language set up. It deals with locale database in paragraph 1.6. > i got to transalate the html pages?, =0D Perhaps in some places. Maybe the Comment. > can be done automatic?=0D No, but it's probably not to hard. > and where i can found images in spanish?=0D > =0D > thanks god bless you!!!=0D Good luck. --Kirill Sapelkin znanie at rawbw.com From znanie at rawbw.com Sat Apr 26 14:48:01 2003 From: znanie at rawbw.com (Kirill Sapelkin) Date: Sat Apr 26 14:48:01 2003 Subject: [interchange-i18n] Thanks Racke In-Reply-To: Message from "Galel L pez" of "Fri, 25 Apr 2003 19:45:22 -0600." <3EA9E4B2.000003.02728@estacion1> Message-ID: <200304261726.h3QHQIN00303@rawbw.com> > >> >> thanks for help me in change mi currency works fine, but how can i change= >> mi >> language to spanish,=0D > >Look at products/locale.txt. It is a tab delimited file. The top >line is locale codes and the rest of the lines are some settings in >different languages. So if two tabs over is Spanish, put all of your >Spanish text in the column two tabs over. Hello, I forgot to say: It seems that the products/locale.txt in interchange 4.9.7 has many more lines (over 400) than 4.9.6. Though I've just started working on it, it seems to me, that most of a Spanish page could be done right there, in locale.txt. > >The icdevgroup site has "Interchange I18N Features", it explains the >language set up. It deals with locale database in paragraph 1.6. > > >> i got to transalate the html pages?, =0D >Perhaps in some places. Maybe the Comment. >> can be done automatic?=0D >No, but it's probably not to hard. >> and where i can found images in spanish?=0D >> =0D >> thanks god bless you!!!=0D > >Good luck. > Kirill Sapelkin znanie at rawbw.com From racke at linuxia.de Tue Apr 29 10:26:00 2003 From: racke at linuxia.de (Stefan Hornburg) Date: Tue Apr 29 10:26:00 2003 Subject: [interchange-i18n] Thanks Racke In-Reply-To: <3EA9E4B2.000003.02728@estacion1> References: <3EA9E4B2.000003.02728@estacion1> Message-ID: <20030429162443.5dcc0555.racke@linuxia.de> On Fri, 25 Apr 2003 19:45:22 -0600 "Galel L?pez" wrote: > thanks for help me in change mi currency works fine, but how can i change mi > language to spanish, > i got to transalate the html pages?, > can be done automatic? > and where i can found images in spanish? Hello, Galel ! If your catalog is based on the latest Interchange, you can change most of the text on the pages into Spanish by editing locales.txt. If there is a text which isn't listed in locales.txt, please report. For Spanish images you can use the Locales directive to load them from a different URL, e.g. Locale es_ES ImageDir /icpics/es/ Bye Racke