Danish language support is fully functioning
This commit is contained in:
parent
4363ac1b9c
commit
7b26e64dac
@ -10,6 +10,7 @@ import { ja } from "./lang/ja";
|
||||
import { it } from "./lang/it";
|
||||
import { es } from "./lang/es";
|
||||
import { fa } from "./lang/fa";
|
||||
import { da } from "./lang/da";
|
||||
import { de } from "./lang/de";
|
||||
import LanguageDetector from 'i18next-browser-languagedetector';
|
||||
|
||||
@ -32,7 +33,8 @@ i18n
|
||||
"ja-JP": ja,
|
||||
fa: fa,
|
||||
"fa-IR": fa,
|
||||
de: de
|
||||
de: de,
|
||||
da: da
|
||||
},
|
||||
fallbackLng: "en",
|
||||
lng: localStorage.getItem("i18nextLng") || "en",
|
||||
|
17
src/i18n/lang/da.ts
Normal file
17
src/i18n/lang/da.ts
Normal file
@ -0,0 +1,17 @@
|
||||
import option from "@/assets/locale/da/option.json";
|
||||
import playground from "@/assets/locale/da/playground.json";
|
||||
import common from "@/assets/locale/da/common.json";
|
||||
import sidepanel from "@/assets/locale/da/sidepanel.json";
|
||||
import settings from "@/assets/locale/da/settings.json";
|
||||
import knowledge from "@/assets/locale/da/knowledge.json";
|
||||
import chrome from "@/assets/locale/da/chrome.json";
|
||||
|
||||
export const da = {
|
||||
option,
|
||||
playground,
|
||||
common,
|
||||
sidepanel,
|
||||
settings,
|
||||
knowledge,
|
||||
chrome
|
||||
}
|
29
src/public/_locales/da/messages.json
Normal file
29
src/public/_locales/da/messages.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"extName": {
|
||||
"message": "Page Assist - En Web UI for at køre AI modeller lokalt"
|
||||
},
|
||||
"extDescription": {
|
||||
"message": "Brug dine lokalt kørende AI-modeller til at hjælpe dig med at surfe på nettet."
|
||||
},
|
||||
"openSidePanelToChat": {
|
||||
"message": "Åben Copilot for at Chatte"
|
||||
},
|
||||
"openOptionToChat": {
|
||||
"message": "Åben Web UI for at Chatte"
|
||||
},
|
||||
"contextSummarize": {
|
||||
"message": "Opsummer"
|
||||
},
|
||||
"contextExplain": {
|
||||
"message": "Forklar"
|
||||
},
|
||||
"contextRephrase": {
|
||||
"message": "Omskriv"
|
||||
},
|
||||
"contextTranslate" :{
|
||||
"message": "Oversæt"
|
||||
},
|
||||
"contextCustom": {
|
||||
"message": "Tilpasset"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user