code: function _getVersionInfoUrl(localeParam) {
  
          var locale = localeParam || brackets.getLocale();
  
          if (locale.length > 2) {
              locale = locale.substring(0, 2);
          }
  
          return brackets.config.notification_info_url.replace("<locale>", locale);
      }
docs: Constructs notification info URL for XHR
  
  @param {string=} localeParam - optional locale, defaults to 'brackets.getLocale()' when omitted.
  @returns {string} the new notification info url