uiCulture and Culture

Discussion in 'MCAD' started by ascaflowne, Sep 12, 2006.

  1. ascaflowne

    ascaflowne Guest

    hello all, wats the difference between uiCulture and Culture? Suppose
    we want to ensure correct display of data for Japanese users, which
    attribute do we set - uiCulture or Culture or both? thank u =)
     
    ascaflowne, Sep 12, 2006
    #1
    1. Advertisements

  2. Sept. 12, 2006

    UICulture:
    http://msdn.microsoft.com/library/d...ThreadingThreadClassCurrentUICultureTopic.asp

    CultureInfo:
    http://msdn.microsoft.com/library/d...fSystemGlobalizationCultureInfoClassTopic.asp

    The CultureInfo class allows you to specify a geographical region based code
    which allows the app to format things like currency using the correct
    symbols (and time).

    The UICulture is for the ResourceManager to look up stored strings (UI text
    stored in different languages - you must do the translation and storage) for
    the language you specify. So if you have "test" translated into Japanese and
    Mexican languages and stored as resources, then you can use the UICulture to
    look up the correct "test" translation after you specify which language to
    get.

    Hope this helps!
    --

    Joseph Bittman
    Microsoft Certified Solution Developer
    Microsoft Most Valuable Professional -- DPM

    Blog/Web Site: http://CactiDevelopers.ResDev.Net/
     
    Joseph Bittman MVP MCSD, Sep 12, 2006
    #2
    1. Advertisements

  3. ascaflowne

    asca Guest

    Very clear explanations. Thank you very much!

     
    asca, Sep 12, 2006
    #3
  4. Sept. 12, 2006

    No problem :)!

    --

    Joseph Bittman
    Microsoft Certified Solution Developer
    Microsoft Most Valuable Professional -- DPM

    Blog/Web Site: http://CactiDevelopers.ResDev.Net/
     
    Joseph Bittman MVP MCSD, Sep 13, 2006
    #4
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.