I recently supplied an answer to a question I stumbled across on stackoverflow.com. Because the information may be useful to someone, I’ve decided to share my response here as well.
The question the user had is how he could detect the locale Outlook was running in.
The answer I provided can be found below.
There are a number of ways you can go about doing this. Although the exact process depends on the Exchange server version, a MAPI client (Outlook in this case) will set the PR_LOCALE_ID property in the user’s information store to the ID of the locale (LCID) in which the MAPI client (Outlook) is running during logon. That may or may not work for you.
I do not know exactly how the value used for the LCID is determined by Outlook, so this may not be useful in environments that have a complicated Office language configuration.
Also, the way in how the PR_LOCALE_ID property is set varies greatly depending on your Exchange version. I believe that in Exchange 2007+ it will only set the LCID during profile creation and initial logon, and won’t touch it again, even if the user’s locale changes. Creating a new profile is the only way for it to update.
I have not written anything that provides the functionality described above, so your mileage may vary with that technique.
You do have another option available to you if you have access to the registry, however. If you have Outlook 2007 installed, you should have a registry key named “InstalledUI” located at (assuming 32-bit machine):
HKLM\SOFTWARE\Microsoft\Office\12.0\Common\LanguageResources\InstalledUI If you look in that key, you should see values that have an LCID for the name. You can conclude that any LCID appearing here is supported by the system. The values for each LCID (REG_SZ) indicate the status of the language. So, for example, I’ll have a value named “1033″ set to “On” if English is active for me.
Hopefully, one of these techniques will prove useful for you.will prove useful for you.
My response does leave some questions open however. Any comments or thoughts on this subject would be appreciated.
Quality Backlinks Blackhatlinks.com…
nczchfvdm xkmns etikxpo qyqi cnkuqetdptyyyhu…
… [Trackback]…
[...] Read More Info here on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Read More Info here to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More here on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Info to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Read More here to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Here you will find 90068 more Information on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Info to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Read More here on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Read More Information here on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Here you can find 62562 more Information on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More on on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Read More Info here on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More Information here to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Info on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] There you can find 2303 more Info on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Read More to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Read More here to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Information on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More here to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Information to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Read More here on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More Info here to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More on to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Read More Info here on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Info to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Information to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More on on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More on on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Read More to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More Info here on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Read More on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Read More Info here to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Read More on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More on on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Information to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Info to that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Information on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Find More on on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…
… [Trackback]…
[...] Information on that Topic: badecho.com/2011/07/how-to-detect-the-language-used-by-outlook/ [...]…