[ic] Language and more categories

Rene Hertell interchange-users@interchange.redhat.com
Fri May 3 14:05:01 2002


> 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

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