What's the difference between Culture and UICulture of the Globali

mcad

    Sponsored Links

    Next

  • 1. Re.Passed 72-316 today
    Hi, Could you please let me know how much is the cost of Microsoft Training Kit Book. Can I ask you to make the xerox of it and send to me, I will pay the amount. Pls. respond. Thanks in advance. Regards Satyanarayana >-----Original Message----- >I scored 860 -- I'm a little week on .NET security architecture I think. I >used the Microsoft training kit book, 2nd ed, and MeasureUp practice test >(in addition to the 100 Q's that came with the book). I also try to make >myself read articles every day on MSDN and Codeproject, and I try to think >up and write coding ideas. I'm an old Java hack, so the language itself was >no stretch for me. I took my time (2 hours), but I feel like I was pretty >well prepared. The testing software crashed at the end of the exam, so I >didn't get to do the feedback portion (if they still do that), but one of my >questions had answer choices all coded in VB. Lucky for me I know some VB, >and it wasn't hard to decipher anyway, but they need to work on the QC. > >Two more and I'm MCAD (Yay). > >Brad > > >. >
  • 2. 70-320 / 70-310 COM+ content
    Would anyone who has taken the 70-320 or 70-310 be able to tell me how much the exam focuses on COM+? What types of questions regarding COM+ and what percentage/# of questions? Thanks
  • 3. Moving from Cold Fusion Development
    I am at a bit of a cross roads right now. I have been involved in Cold Fusion development for almost five years, but I want to gain some expertise in something else. I am considering whether I should follow the .NET or J2EE paths. I have some experience (primarily in an academic setting) with Java programming, and a little bit of JSP and Servlet experience. I just recently took a class in C# and really enjoyed it, and I have a 1-2 years of professional ASP 2.0 experience. It seems that there are more jobs out there for Java developers, but the requirements are a lot more difficult (e.g. you need to know very specific server platforms, and maybe a software package or two to qualify for jobs). It seems that C# and .NET is growing, but my concern is if Longhorn doesn't take off as expected will I have spent time energy, and money learning something that may not be around a couple of years from now. On the other hand, the skill set needed for Java would take so long to get, I'm not sure if it would be relevent by the time I got a few of the skills a lot Java jobs require. Any ideas anyone? Thanks, JW

RE: What's the difference between Culture and UICulture of the Globali

Postby RGlhbmE » Sat, 03 Jul 2004 14:56:01 GMT

I was asking this question myself just a few weeks ago.  I think that I figured it out (but please correct me if I am wrong):

CurrentCulture can be changed (to something like "en-US", etc.) and then you use that setting to make sure formats are correct for currency, day, whatever else formatting

CurrentUICulture is changed to tell the program which resource files to select when loading the form/page.  So you would create the resource files in advance for different culture displays (translated text, right-to-left, etc.) and then within the code have it pick which one to use.

It seems like CurrentUICulture is something you would set before you load the whole program, but CurrentCulture you will reference during the program each time you format a date or something like that.  Does that make sense?






RE: What's the difference between Culture and UICulture of the Globali

Postby anonymous » Thu, 08 Jul 2004 19:57:20 GMT

By specifying a culture it is possible to use a set of 
common preferences for information like strings and date 
and number formats that correspond to users' cultural 
conventions. A Web Forms page has two culture values, 
Culture and UICulture. The Culture value determines or 
influences results of culture-dependent functions, such 
as displaying the date. The UICulture value determines 
how the resources are loaded for the form and is used for 
culture-specific lookup of resource data. The only 
purpose of the UICulture value is to indicate the 
language the resources should load, that is, determine 
which language the UI strings should use. The Culture 
value determines everything else - date formatting, 
number formatting, and so on.

I think that I figured it out (but please correct me if I 
am wrong):
US", etc.) and then you use that setting to make sure 
formats are correct for currency, day, whatever else 
formatting
resource files to select when loading the form/page.  So 
you would create the resource files in advance for 
different culture displays (translated text, right-to-
left, etc.) and then within the code have it pick which 
one to use.
set before you load the whole program, but CurrentCulture 
you will reference during the program each time you 
format a date or something like that.  Does that make 
sense?

the Globalization?


Return to mcad

 

Who is online

Users browsing this forum: No registered users and 50 guest