/* eslint-disable @typescript-eslint/no-require-imports */
const datetimeFormats = {
  // CODE_GEN_ID: DATE_LOCALES
  "hu-HU": require("./lang/dateTimeFormats/hu-HU.json"),
  "no-NO": require("./lang/dateTimeFormats/no-NO.json"),
  "nl-NL": require("./lang/dateTimeFormats/nl-NL.json"),
  "pl-PL": require("./lang/dateTimeFormats/pl-PL.json"),
  "da-DK": require("./lang/dateTimeFormats/da-DK.json"),
  "fr-CA": require("./lang/dateTimeFormats/fr-CA.json"),
  "fr-BE": require("./lang/dateTimeFormats/fr-BE.json"),
  "it-IT": require("./lang/dateTimeFormats/it-IT.json"),
  "sl-SI": require("./lang/dateTimeFormats/sl-SI.json"),
  "sr-SP": require("./lang/dateTimeFormats/sr-SP.json"),
  "is-IS": require("./lang/dateTimeFormats/is-IS.json"),
  "ja-JP": require("./lang/dateTimeFormats/ja-JP.json"),
  "fr-FR": require("./lang/dateTimeFormats/fr-FR.json"),
  "ca-ES": require("./lang/dateTimeFormats/ca-ES.json"),
  "tr-TR": require("./lang/dateTimeFormats/tr-TR.json"),
  "fi-FI": require("./lang/dateTimeFormats/fi-FI.json"),
  "hr-HR": require("./lang/dateTimeFormats/hr-HR.json"),
  "pt-BR": require("./lang/dateTimeFormats/pt-BR.json"),
  "sk-SK": require("./lang/dateTimeFormats/sk-SK.json"),
  "zh-CN": require("./lang/dateTimeFormats/zh-CN.json"),
  "pt-PT": require("./lang/dateTimeFormats/pt-PT.json"),
  "en-GB": require("./lang/dateTimeFormats/en-GB.json"),
  "ro-RO": require("./lang/dateTimeFormats/ro-RO.json"),
  "cs-CZ": require("./lang/dateTimeFormats/cs-CZ.json"),
  "en-US": require("./lang/dateTimeFormats/en-US.json"),
  "lv-LV": require("./lang/dateTimeFormats/lv-LV.json"),
  "ko-KR": require("./lang/dateTimeFormats/ko-KR.json"),
  "bg-BG": require("./lang/dateTimeFormats/bg-BG.json"),
  "gl-ES": require("./lang/dateTimeFormats/gl-ES.json"),
  "de-DE": require("./lang/dateTimeFormats/de-DE.json"),
  "lt-LT": require("./lang/dateTimeFormats/lt-LT.json"),
  "ru-RU": require("./lang/dateTimeFormats/ru-RU.json"),
  "he-IL": require("./lang/dateTimeFormats/he-IL.json"),
  "el-GR": require("./lang/dateTimeFormats/el-GR.json"),
  "zh-TW": require("./lang/dateTimeFormats/zh-TW.json"),
  "af-ZA": require("./lang/dateTimeFormats/af-ZA.json"),
  "es-ES": require("./lang/dateTimeFormats/es-ES.json"),
  "sv-SE": require("./lang/dateTimeFormats/sv-SE.json"),
  "ar-SA": require("./lang/dateTimeFormats/ar-SA.json"),
  "vi-VN": require("./lang/dateTimeFormats/vi-VN.json"),
  "uk-UA": require("./lang/dateTimeFormats/uk-UA.json"),
  // END: DATE_LOCALES
};

export default defineI18nConfig(() => {
  return {
    legacy: false,
    locale: "en-US",
    availableLocales: Object.keys(datetimeFormats),
    datetimeFormats,
    fallbackLocale: "en-US",
    fallbackWarn: true,
  };
});
