export const i18nLocalesCodes: [string, string] = ['uk', 'ru'] as const
export const i18nLocales = [
	{code: 'uk', name: 'Українська', nameUkr: 'Українська', icon: 'УКР'},
	{code: 'ru', name: 'русский', nameUkr: 'російська', icon: 'РУС'}
] as const
export const i18nDefaultLocale = 'uk'

export const i18n = {
	locales: i18nLocales,
	defaultLocale: i18nDefaultLocale
}

export type I18nConfig = typeof i18n
export type Locale = I18nConfig['locales'][number]
