import i18next from 'i18next';

import 'src/config/i18n';

export const BASE_LANGUAGES = {
  SPANISH: 'es',
  ENGLISH: 'en',
  PORTUGUESE: 'pt',
  PORTUGUESE_BR: 'pt-br',
  ITALIAN: 'it',
  FRENCH: 'fr',
  NORWEGIAN: 'no',
  BULGARIAN: 'bg',
  ICELANDIC: 'is',
  POLISH: 'pl',
  SWEDISH: 'sv',
  THAI: 'th',
  UKRAINIAN: 'uk',
  RUSSIAN: 'ru',
  ROMANIAN: 'ro',
  DANISH: 'da',
  FINNISH: 'fi',
  GERMAN: 'de',
  DUTCH: 'nl',
  INDONESIAN: 'id',
} as const;

export const Languages = {
  ...BASE_LANGUAGES,
  ENGLISH_GB: 'en-gb',
} as const;

const NAMESPACE = 'LANGUAGES';

i18next.addResources('es', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Español',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Inglés',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Inglés (GB)',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Portugués',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Portugués (Brasil)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Italiano',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Francés',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Noruego',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Búlgaro',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Islandés',
  [`LANGUAGE_${Languages.POLISH}`]: 'Polaco',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Sueco',
  [`LANGUAGE_${Languages.THAI}`]: 'Tailandés',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Ucraniano',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Ruso',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Rumano',
  [`LANGUAGE_${Languages.DANISH}`]: 'Danés',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Finlandés',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Alemán',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Holandés',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indonesio',
});

i18next.addResources('en', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Spanish',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'English',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'English (GB)',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Portuguese',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Portuguese (Brazil)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Italian',
  [`LANGUAGE_${Languages.FRENCH}`]: 'French',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Norwegian',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Bulgarian',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Icelandic',
  [`LANGUAGE_${Languages.POLISH}`]: 'Polish',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Swedish',
  [`LANGUAGE_${Languages.THAI}`]: 'Thai',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Ukrainian',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Russian',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Romanian',
  [`LANGUAGE_${Languages.DANISH}`]: 'Danish',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Finnish',
  [`LANGUAGE_${Languages.GERMAN}`]: 'German',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Dutch',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indonesian',
});

i18next.addResources('pt', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Espanhol',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Inglês',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Inglês (GB)',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Português',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Português (Brasil)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Italiano',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Francês',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Norueguês',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Búlgaro',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Islandês',
  [`LANGUAGE_${Languages.POLISH}`]: 'Polaco',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Sueco',
  [`LANGUAGE_${Languages.THAI}`]: 'Tailandês',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Ucraniano',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Russo',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Romeno',
  [`LANGUAGE_${Languages.DANISH}`]: 'Dinamarquês',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Finlandês',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Alemão',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Holandês',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indonésio',
});

i18next.addResources('pt-br', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Espanhol',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Inglês',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Inglês (GB)',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Português',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Português (Brasil)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Italiano',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Francês',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Noruego',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Búlgaro',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Islandês',
  [`LANGUAGE_${Languages.POLISH}`]: 'Polonês',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Sueco',
  [`LANGUAGE_${Languages.THAI}`]: 'Tailandês',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Ucraniano',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Russo',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Romeno',
  [`LANGUAGE_${Languages.DANISH}`]: 'Dinamarquês',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Finlandês',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Alemão',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Holandês',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indonésio',
});

i18next.addResources('de', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Spanisch',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Englisch',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Englisch (GB)',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Portugiesisch',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Portugiesisch (Brasilien)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Italienisch',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Französisch',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Norwegisch',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Bulgarisch',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Isländisch',
  [`LANGUAGE_${Languages.POLISH}`]: 'Polnisch',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Schwedisch',
  [`LANGUAGE_${Languages.THAI}`]: 'Thailändisch',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Ukrainisch',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Russisch',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Rumänisch',
  [`LANGUAGE_${Languages.DANISH}`]: 'Dänisch',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Finnisch',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Deutsch',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Niederländisch',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indonesisch',
});

i18next.addResources('it', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Spagnolo',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Inglese',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Inglese (GB)',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Portoghese',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Portoghese (Brasile)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Italiano',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Francese',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Norvegese',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Bulgaro',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Islandese',
  [`LANGUAGE_${Languages.POLISH}`]: 'Polacco',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Svedese',
  [`LANGUAGE_${Languages.THAI}`]: 'Tailandese',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Ucraino',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Russo',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Rumeno',
  [`LANGUAGE_${Languages.DANISH}`]: 'Danese',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Finlandese',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Tedesco',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Olandese',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indonesiano',
});

i18next.addResources('fr', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Espagnol',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Anglais',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Anglais (GB)',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Portugais',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Portugais (Brésil)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Italien',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Français',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Norvégien',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Bulgare',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Islandais',
  [`LANGUAGE_${Languages.POLISH}`]: 'Polonais',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Suédois',
  [`LANGUAGE_${Languages.THAI}`]: 'Thaï',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Ukrainien',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Russe',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Roumain',
  [`LANGUAGE_${Languages.DANISH}`]: 'Danois',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Finnois',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Allemand',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Néerlandais',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indonésien',
});

i18next.addResources('no', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Spansk',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Engelsk',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Portugisisk',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Portugisisk (Brasil)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Italiensk',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Engelsk (GB)',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Fransk',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Norsk (Bokmål)',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Bulgarsk',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Islandsk',
  [`LANGUAGE_${Languages.POLISH}`]: 'Polsk',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Svensk',
  [`LANGUAGE_${Languages.THAI}`]: 'Thai',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Ukrainsk',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Russisk',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Rumensk',
  [`LANGUAGE_${Languages.DANISH}`]: 'Dansk',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Finsk',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Tysk',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Nederlandsk',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indonesisk',
});

i18next.addResources('bg', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Испански',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Английски',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Португалски',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Португалски (Бразилия)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Италиански',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Английски (ВБ)',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Френски',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Норвежки',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Български',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Исландски',
  [`LANGUAGE_${Languages.POLISH}`]: 'Полски',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Шведски',
  [`LANGUAGE_${Languages.THAI}`]: 'Тайски',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Украински',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Руски',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Румънски',
  [`LANGUAGE_${Languages.DANISH}`]: 'Датски',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Фински',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Немски',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Нидерландски',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Индонезийски',
});

i18next.addResources('is', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Spænska',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Enska',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Portúgalska',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Portúgalska (Brasilía)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Ítalska',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Enska (GB)',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Franska',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Norska',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Búlgarska',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Íslenska',
  [`LANGUAGE_${Languages.POLISH}`]: 'Pólska',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Sænska',
  [`LANGUAGE_${Languages.THAI}`]: 'Taílenska',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Úkraínska',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Rússneska',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Rúmenska',
  [`LANGUAGE_${Languages.DANISH}`]: 'Danska',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Finnska',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Þýska',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Hollenska',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indónesíska',
});

i18next.addResources('pl', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Hiszpański',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Angielski',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Portugalski',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Portugalski (Brazylia)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Włoski',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Angielski (GB)',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Francuski',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Norweski',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Bułgarski',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Islandzki',
  [`LANGUAGE_${Languages.POLISH}`]: 'Polski',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Szwedzki',
  [`LANGUAGE_${Languages.THAI}`]: 'Tajski',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Ukraiński',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Rosyjski',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Rumuński',
  [`LANGUAGE_${Languages.DANISH}`]: 'Duński',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Fiński',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Niemiecki',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Holenderski',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indonezyjski',
});

i18next.addResources('sv', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Spanska',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Engelska',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Portugisiska',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Portugisiska (Brasilien)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Italienska',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Engelska (GB)',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Franska',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Norska',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Bulgariska',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Isländska',
  [`LANGUAGE_${Languages.POLISH}`]: 'Polska',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Svenska',
  [`LANGUAGE_${Languages.THAI}`]: 'Thailändska',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Ukrainska',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Ryska',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Rumänska',
  [`LANGUAGE_${Languages.DANISH}`]: 'Danska',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Finska',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Tyska',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Nederlandska',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indonesiska',
});

i18next.addResources('th', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'สเปน',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'อังกฤษ',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'โปรตุเกส',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'โปรตุเกส (บราซิล)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'อิตาลี',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'อังกฤษ (GB)',
  [`LANGUAGE_${Languages.FRENCH}`]: 'ฝรั่งเศส',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'นอร์เวย์',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'บัลแกเรีย',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'ไอซ์แลนด์',
  [`LANGUAGE_${Languages.POLISH}`]: 'โปแลนด์',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'สวีเดน',
  [`LANGUAGE_${Languages.THAI}`]: 'ไทย',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'ยูเครน',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'รัสเซีย',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'โรมาเนีย',
  [`LANGUAGE_${Languages.DANISH}`]: 'เดนมาร์ก',
  [`LANGUAGE_${Languages.FINNISH}`]: 'ฟินแลนด์',
  [`LANGUAGE_${Languages.GERMAN}`]: 'เยอรมัน',
  [`LANGUAGE_${Languages.DUTCH}`]: 'ดัตช์',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'อินโดนีเซีย',
});

i18next.addResources('uk', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Іспанський',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Англійський',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Португальський',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Португальський (Бразилія)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Італійський',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Англійський (GB)',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Французький',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Норвезький',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Болгарський',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Ісландський',
  [`LANGUAGE_${Languages.POLISH}`]: 'Польський',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Шведський',
  [`LANGUAGE_${Languages.THAI}`]: 'Тайський',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Український',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Російський',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Румунський',
  [`LANGUAGE_${Languages.DANISH}`]: 'Данський',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Фінський',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Німецький',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Нідерландський',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Індонезійський',
});

i18next.addResources('ru', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Испанский',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Английский',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Португальский',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Португальский (Бразилия)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Итальянский',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Английский (GB)',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Французский',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Норвежский',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Болгарский',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Исландский',
  [`LANGUAGE_${Languages.POLISH}`]: 'Польский',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Шведский',
  [`LANGUAGE_${Languages.THAI}`]: 'Тайский',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Украинский',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Русский',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Румынский',
  [`LANGUAGE_${Languages.DANISH}`]: 'Датский',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Финский',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Немецкий',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Нидерландский',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Индонезийский',
});

i18next.addResources('ro', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Spaniolă',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Engleză',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Portugheză',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Portugheză (Brazilia)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Italiană',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Engleză (GB)',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Franceză',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Norvegiană',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Bulgară',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Islandeză',
  [`LANGUAGE_${Languages.POLISH}`]: 'Poloneză',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Suedeză',
  [`LANGUAGE_${Languages.THAI}`]: 'Thailandeză',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Ucraineană',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Rusă',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Română',
  [`LANGUAGE_${Languages.DANISH}`]: 'Daneză',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Finlandeză',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Germană',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Olandeză',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indoneziană',
});

i18next.addResources('da', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Spansk',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Engelsk',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Engelsk (GB)',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Portugisisk',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Portugisisk (Brasilien)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Italiensk',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Fransk',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Norsk',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Bulgarsk',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Islandsk',
  [`LANGUAGE_${Languages.POLISH}`]: 'Polsk',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Svensk',
  [`LANGUAGE_${Languages.THAI}`]: 'Thailandsk',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Ukrainsk',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Russisk',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Rumænsk',
  [`LANGUAGE_${Languages.DANISH}`]: 'Dansk',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Finsk',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Tysk',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Hollandsk',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indonesisk',
});

i18next.addResources('fi', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Espanja',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Englanti',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Englanti (GB)',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Portugali',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Portugali (Brasilia)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Italia',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Ranska',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Norja',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Bulgaria',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Islanti',
  [`LANGUAGE_${Languages.POLISH}`]: 'Puola',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Ruotsi',
  [`LANGUAGE_${Languages.THAI}`]: 'Thai',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Ukraina',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Venäjä',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Romania',
  [`LANGUAGE_${Languages.DANISH}`]: 'Tanska',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Suomi',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Saksa',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Hollanti',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indonesia',
});

i18next.addResources('nl', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Spaans',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Engels',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Engels (GB)',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Portugees',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Portugees (Brazilië)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Italiaans',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Frans',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Noors',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Bulgaars',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'IJslands',
  [`LANGUAGE_${Languages.POLISH}`]: 'Pools',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Zweeds',
  [`LANGUAGE_${Languages.THAI}`]: 'Thais',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Oekraïens',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Russisch',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Roemeens',
  [`LANGUAGE_${Languages.DANISH}`]: 'Deens',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Fins',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Duits',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Nederlands',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indonesisch',
});

i18next.addResources('id', NAMESPACE, {
  [`LANGUAGE_${Languages.SPANISH}`]: 'Spanyol',
  [`LANGUAGE_${Languages.ENGLISH}`]: 'Inggris',
  [`LANGUAGE_${Languages.ENGLISH_GB}`]: 'Inggris (GB)',
  [`LANGUAGE_${Languages.PORTUGUESE}`]: 'Portugis',
  [`LANGUAGE_${Languages.PORTUGUESE_BR}`]: 'Portugis (Brasil)',
  [`LANGUAGE_${Languages.ITALIAN}`]: 'Italia',
  [`LANGUAGE_${Languages.FRENCH}`]: 'Prancis',
  [`LANGUAGE_${Languages.NORWEGIAN}`]: 'Norwegia',
  [`LANGUAGE_${Languages.BULGARIAN}`]: 'Bulgaria',
  [`LANGUAGE_${Languages.ICELANDIC}`]: 'Islandia',
  [`LANGUAGE_${Languages.POLISH}`]: 'Polandia',
  [`LANGUAGE_${Languages.SWEDISH}`]: 'Swedia',
  [`LANGUAGE_${Languages.THAI}`]: 'Thailand',
  [`LANGUAGE_${Languages.UKRAINIAN}`]: 'Ukraina',
  [`LANGUAGE_${Languages.RUSSIAN}`]: 'Rusia',
  [`LANGUAGE_${Languages.ROMANIAN}`]: 'Rumania',
  [`LANGUAGE_${Languages.DANISH}`]: 'Denmark',
  [`LANGUAGE_${Languages.FINNISH}`]: 'Finlandia',
  [`LANGUAGE_${Languages.GERMAN}`]: 'Jerman',
  [`LANGUAGE_${Languages.DUTCH}`]: 'Belanda',
  [`LANGUAGE_${Languages.INDONESIAN}`]: 'Indonesia',
});

export type BaseLanguageCode =
  (typeof BASE_LANGUAGES)[keyof typeof BASE_LANGUAGES];

export type Language = (typeof Languages)[keyof typeof Languages];
