feat: add norwegian

This commit is contained in:
LukeGus
2025-12-29 02:50:44 -06:00
parent dcbc9454ab
commit ccadcb87eb
3 changed files with 22 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ import ukTranslation from "../locales/uk.json";
import csTranslation from "../locales/cs.json";
import roTranslation from "../locales/ro.json";
import elTranslation from "../locales/el.json";
import nbTranslation from "../locales/nb.json";
i18n
.use(LanguageDetector)
@@ -58,6 +59,7 @@ i18n
"cs",
"ro",
"el",
"nb",
],
fallbackLng: "en",
debug: false,
@@ -146,6 +148,9 @@ i18n
el: {
translation: elTranslation,
},
nb: {
translation: nbTranslation,
},
},
interpolation: {

View File

@@ -39,6 +39,7 @@ const languages = [
{ code: "tr", name: "Turkish", nativeName: "Türkçe" },
{ code: "uk", name: "Ukrainian", nativeName: "Українська" },
{ code: "vi", name: "Vietnamese", nativeName: "Tiếng Việt" },
{ code: "nb", name: "Norwegian", nativeName: "Norsk" },
];
export function LanguageSwitcher() {