Searched refs:sUserLang (Results 1 – 1 of 1) sorted by relevance
89 var sUserLang ; variable93 sUserLang = navigator.userLanguage.toLowerCase() ;95 sUserLang = navigator.language.toLowerCase() ;104 if ( sUserLang.length >= 5 )106 sUserLang = sUserLang.substr(0,5) ;107 if ( this.AvailableLanguages[sUserLang] ) return sUserLang ;112 if ( sUserLang.length >= 2 )114 sUserLang = sUserLang.substr(0,2) ;115 if ( this.AvailableLanguages[sUserLang] ) return sUserLang ;