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 parent
2344012d1c
commit
ffa3a15ba1
3 files changed
+2768
-2
No files matched your search
@@ -1,4 +1,4 @@
|
|||||||
import { enUS, pl } from "date-fns/locale"
|
import { de, enUS, pl } from "date-fns/locale"
|
||||||
import { Language } from "./types"
|
import { Language } from "./types"
|
||||||
|
|
||||||
export const languages: Language[] = [
|
export const languages: Language[] = [
|
||||||
@@ -8,9 +8,15 @@ export const languages: Language[] = [
|
|||||||
ltr: true,
|
ltr: true,
|
||||||
date_locale: enUS,
|
date_locale: enUS,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
code: "de",
|
||||||
|
display_name: "Deutsch",
|
||||||
|
ltr: true,
|
||||||
|
date_locale: de,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
code: "pl",
|
code: "pl",
|
||||||
display_name: "Polish",
|
display_name: "Polski",
|
||||||
ltr: true,
|
ltr: true,
|
||||||
date_locale: pl,
|
date_locale: pl,
|
||||||
},
|
},
|
||||||
|
|||||||
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 en from "./en.json"
|
||||||
import pl from "./pl.json"
|
import pl from "./pl.json"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
en: {
|
en: {
|
||||||
translation: en,
|
translation: en,
|
||||||
},
|
},
|
||||||
|
de: {
|
||||||
|
translation: de,
|
||||||
|
},
|
||||||
pl: {
|
pl: {
|
||||||
translation: pl,
|
translation: pl,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user