import bgLocale from 'date-fns/locale/bg';
import daLocale from 'date-fns/locale/da';
import deLocale from 'date-fns/locale/de';
import enLocaleGB from 'date-fns/locale/en-GB';
import enLocale from 'date-fns/locale/en-US';
import esLocale from 'date-fns/locale/es';
import fiLocale from 'date-fns/locale/fi';
import frLocale from 'date-fns/locale/fr';
import idLocale from 'date-fns/locale/id';
import isLocale from 'date-fns/locale/is';
import itLocale from 'date-fns/locale/it';
import nbLocale from 'date-fns/locale/nb';
import nlLocale from 'date-fns/locale/nl';
import plLocale from 'date-fns/locale/pl';
import ptLocale from 'date-fns/locale/pt';
import ptBRLocale from 'date-fns/locale/pt-BR';
import roLocale from 'date-fns/locale/ro';
import ruLocale from 'date-fns/locale/ru';
import svLocale from 'date-fns/locale/sv';
import thLocale from 'date-fns/locale/th';
import ukLocale from 'date-fns/locale/uk';

import { Languages } from './languages';

export const LOCALE_MAP = {
  [Languages.SPANISH]: esLocale,
  [Languages.ENGLISH]: enLocale,
  [Languages.ENGLISH_GB]: enLocaleGB,
  [Languages.PORTUGUESE]: ptLocale,
  [Languages.PORTUGUESE_BR]: ptBRLocale,
  [Languages.ITALIAN]: itLocale,
  [Languages.FRENCH]: frLocale,
  [Languages.BULGARIAN]: bgLocale,
  [Languages.NORWEGIAN]: nbLocale,
  [Languages.ICELANDIC]: isLocale,
  [Languages.POLISH]: plLocale,
  [Languages.SWEDISH]: svLocale,
  [Languages.THAI]: thLocale,
  [Languages.UKRAINIAN]: ukLocale,
  [Languages.RUSSIAN]: ruLocale,
  [Languages.ROMANIAN]: roLocale,
  [Languages.DANISH]: daLocale,
  [Languages.FINNISH]: fiLocale,
  [Languages.GERMAN]: deLocale,
  [Languages.DUTCH]: nlLocale,
  [Languages.INDONESIAN]: idLocale,
};
