Skip to content

Commit

Permalink
feat: enable de, ru, and sv as available languages
Browse files Browse the repository at this point in the history
  • Loading branch information
leinelissen committed Jul 16, 2023
1 parent f7e1932 commit 6de1f97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/localisation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { LocaleKeys } from './types';

// Lazy loaders for locale
const localeGetters: Record<string, () => object> = {
de: () => require('./lang/de/locale.json'),
en: () => require('./lang/en/locale.json'),
es: () => require('./lang/es/locale.json'),
fr: () => require('./lang/fr/locale.json'),
Expand All @@ -12,6 +13,8 @@ const localeGetters: Record<string, () => object> = {
nb_NO: () => require('./lang/nb_NO/locale.json'),
nl: () => require('./lang/nl/locale.json'),
pl: () => require('./lang/pl/locale.json'),
ru: () => require('./lang/ru/locale.json'),
sv: () => require('./lang/sv/locale.json'),
uk: () => require('./lang/uk/locale.json'),
zh: () => require('./lang/zh/locale.json'),
};
Expand Down

0 comments on commit 6de1f97

Please sign in to comment.