retrieve regional settings

M

Mario Krsnic

Hello,
I would like to retrieve the regional settings of the page visitors. If I
use CultureInfo.CurrentCulture.ToString then
I get the regional settings of the server. If I use Request.UserLanguages(0)
then I get
the operation system language. If somebody uses the English operation
system with Croatian regional setting then I get with
Request.UserLanguages(0) allways "EN".
Is there any solution for the issue?
Thanks for every tip!
Mario
 
G

Guest

Hello,
I would like to retrieve the regional settings of the page visitors. If I
use CultureInfo.CurrentCulture.ToString then
I get the regional settings of the server. If I use Request.UserLanguages(0)
then I get
the operation system language. If  somebody uses the English operation
system with Croatian regional setting then I get with
Request.UserLanguages(0) allways "EN".
Is there any solution for the issue?
Thanks for every tip!
Mario

Request.UserLanguages returns selection of preferred languages from
the browser and not from the operating system. Go to IE - Tools -
Internet options - Languages to see that selection .
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,698
Latest member
LydiaHalle

Latest Threads

Top