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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top