Win32/.net: How do I determine the currently used language/localization/culture of a process?-Collection of common programming errors
My first attempt was using the System.Diagnostics.Process.ProcessName to find the executable and System.Diagnostics.FileVersionInfo.Language to determine the language.
This does not work for e.g. Microsoft “Excel.exe” 2007. If you have a look at the file properties in explorer you will see the language is set to “Language Neutral” even if the UI is actually showing german.
How can I find out the shown language, preferably at runtime by inspecting the process/exe?