feat: Add Swedish language support

Adds Swedish language support to the application, including translations and a new language option in the settings.
This commit is contained in:
n4ze3m 2024-11-02 16:05:50 +05:30
parent c5f0920b96
commit 3a1ed7a1c1
2 changed files with 7 additions and 1 deletions

View File

@ -13,6 +13,7 @@ import { fa } from "./lang/fa";
import { de } from "./lang/de";
import { da } from "./lang/da";
import { no } from "./lang/no";
import { sv } from "./lang/sv";
i18n
@ -35,7 +36,8 @@ i18n
"fa-IR": fa,
da: da,
no: no,
de: de
de: de,
sv: sv
},
fallbackLng: "en",
lng: localStorage.getItem("i18nextLng") || "en",

View File

@ -51,5 +51,9 @@ export const supportLanguage = [
{
label: "Norsk",
value: "no"
},
{
value: "sv",
label: "Svenska"
}
]