Multi Language Site

They have: 5,633 posts

Joined: Jan 1970

Hello,
I have been asked to setup a website in a variety of different languages (not programming languages - languages, like English). I was wondering if there is a proper way to do this. Should I merely make copies of the html and translate the text and images? Since I have a couple programmers in the IT department at my disposal, i was hoping to do it in a more sophisticated way. That is, using a database to hold the bits of code and a scripting language to put it all together to create the pages. Someone else suggested we use xml? Does anyone have any idea as to what would be my simplest/fastest/cheapest solution?
Thanks in advance,
fur

Busy's picture

He has: 6,151 posts

Joined: May 2001

How big is the site? how many pages

They have: 93 posts

Joined: Dec 2001

I use php for my dual language site.
I have /templates/lang1/ & /templates/lang2/
all the files inside the 2 directories are text files some using html.
Then on my main pages I use
echo temp('/path/to/template.tmpl');'

Mika

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.