View Single Post
  #6 (permalink)  
Old October 14th, 2004, 02:00 AM
happygv happygv is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

When one want to switch between different languages, where you have all content updated in different languages organised in the folder structure as mentioned in your post, you will have to just redirect to the equivalant page of the other language. That should do. But as I have read a lot on that, it is little difficult in terms of maintenance. Coding for such setup is easy, after which maintenance is a headache as one has to constantly update all versions of language contents in all such folders.

In netcrawler's suggested code, it should work this way. All the file names corresponding to English are prefixed with "e<FILENAME>.ASP". So when one request to change to that version of the page, it redirects to "e<FILENAME>.ASP"

As per my understanding, in your case, you should redirect to "en\<FILENAME.ASP" or "pt\<FILENAME.ASP". Should alter the code a bit, that was posted here.

Hope that helps.
Cheers!

_________________________
- Vijay G
Strive for Perfection
Reply With Quote