system language
-
hi, i have to get system language or code page in a string.like if it is set english(united states) it should return english in string.hw can i get that?
-
hi, i have to get system language or code page in a string.like if it is set english(united states) it should return english in string.hw can i get that?
System.Threading.Thread.CurrentThread.CurrentCulture.DisplayName
or similar. -
hi, i have to get system language or code page in a string.like if it is set english(united states) it should return english in string.hw can i get that?
try this one... string strLangName; strLangName = Thread.CurrentThread.CurrentCulture.Name;
-
try this one... string strLangName; strLangName = Thread.CurrentThread.CurrentCulture.Name;
i have changed language in control panel/regional and language/advanced to japanese but this is still returning me english.
-
hi, i have to get system language or code page in a string.like if it is set english(united states) it should return english in string.hw can i get that?
There is no 'real' system language anymore. Stuff like code pages is only used for applications which do not support UNICODE, and since windows is complete UNICODE, this means only legacy applications (and console applications). the following table[^] summarizes the various options quite nicely, and tells you which API to use to get at them.
-
i have changed language in control panel/regional and language/advanced to japanese but this is still returning me english.