On Fri, Aug 19, 2011 at 11:16 AM, Michele Beltrame <mb@cattlegrid.info> wrote:
This works and allows me to use URIs such as:
myapp/it/products/
myapp/en_US/products/
etc...

Don't ask me how it should be done, but it seems that this is not how you're supposed to do this language selection stuff:

http://blog.steveklabnik.com/2011/07/03/nobody-understands-rest-or-http.html

Of course your question is broader and other applications might well deserve this kind of solution!

Ciao,

    Flavio.