I have some doubts about my understanding of the distinction Culture vs UICulture. Does anyone has a good link explaining the motivation behind such distinction?
Hi,
Culture is used to format localize info for non-UI things such as Date, Numbers, Currency,
while UICulture is for specifying the locallized UI info (which UI resource set to use), it controls resource loading, translated text and localized control properties like color or font.
(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)
I just review the following two videos available on the web and found them very useful defining Resources in ASP.NET 2.0. Both of them go over and demostrate the differences between Culture and UICulture.
Thanks for the post indication, it's by far the most senseful thing that I have read about the CultureInfo. You should consider adding this to the documentation of the CultureInfo class.
I have no association with MSDN documentation. I took the time because I myself struggled with it and I couldn't bare how many people continue going around in circles. I have been too busy to start and maintain a blog.
There are a bunch more issues but I cannot edit that post any longer.
For example people keep trying to globalize the culture setting code in the Master page.
Also page lifecycles issues with the new InitializeCulture handler, which in the base class is just an empty stub.
Member
13 Points
173 Posts
Culture vs UICulture, motivation?
Feb 22, 2006 03:40 PM|Joannes Vermorel|LINK
Thanks in advance,
Joannes
Member
127 Points
458 Posts
MVP
Re: Culture vs UICulture, motivation?
Feb 23, 2006 12:57 PM|Pluginbaby|LINK
Hi,
Culture is used to format localize info for non-UI things such as Date, Numbers, Currency,
while UICulture is for specifying the locallized UI info (which UI resource set to use), it controls resource loading, translated text and localized control properties like color or font.
Laurent Duveau
MVP / MCT / RD
http://weblogs.asp.net/lduveau/
Member
10 Points
65 Posts
Re: Culture vs UICulture, motivation?
Feb 23, 2006 09:02 PM|NHuffman|LINK
I just review the following two videos available on the web and found them very useful defining Resources in ASP.NET 2.0. Both of them go over and demostrate the differences between Culture and UICulture.
ASP.NET HOW DO I Video Series: Localization
MSDN Webcast: Essential ASP.NET for the Web Developer (Part 12 of 15): Resources and Internationalization (Level 200)
The first is only 15 minutes long. If you only have time for one, then look at it.
Hope this helps
- Neil -
Member
22 Points
700 Posts
Re: Culture vs UICulture, motivation?
Feb 24, 2006 07:51 AM|rmprimo|LINK
Here is something I wrote:
http://forums.asp.net/1080435/ShowPost.aspx
Rob
Member
13 Points
173 Posts
Re: Culture vs UICulture, motivation?
Feb 24, 2006 09:26 AM|Joannes Vermorel|LINK
Thanks for the post indication, it's by far the most senseful thing that I have read about the CultureInfo. You should consider adding this to the documentation of the CultureInfo class.
Joannes
Member
127 Points
458 Posts
MVP
Re: Culture vs UICulture, motivation?
Feb 24, 2006 10:09 AM|Pluginbaby|LINK
Wow, great post !
You should copy the question/answer in the FAQ - Frequently Asked Questions
Laurent Duveau
MVP / MCT / RD
http://weblogs.asp.net/lduveau/
Member
22 Points
700 Posts
Re: Culture vs UICulture, motivation?
Feb 24, 2006 12:02 PM|rmprimo|LINK
I have no association with MSDN documentation. I took the time because I myself struggled with it and I couldn't bare how many people continue going around in circles. I have been too busy to start and maintain a blog.
There are a bunch more issues but I cannot edit that post any longer. For example people keep trying to globalize the culture setting code in the Master page. Also page lifecycles issues with the new InitializeCulture handler, which in the base class is just an empty stub.
I just posted some in the Q&A. http://forums.asp.net/1208918/ShowPost.aspx
If you want to help others, rate it and it will attract attention.
Rob