I am developing a window application and I need to know what language is the current language
any help please ...
i really need to now that
how to determine current writing language ?
Asked
Active
Viewed 100 times
-3

mahdi caidi
- 7
- 3
-
What exactly do you need to know? are you referring to [localization](http://stackoverflow.com/questions/1142802/how-to-use-localization-in-c-sharp)? – Shai May 17 '12 at 08:11
-
I dont know why your question got closed? I think you are looking for CultureInfo.CurrentUICulture (which refers to the current UI rather than the version installed) rather than CultureInfo.CurrentCulture – Jay Jun 07 '12 at 20:51
2 Answers
3
If i understand your question correctly you can use:
CultureInfo currCulture = CultureInfo.CurrentCulture;
To determine the language the machine is using.
Further reading: http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx

dtsg
- 4,408
- 4
- 30
- 40
1
I'm not sure I understood correctly, but if you're speaking about the Regional Settings / Culture, you can use this:
Thread.CurrentThread.CurrentCulture;

Blachshma
- 17,097
- 4
- 58
- 72
-
I need to know the current writing language but this is showing the culture that windows was installed – mahdi caidi May 17 '12 at 08:18
-