Skip to content

Commit

Permalink
feat: add localization to locales
Browse files Browse the repository at this point in the history
  • Loading branch information
BohdanK-W32 committed Nov 10, 2023
1 parent cdd0b7b commit 4f8eb96
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,19 @@ export enum Locales {
}

export const defaultLocale = Locales.ENGLISH;
export const locales = [Locales.ENGLISH, Locales.UKRAINIAN];
export const locales = [
{
label: {
en: 'English',
uk: 'Англійська',
},
code: Locales.ENGLISH,
},
{
label: {
en: 'Ukrainian',
uk: 'Українська',
},
code: Locales.UKRAINIAN,
},
];

0 comments on commit 4f8eb96

Please sign in to comment.