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:
parent
c5f0920b96
commit
3a1ed7a1c1
@ -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",
|
||||
|
@ -51,5 +51,9 @@ export const supportLanguage = [
|
||||
{
|
||||
label: "Norsk",
|
||||
value: "no"
|
||||
},
|
||||
{
|
||||
value: "sv",
|
||||
label: "Svenska"
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user