diff --git a/config/i18n.config.ts b/config/i18n.config.ts index d919be7..0bc24bf 100644 --- a/config/i18n.config.ts +++ b/config/i18n.config.ts @@ -1,11 +1,9 @@ import type { LocalePrefix } from "next-intl/routing"; -import type metadataDe from "@/content/de/metadata/index.json"; import type metadataEn from "@/content/en/metadata/index.json"; -import type de from "@/messages/de.json"; import type en from "@/messages/en.json"; -export const locales = ["de", "en"] as const; +export const locales = ["en"] as const; export type Locale = (typeof locales)[number]; @@ -19,11 +17,9 @@ export const localePrefix = { mode: "always", prefixes: { en: "/en", - de: "/de", }, } satisfies LocalePrefix; export interface Translations extends Record { - de: typeof de & { metadata: typeof metadataDe }; en: typeof en & { metadata: typeof metadataEn }; } diff --git a/content/de/metadata/index.json b/content/de/metadata/index.json deleted file mode 100644 index ab87b1a..0000000 --- a/content/de/metadata/index.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "description": "ACDH-CH Application template", - "title": "ACDH-CH App", - "twitter": { - "creator": "@acdh_oeaw", - "site": "@acdh_oeaw" - }, - "manifest": { - "description": "ACDH-CH Application template", - "name": "ACDH-CH App", - "short-name": "ACDH-CH App" - } -} diff --git a/messages/de.json b/messages/de.json deleted file mode 100644 index 8533288..0000000 --- a/messages/de.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "AppFooter": { - "links": { - "imprint": "Impressum", - "privacy": "privacy", - "faq": "faq", - "about": "about" - }, - "navigation-secondary": "Sekundär" - }, - "AppHeader": { - "links": { - "home": "Home", - "faq": "FAQ", - "about": "About", - "login": "Log In" - }, - "navigation-primary": "Primär" - }, - "ColorSchemeSwitcher": { - "change-color-scheme": "Farbschema ändern", - "color-schemes": { - "dark": "Dunkel", - "light": "Hell", - "system": "System" - } - }, - "Error": { - "something-went-wrong": "Etwas ist schief gelaufen!", - "try-again": "Erneut versuchen" - }, - "ImprintPage": { - "meta": { - "title": "Impressum" - }, - "title": "Impressum" - }, - "IndexPage": { - "badge": "ACDH-CH frontend team", - "lead-in": "Dies ist eine mit Next.js 14 erstellte Startervorlage. Sie umfasst Internationalisierung, End-to-End-Tests und unterstützt MDX zum Schreiben von Dokumentation.", - "title": "Anwendungs-Template" - }, - "Loading": { - "loading": "Laden" - }, - "LocaleLayout": { - "skip-to-main-content": "Zum Hauptinhalt springen" - }, - "LocaleSwitcher": { - "current-locale": "Aktuelle Sprache: {locale}", - "switch-locale": "Sprache wechseln", - "switch-locale-to": "Zu {locale} wechseln" - }, - "NotFoundPage": { - "meta": { - "title": "Seite nicht gefunden" - }, - "title": "Seite nicht gefunden" - }, - "PeoplePage": { - "meta": { - "title": "Seite nicht gefunden" - }, - "title": "Seite nicht gefunden" - } -}