docs-sources/javascripts/app/_lang.js
function getLanguageFromQueryString() {
    if (location.search.length >= 1) {
      var language = parseURL(location.search).language
      if (language) {
        return language;
      } else if (jQuery.inArray(location.search.substr(1), languages) != -1) {
        return location.search.substr(1);
      }
    }

    return false;
  }
function getLanguageFromQueryString() {
    if (location.search.length >= 1) {
      var language = parseURL(location.search).language
      if (language) {
        return language;
      } else if (jQuery.inArray(location.search.substr(1), languages) != -1) {
        return location.search.substr(1);
      }
    }

    return false;
  }
function getLanguageFromQueryString ( ) { if ( location . search . length >= 1 ) { var language = parseURL ( location . search ) . language if ( language ) { return language ; } else if ( jQuery . inArray ( location . search . substr ( 1 ) , languages ) != - 1 ) { return location . search . substr ( 1 ) ; } } return false ; }
gets the language set in the query string
gets the language set in the query string