locale specific download links
i'm trying to provide download links of browsers in my application which is available in many european languages.
How can I direct a user to their own countries download page.
For eg: for fire开发者_运维问答fox, if an italian logs in he should be directed to the italian page. Same for all browsers.
I use tomcat 6 as the application server
I'd parse the Accept-Language header … but only use it to decide which version the big link at the top of the page should link to, a table of alternative versions below, or a link to other versions avoids problems with making wrong assumptions about a user's preferences.
For example:
- A big link that tells you what you will get (including platform and language)
- A link to a page showing all the other versions which links to
精彩评论