Teucer's Quiver
Me && .net

Office 11, Registry, Localization .....

Saturday, April 10, 2004 5:58 AM

I have been working / preparing a proposal for the localization aspects of the addin we are developing for outlook. There are quite a few interesting things which made me think about what all ways office knows about what locale it needs to be running on, about how it picks up the language in which the UI has to be displayed and so on ....

Interestingly this is some of the titbits of information I could gather.

The language and locale-related information about the user's computer are present in the SkuLanguage, LanguagePack, InterfaceLanguage, and Location elements.

A developer can use this information to decide which relevant localized satellite assemblies or what ever localized components to be installed on the user's computer. For example, Microsoft Office 2003 uses these elements in the following way:

  • SkuLanguage and LanguagePack determine which services are installed. For example, if the SkuLanguage is English, Office installs dictionaries for US English, UK English, Australian English, and so forth.
  • Location determines the services that are activated. For example, if the Location is the United States, only the US English dictionary is activated for searching.
  • InterfaceLanguage determines the language used for registration registry entries and messages.

The information is present in the following registry keys

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\Common\LanguageResources
  • HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\LanguageResources
  • HKEY_CURRENT_USER\Software\Microsoft\Shared

 

 


Feedback

# re: Office 11, Registry, Localization .....

This is really good peice of information. I am sure this is undocumented and must have taken good amount of time to find out.

Thanks much.

However what addin are you working at. As far as i know ms offcie 2000 supports localization . Is not ms office 2003 globalized??

Thanks
Rahmatullah 4/12/2004 9:48 AM | Rahmatullah

# re: Office 11, Registry, Localization .....

Ofcourse it does and it also has improved and done a lot more things which lead to a state of confusicus :p

Office 10 / XP introduced the concept of MUL (Multiple Language Packs) which allowed for multiple language support for certain office applications. In the sense one could write a word document which has half the document in Arabic and half in english and grammer, and other profiling tools could run together and the UI and the relevant context items would have the localization context of that specific language.

My thoughts are I got 2 options depending on business requirements I have to go about doing that. 1. Do I support static / dynamic localization of Outlook forms (native outlook forms) or 2. Go for dotnet localization of dotnet forms which will run locally inside Outlook using the Com Addins concept :)

More I cant describe here probably you can write to me and I shall be more than willing to discuss with you.

btw thanks for your eyes on my blog. How is UK ??

Keep up the good work Rahmat, Miss you a lot in dev activities !

4/12/2004 10:10 AM | Teucer

# re: Office 11, Registry, Localization .....

Hmm, sounds interesting, maybe i will get more info from you on this offline.

To find your blog was simple, just did a search on google with "Tameem Ansari" and got your blog !!!

Here at UK things are going smooth. it is actuallay summer here but we still have to wear our winter gear!
I too miss you around when it comes to dev work, looking forward to working together ..

all the best.

Rahmatullah 4/15/2004 4:20 AM | Rahmatullah

# re: Office 11, Registry, Localization .....

Hi, we are developing an add-in for Outlook and we need to get Outlook language. But we must consider that Outlook can have a different language than Word for example, I mean, we can't use the office common language.
Have u any ideas ?
Thanks!!!!
Maxi
4/14/2005 8:41 AM | Maxi

# re: Office 11, Registry, Localization .....

Hi, we're developing a com add-in and tried to use the proposed DBCS solution for localization in VB6 but so far it hasn't worked with MSForms. Any ideas of the path we should follow to provide localization in our add-in?

Thanks!
Gerardo 6/24/2005 5:11 PM | Gerardo Delgado

# re: Office 11, Registry, Localization .....

Er ... don't understand it so well what do ya mean with .."some of the titbits of information"
See ya ... bye 12/30/2007 11:18 AM | Piccoli Prestiti

Post a comment