diff --git a/src/context/LanguageContext.tsx b/src/context/LanguageContext.tsx index e6164af7a5..4a73e43ddc 100644 --- a/src/context/LanguageContext.tsx +++ b/src/context/LanguageContext.tsx @@ -22,6 +22,7 @@ export type AvailableLocale = | 'pt-BR' | 'pt-PT' | 'ru' + | 'sl' | 'sq' | 'sr' | 'sv' @@ -98,6 +99,10 @@ export const availableLanguages: AvailableLanguageObject = { code: 'pt-PT', display: 'Português (Portugal)', }, + sl: { + code: 'sl', + display: 'Slovenščina', + }, sq: { code: 'sq', display: 'Shqip', diff --git a/src/i18n/locale/sl.json b/src/i18n/locale/sl.json new file mode 100644 index 0000000000..0f530c147c --- /dev/null +++ b/src/i18n/locale/sl.json @@ -0,0 +1,2 @@ +{ +} diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index ceb5734ecb..61ee4bd3d2 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -66,6 +66,8 @@ const loadLocaleData = (locale: AvailableLocale): Promise => { return import('../i18n/locale/pt_PT.json'); case 'ru': return import('../i18n/locale/ru.json'); + case 'sl': + return import('../i18n/locale/sl.json'); case 'sq': return import('../i18n/locale/sq.json'); case 'sr':