Forum Moderators: coopster

Message Too Old, No Replies

Same Website - Different Language - Different Servers

need help on setting up a site in different language

         

Solta

7:26 pm on Oct 11, 2005 (gmt 0)

10+ Year Member



I built a website for a client which is mostly dynamic, using php/mysql. The client now would like a version of the website in one of the Chinese languages, and possibly another in the future.

The client wants to host the other language version on another server. However the only difference between the two sites will just be the content and the buttons. What's the best way to approach this given that the sites will be on different servers?

I also built an admin tool that they use to update content and their product information. This will be managed by the same person that manages the english version.

vincevincevince

7:49 pm on Oct 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I trust that you have worked hard to ensure your character encodings work well, and your string manipluations are multi-byte safe?

If you will have it on the same server, you can use ServerAlias in Apache and then choose between language based on $_SERVER[HTTP_HOST]. If it's on another server, it's probably going to be easiest to just copy, reinstall on the new server, and take the effort to keep them reasonably up to date.