| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
|
|
#2 (permalink) |
|
Senior Member
Join Date: Apr 2005
Location: Toronto, Canada
Posts: 162
|
your root directory would look like this index.php en <- folder for english stuff sp <- folder for spanish stuff index.php contents would check the headers for the accepted language. If it's English, forward the user to the 'en' directory. If it's Spanish, forward the user to the 'sp' folder. And then add a session var, or cookie, indicating that this is their preferred language. You can do this Javascript or ASP or ColdFusion, or whatever. Also the index pages in the 'en' directory and the 'sp' directory should sepcify the proper character-set, in the meta-header, for those pages. |
|
![]() |