DevSite locale var update for hl url param.
Change-Id: I083009804d08246ffce4d4fe87fa9906ba5aaccc
This commit is contained in:
parent
1c2d8c41ba
commit
61522762f0
1 changed files with 1 additions and 1 deletions
|
@ -3370,7 +3370,7 @@ window.changeLangPref = changeLangPref;
|
|||
* Current locale.
|
||||
*/
|
||||
var locale = (function() {
|
||||
var lang = window.readCookie('pref_lang');
|
||||
var lang = window.devsite ? window.devsiteLang : window.readCookie('pref_lang');
|
||||
if (lang === 0 || LANGUAGES.indexOf(lang) === -1) {
|
||||
lang = 'en';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue