RE: Is it possible to install multiple locales of the .NET Framewo

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Greg (Greg_at_discussions.microsoft.com)
Date: 12/29/04


Date: Wed, 29 Dec 2004 12:51:05 -0800

I already do set the UICulture for the thread, and that does change the UI
components that I designed. However there are a few other items that appear
to be related to the Framework.

1) According to the documentation, UICulture defaults to whatever language
version of the Framework was installed, and NOT to whatever is in the
regional settings. We have tried uninstalling the English .NET and
installing the French one, and this does not appear to make any difference.

2) Message Boxes, for example, appear to be based on the language of the
.NET installation. Regardless of regional settings, I get "Yes" and "No" for
buttons.

3) I imagine there are other things that come from the Framework, such as
exception messages, that need to be localized.

These are the reasons why I was hoping there was some way to include both
languages with the install.

Thanks!

"Cowboy (Gregory A. Beamer) - MVP" wrote:

> Framework? I do not believe so. UI, however, is not dependent on the
> Framework language. You can change UI bits by changing the culture of the
> thread that outputs the UI (if you are not multi-threading, this is the
> CurrentThread). Change culture and you can quickly change the language of the
> UI bits.
>
> Take a look at globalization and localization topics on the MSDN web site
> (http://msdn.microsoft.com) and you will see a rather expansive list of
> articles and help files on this topic. There is even a localization toolkit,
> although it is a bit dated.
>
> The basic process, for UI, is to set up specific culture resource files and
> the UI can pull the culture specific strings for any element that requires a
> different language.
>
> ---
>
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> ***************************
> Think Outside the Box!
> ***************************
>
> "Greg" wrote:
>
> > I have a C# Windows Forms application that must be capable of switching the
> > UI between English-Canadian and French-Canadian at runtime. I am told that
> > when installing the Framework on a client computer, only one language may be
> > selected. Is there a way to install support for more than one language when
> > installing the .NET framework? It can be done with .NET apps, so it seems
> > odd this is not possible with the Framework itself.



Relevant Pages

  • RE: Is it possible to install multiple locales of the .NET Framework?
    ... Framework language. ... Change culture and you can quickly change the language of the ... > installing the .NET framework? ...
    (microsoft.public.dotnet.framework)
  • RE: displaying country name in current UI culture?
    ... | because this displays it in the localised version of the .NET framework ... CultureInfo.NativeName is in the language of that culture. ...
    (microsoft.public.dotnet.framework)
  • Is it possible to install multiple locales of the .NET Framework?
    ... when installing the Framework on a client computer, only one language may be ... installing the .NET framework? ...
    (microsoft.public.dotnet.framework)
  • Re: [Lit.] Buffer overruns
    ... this is a long rant about the links between language ... Both to some extent but definitely worse within the C community than in, ... >> culture (I am contrasting Ada and C only because I have a lot of first ... culture of low level design that it has unwittingly fostered. ...
    (sci.crypt)
  • Re: What does it mean
    ... maintainance nightmare IMHO is language, culture and religion. ... can still be more expensive to get more workers at regular pay... ... However, those aren't the only ghettos that exist, ...
    (rec.games.computer.ultima.dragons)