Approaches for language selection for a website

Hi,

So, I’ve got a new little site to implement, that has the requirement of supporting 3 different languages, via the user choosing their language on the sites landing page.

It’s not something I’ve implemented as of yet, so I’m interested in what best approaches or techniques apply for generating this type of functionality.

I imagine storing the language files as XML and loading in as requested. I guess I’m interested in the best method for developing a site that supports swapping a language for all text elements on the fly. Mook has a rough sketch of an approach using namespaces, is this something I should investigate.

Thanks in advance.