feat: Add German Translation DE (#477)

This commit is contained in:
Mustafa
2025-02-02 09:18:15 +01:00
committed by GitHub
parent a7d7d00eb3
commit 94502b558d
2 changed files with 460 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
import i18n from "i18next";
import { initReactI18next } from "react-i18next";
import de from "./translations/de.json";
import en from "./translations/en.json";
import es from "./translations/es.json";
import fr from "./translations/fr.json";
@@ -8,6 +9,7 @@ import sv from "./translations/sv.json";
import { getLocales } from "expo-localization";
export const APP_LANGUAGES = [
{ label: "Deutsch", value: "de" },
{ label: "English", value: "en" },
{ label: "Español", value: "es" },
{ label: "Français", value: "fr" },
@@ -17,6 +19,7 @@ export const APP_LANGUAGES = [
i18n.use(initReactI18next).init({
compatibilityJSON: "v4",
resources: {
de: { translation: de },
en: { translation: en },
es: { translation: es },
fr: { translation: fr },