Skip to content

Commit 9162962

Browse files
gwr-defonsp
andauthored
🇩🇰 Add Danish language support (#3422)
Co-authored-by: Fons van der Plas <[email protected]>
1 parent 4682183 commit 9162962

File tree

3 files changed

+328
-1
lines changed

3 files changed

+328
-1
lines changed

‎frontend/common/lang.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import _ from "../imports/lodash.js"
66
import {
77
// in alphabetical order
88
chinese_simplified,
9+
dansk,
910
deutsch,
1011
ellinika,
1112
english,
@@ -30,6 +31,9 @@ i18next.use(LanguageDetector).init({
3031
"zh": {
3132
translation: without_empty_keys(chinese_simplified),
3233
},
34+
"da": {
35+
translation: without_empty_keys(dansk),
36+
},
3337
"de": {
3438
translation: without_empty_keys(deutsch),
3539
},

‎frontend/imports/lang_imports.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// in alphabetical order
77

88
export { default as chinese_simplified } from "../lang/chinese.json" with { type: "json" }
9+
export { default as dansk } from "../lang/dansk.json" with { type: "json" }
910
export { default as deutsch } from "../lang/deutsch.json" with { type: "json" }
1011
export { default as ellinika } from "../lang/ellinika.json" with { type: "json" }
1112
export { default as english } from "../lang/english.json" with { type: "json" }
@@ -16,4 +17,4 @@ export { default as norsk_bokmål } from "../lang/norsk_bokmål.json" with { typ
1617
export { default as polski } from "../lang/polski.json" with { type: "json" }
1718
export { default as portugues_pt } from "../lang/portugues_pt.json" with { type: "json" }
1819
export { default as suomi } from "../lang/suomi.json" with { type: "json" }
19-
export { default as corporate_english } from "../lang/corporate english.json" with { type: "json" }
20+
export { default as corporate_english } from "../lang/corporate english.json" with { type: "json" }

0 commit comments

Comments
 (0)