[ic] Language and more categories

Oleh Ladan interchange-users@interchange.redhat.com
Sat May 4 13:43:01 2002


I'm working on the language part the way Aaron & Rene pointed out, it
just that the servers are down:(
But what about the second part how to create sub-directories? Any ideas?
Oleh Ladan

-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of
Rene Hertell
Sent: Friday, May 03, 2002 1:14 PM
To: interchange-users@interchange.redhat.com
Subject: RE: [ic] Language and more categories

> 1. How can I make 2 versions of the site one English and one in other
> language, so far I put English and Ukrainian areas one page and then
> their categories in each language under the areas. But is there any
way
> when you go to the shopping site get English as default and have a
> button with the language flag so a user can choose a different
language?
> This way I can have the main page of each of the two languages written
> in the language customer can understand. This is how it looks right
now.
>
http://ukrainianshop.net/~ukrainia/cgi-bin/cart.cgi/index.html?id=jSsueV
> 7e&mv_pc=1026
> 2. Second question is if there is anyway to make sub-categories, I'm
> selling groceries and for example I have meat products. I 
> don't want to
> have cooked meat and fresh meat in the same category. I would like
> people to click on the meat category and then be able to 
> choose between:
> cooked meat, fresh meat, poultry, and fish. Is there any way 
> to do this?

By following these steps, you should get my example working in 10
minutes.

1) I tagged a text like this: [L]Good Morning![/L] on you index page
(catroot/pages/index)
2) Add a new column (eg. ru_RU) to the locale table (download the
locale.txt
file, edit with excel or whatever spread-sheet program, save as
tab-delimited, upload back to the server and replace the old version
3) Create a new entry to the locale-db, and add to the code-column "Good
Morning!" (without the "")
4) Add "dobrahye ootrah" in the ru_RU column
5) Apply the changes
Then create a link: <a href="[area
process/locale/ru_RU/page/index]">Change
to Russian<a/>
In your case it would look like this:
http://ukrainianshop.net/~ukrainia/cgi-bin/cart.cgi/process/locale/ru_RU
/pag
e/index
If this works, then just add [L] tags to all your text on your pages
Rene

Someone correct me if im wrong... But I would think the easiest way to
do this would be to make another directory for the second language
(normal pages in /pages/.. New language in "/pages/<language>/")  you
could just make an IC link that has something like [area
<language>/page] and it would take you to the other language.  Someone
could verify this for me... , you could probably do the
<language>/@@MV_PAGE@@ and get the same named page in the other
directory...
Aaron


_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users