Roose

Programmatically finding the current language/culture of ArcMap

Discussion created by Roose on Nov 18, 2011
Latest reply on Nov 18, 2011 by Roose
In ArcGIS 10, users can select in which language they want the ArcMap interface to be displayed: English, French, Spanish, Chinese, etc.

As an ArcObjects developer, how do I programmatically determine what is the language and culture (date, number formats, abbreviations for cardinal directions, etc.) currently in use by ArcMap? What's the interface to use? It should be easy but... I can't find it. I would have expected to find it as a member of ESRI.ArcGIS.RuntimeManager.ActiveRuntime, but apparently it's not there. It doesn't seem to be in the ArcMapUI namespace either.

I am looking for the equivalent to .NET's System.Globalization.CultureInfo.CurrentCulture.EnglishName (& other such cultural properties). The PC culture can be different from that of ArcMap.

Thanks,
Dennis

Outcomes