Lines Matching refs:lang
391 var lang = getLangPref();
393 var langDescr = $(this).attr(lang + "-description");
644 var lang = getLangPref();
645 var captionsOn = lang == 'en' ? 0 : 1;
651 playerVars: {start: startTime, hl: lang, cc_load_policy: captionsOn},
1352 var lang = getLangPref();
1353 if (lang) {
1354 var q = 'hl=' + lang;
1364 function changeNavLang(lang) { argument
1365 …var $links = $("#devdoc-nav,#header,#nav-x,.training-nav-top,.content-footer").find("a["+lang+"-la…
1368 …if (lang != "en") { // No need to worry about English, because a language change invokes new reque…
1370 $link.text($link.attr(lang+"-lang"))
1375 function changeLangPref(lang, submit) { argument
1376 writeCookie("pref_lang", lang, null);
1394 var lang = readCookie("pref_lang");
1395 if (lang != 0) {
1396 $("#language").find("option[value='"+lang+"']").attr("selected",true);
1401 var lang = $("#language").find(":selected").attr("value");
1402 if (!lang) {
1403 lang = readCookie("pref_lang");
1405 return (lang != 0) ? lang : 'en';
2165 if ((s.lang == currentLang) &&
2198 if (s.lang == currentLang) {
2230 if (s.lang == currentLang) {
2262 if (s.lang == currentLang) {
2294 if (s.lang == currentLang) {
2326 if (s.lang == currentLang) {
2358 if (s.lang == currentLang) {
2389 if (s.lang == currentLang) {