How to tell if windows is non-U.S. version?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

OUr .NET app is written specifically to run on the English version of
Windows server. Some customers are running Windows Frenchm other versions.
I'm not talking about regional settings, but actually French Windows itself.

How can one tell if Windows itself is English, versus French version with
English (U.S) regional settings?

thanks
Robb
 
Hi Robb,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to get the language verison of
the windows system. If there is any misunderstanding, please feel free to
let me know.

To get the language version in .NET, we can use
System.Globalization.CultureInfo.InstalledUICulture. This property doesn't
depend on the regional setting. For more information, please visit the
following link:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemglobalizationcultureinfoclassinstalleduiculturetopic.asp

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Thanks Kevin, that is what I was looking for.

But to test this, how do I check the installed OS language? Right-click on
my computer, look under properties? Or what?

thanks
Robb
 
Hi Robb,

As far as I know, we just check the language of the os from the appearance
of the menus and start up menus.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Kevin,

In this case that isn't possible, because the customer in question is in
Australia. We have asked them to set their regional settings to English(US),
but that has not solved the problem. Via email, we are trying to have them
verify what lang is installed?

thanks
Robb
 
Hi Robb,

I'm not quite sure what question your customer is having, because your
original question is how to get the language version of the OS. If they are
using the French version, the InstalledUICulture property should return the
CultureInfo for French. You can try to ask them what version of Windows
they are using. I think they know the answer themselves. :-)

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Back
Top