Hello,
I need to render a form with ordered input label in alphabetic order base
on the browser language, so I thought that that I could get the user setted
browser languages from request.env.http_accept_language in order to
determine which sorted label to return,
but request.env.http_accept_language returns a string which as far as I
understand is a list of tuples.
Do the browser accepted language are in order of preference
in request.env.http_accept_language??
I would like to do something like this :
if request.env.http_accept_language == 'en':
...
elif request.env.http_accept_language == 'fr':
...
So, is there an other environnement variable that can help me more then
having to split request.env.http_accept_language??
Thanks.
Richard
--