function generateLocaleOptionsList(settings) {
  const frag = document.createDocumentFragment();

  LOCALES.forEach(locale => {
    const optionEl = document.createElement('option');
    optionEl.textContent = getLocalizedLanguageRegion(locale, navigator.language);
    optionEl.value = locale;
    if (settings.locale === locale) {
      optionEl.selected = true;
    }
    frag.append(optionEl);
  });

  const optionsLocalesList = dom.find('.options__locales');
  optionsLocalesList.append(frag);
}
Generates a document fragment containing a list of locale options.
@param {SettingsController.Settings} settings