Really cool :)
Good to know about accept language format :
Example : fr,en-US;q=0.7,en;q=0.3
q value is between 0 and 1 (default value is 1)
the bigger it is the the higher is the priority to select a language
Here client says :
I prefer fr (q=1)
Then en-US (q=0.7)
Then..
-
http://mashing-it-up.blogspot.com/2008/10/parsing-accept-language-in-rails.html