Feat: add german language support (#9892)

**What**
Added German language json file. 

**Why**
To be able to choose german language.

**How**
The File is translated with Google Translate, some human checks and corrections. I'm sure it's not perfect, but it is a good starting point. First the en.json was duplicated (as de.json) to be able to see the changes made and if the structure is still the same.

**Testing**
As mentioned in How, i checked if the structure is still the same.

Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
This commit is contained in:
Karl Hofmann
2024-11-12 14:46:43 +01:00
committed by GitHub
parent 2344012d1c
commit ffa3a15ba1
3 changed files with 2768 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import { enUS, pl } from "date-fns/locale"
import { de, enUS, pl } from "date-fns/locale"
import { Language } from "./types"
export const languages: Language[] = [
@@ -8,9 +8,15 @@ export const languages: Language[] = [
ltr: true,
date_locale: enUS,
},
{
code: "de",
display_name: "Deutsch",
ltr: true,
date_locale: de,
},
{
code: "pl",
display_name: "Polish",
display_name: "Polski",
ltr: true,
date_locale: pl,
},

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,14 @@
import de from "./de.json"
import en from "./en.json"
import pl from "./pl.json"
export default {
en: {
translation: en,
},
de: {
translation: de,
},
pl: {
translation: pl,
},