Language options with XMLHttpRequest
I have been looking for a solution to a multi-language site that doesn't need to have the same pages repeated in different languages. I had tried using only Javascript but the translated text had to be saved together with the rest of the Javascript code and it didn't seem a practical solution.
I think that the solution could be XMLHttpRequest. I save all the “Studies” text in a XML file that has the same tags as the XHTML page and change the content of the page according to the language chosen by the user. I'm working on it, still polishing out a few glitches.