Anywhere you want it to come from. Two ideas would be 1) the request's "Accept-Languages" HTTP header, or 2) your database where the user has told you the culture they prefer.
Actual problem is , i have not set uiculture any where in my application but it is showing en-us as my ui culture.I just want to know from where it is coming.
Ch Mahesh Kumar
www.jkc-forum.in Mark this post as answer if this helps.It can save others time.
When i debugging my application it is showing current culture as en-us,but i have not set anywhere en-us as my uiculture,so i just want to know that from where it is coming ? and is en-us considered to be default ui culture in asp.net ?.
Ch Mahesh Kumar
www.jkc-forum.in Mark this post as answer if this helps.It can save others time.
MaheshKumarC...
Member
84 Points
51 Posts
from where does uiculture comes if it is not set in web.config
Jan 16, 2013 02:59 PM|LINK
from where does uiculture comes if it is not set in web.config
www.jkc-forum.in
Mark this post as answer if this helps.It can save others time.
BrockAllen
All-Star
28042 Points
4991 Posts
MVP
Re: from where does uiculture comes if it is not set in web.config
Jan 16, 2013 03:19 PM|LINK
Anywhere you want it to come from. Two ideas would be 1) the request's "Accept-Languages" HTTP header, or 2) your database where the user has told you the culture they prefer.
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/
MaheshKumarC...
Member
84 Points
51 Posts
Re: from where does uiculture comes if it is not set in web.config
Jan 16, 2013 03:35 PM|LINK
Actual problem is , i have not set uiculture any where in my application but it is showing en-us as my ui culture.I just want to know from where it is coming.
www.jkc-forum.in
Mark this post as answer if this helps.It can save others time.
BrockAllen
All-Star
28042 Points
4991 Posts
MVP
Re: from where does uiculture comes if it is not set in web.config
Jan 16, 2013 04:55 PM|LINK
It's set per-thread: Thread.CurrentThread.CurrentUICulture. If you want your code to use another then you set it.
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/
oned_gk
All-Star
35726 Points
7295 Posts
Re: from where does uiculture comes if it is not set in web.config
Jan 17, 2013 12:34 AM|LINK
Regional and Language Option (Control Panel)
http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo%28VS.71%29.aspx
Suwandi - Non Graduate Programmer
MaheshKumarC...
Member
84 Points
51 Posts
Re: from where does uiculture comes if it is not set in web.config
Jan 17, 2013 05:10 AM|LINK
When i debugging my application it is showing current culture as en-us,but i have not set anywhere en-us as my uiculture,so i just want to know that from where it is coming ? and is en-us considered to be default ui culture in asp.net ?.
www.jkc-forum.in
Mark this post as answer if this helps.It can save others time.
BrockAllen
All-Star
28042 Points
4991 Posts
MVP
Re: from where does uiculture comes if it is not set in web.config
Jan 17, 2013 05:01 PM|LINK
Is that not your OS culture?
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/
eyherabideg
Member
21 Points
16 Posts
Re: from where does uiculture comes if it is not set in web.config
Jan 28, 2013 01:02 PM|LINK
probably it's coming from your browser, try changing your browers language and see if it change in your app too