add: var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService); observerService.Notify(null, "locale-selected", null); 
context: function selectLocale(event){  try {    var node = event.target;    var langcode = node.getAttribute('value');    if (langcode)    {      var chromeRegistry = Components.classes["@mozilla.org/chrome/chrome-registry;1"].getService(Components.interfaces.nsIChromeRegistry);      chromeRegistry.selectLocale(langcode, true);      var prefUtilBundle = srGetStrBundle("chrome://communicator/locale/pref/prefutilities.properties");      var brandBundle = srGetStrBundle("chrome://global/locale/brand.properties");      var alertText = prefUtilBundle.GetStringFromName("languageAlert");      var titleText = prefUtilBundle.GetStringFromName("languageTitle");      alertText = alertText.replace(/%brand%/g, brandBundle.GetStringFromName("brandShortName"));      var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService();      promptService = promptService.QueryInterface(Components.interfaces.nsIPromptService)      promptService.alert(window, titleText, alertText);    }  }  catch(e) {    return false;  }  return true;	}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/197d7df8aee62a685bfea5090008747739904be4/strres.js/buggy/xpfe/global/resources/content/strres.js