rem: FCKLanguageManager.GetActiveLanguage = function() { if ( FCKConfig.AutoDetectLanguage ) 
add: GetActiveLanguage : function() 
context: FCKLanguageManager.GetActiveLanguage = function(){	if ( FCKConfig.AutoDetectLanguage )	{		var sUserLang ;				// IE accepts "navigator.userLanguage" while Gecko "navigator.language".		if ( navigator.userLanguage )			sUserLang = navigator.userLanguage.toLowerCase() ;		else if ( navigator.language )			sUserLang = navigator.language.toLowerCase() ;		else		{			// Firefox 1.0 PR has a bug: it doens't support the "language" property.			return FCKConfig.DefaultLanguage ;		}				// Some language codes are set in 5 characters, 		// like "pt-br" for Brasilian Portuguese.		if ( sUserLang.length >= 5 )		{			sUserLang = sUserLang.substr(0,5) ;			if ( this.AvailableLanguages[sUserLang] ) return sUserLang ;		}				// If the user's browser is set to, for example, "pt-br" but only the 		// "pt" language file is available then get that file.		if ( sUserLang.length >= 2 )		{			sUserLang = sUserLang.substr(0,2) ;			if ( this.AvailableLanguages[sUserLang] ) return sUserLang ;		}	}		return this.DefaultLanguage ;}
meta: 1235	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1235/e3f23043ed288727da2247e5542491d451663929/fcklanguagemanager.js/buggy/reference/library/src/webapp/editor/FCKeditor/editor/_source/internals/fcklanguagemanager.js