PDA

View Full Version : how to make site in 2 languages



bigcy
March 19th, 2008, 05:26 AM
hi all

Does anyone know how to make site in 2 languages ?
Say for ex : we need a site in french & english.
So do we have to made 2 diff sites ?
or there is any other way for the same.
Also the site is in static xhtml/css

thanks in advance

Maqrkk
March 19th, 2008, 08:05 AM
Depends on how you'd like it to work. There's lots of ways this can be done. For example you can make English the default language, and give the user an option to switch to French. Tell us what you want and I'll see if I can help, and if not I'm sure someone else can ;)

fasterthanlight™
March 19th, 2008, 10:41 AM
The best way to do this would be to strip out ALLLLL your content, leaving just the HTML structure left,
put all your content into seperate files, and then use something like PHP to call in the content depending on which language is chosen.

This way, if you need to update the site's html, you're only doing it in one place, as opposed to modifying the HTML for both languages.