From 26f152e8097301ca3e51013413d535b0395a64b8 Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Tue, 23 May 2023 22:17:36 +0200 Subject: [PATCH] feat: add new language Swedish --- src/shared/internationalization/locales.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shared/internationalization/locales.ts b/src/shared/internationalization/locales.ts index 1e3bb6ba..a5225da3 100644 --- a/src/shared/internationalization/locales.ts +++ b/src/shared/internationalization/locales.ts @@ -3,6 +3,7 @@ const APP_LOCALES = { 'fr-FR': 'Français', 'ja-JP': '日本語', 'pl-PL': 'Polski', + 'sv-SE': 'Svenska', 'ro-RO': 'Română', 'ru-RU': 'Русский', 'zh-CN': '简体中文', @@ -17,6 +18,7 @@ const FALLBACK_LOCALES = [ { from: 'ru', to: 'ru-RU' }, { from: 'zh', to: 'zh-CN' }, { from: 'pl', to: 'pl-PL' }, + { from: 'sv', to: 'sv-SE' }, ]; export type Locale = keyof typeof APP_LOCALES;