code: function negotiate (available, requested, defaultLocale) {
              if (available.indexOf(requested[0]) === -1 ||
            requested[0] === defaultLocale) {
                  return [defaultLocale];
              } else {
                  return [requested[0], defaultLocale];
              }
          }
docs: Getting ready