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:
@@ -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,
|
||||
},
|
||||
|
||||
2755
packages/admin/dashboard/src/i18n/translations/de.json
Normal file
2755
packages/admin/dashboard/src/i18n/translations/de.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user