What's the difference between Culture and UICulture of the Globalization?

Discussion in 'MCAD' started by Tong, Jun 29, 2004.

  1. Tong

    Tong Guest

    Can anybody clarify:
    What's the difference between Culture and UICulture of the Globalization?
    Give some examples?

    Thanks!
    Tong, Jun 29, 2004
    #1
    1. Advertising

  2. Tong

    Diana Guest

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

    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?


    "Tong" wrote:

    > Can anybody clarify:
    > What's the difference between Culture and UICulture of the Globalization?
    > Give some examples?
    >
    > Thanks!
    >
    Diana, Jul 2, 2004
    #2
    1. Advertising

  3. Tong

    anonymous Guest

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

    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.

    >-----Original Message-----
    >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?
    >
    >
    >"Tong" wrote:
    >
    >> Can anybody clarify:
    >> What's the difference between Culture and UICulture of

    the Globalization?
    >> Give some examples?
    >>
    >> Thanks!
    >>

    >.
    >
    anonymous, Jul 7, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Orville Wright

    Re: [SI] Bowser's "local culture" shot

    Orville Wright, Jun 21, 2004, in forum: Digital Photography
    Replies:
    3
    Views:
    320
    Charles Schuler
    Jun 22, 2004
  2. Lawrence D'Oliveiro

    Copyright and popular culture

    Lawrence D'Oliveiro, Oct 23, 2006, in forum: NZ Computing
    Replies:
    4
    Views:
    309
    Earl Grey
    Nov 4, 2006
  3. Lawrence D'Oliveiro

    Copyright and popular culture

    Lawrence D'Oliveiro, Nov 28, 2006, in forum: NZ Computing
    Replies:
    3
    Views:
    281
    steve
    Nov 30, 2006
  4. Replies:
    3
    Views:
    941
    Joseph Bittman MVP MCSD
    Sep 13, 2006
  5. asca

    uiCulture and Culture

    asca, Sep 12, 2006, in forum: MCAD
    Replies:
    1
    Views:
    330
    David
    Sep 22, 2006
Loading...

Share This Page